PDA

View Full Version : Harddisk performance is too bad...



lmandrake
10th January 2005, 05:24 PM
Hi,

i really don't know whats wrong with my harddisk performance but there is something totally going wrong. I have a Samsung SP1203N (7200rpm) connected to the onboard ata controller on my Via KT800 mainboard. Sounds like that there shouldn't be performance problems.

When I burn a dvd with 4x (~5.5MB/sec) and I open a xterm or wite an email with mutt (using maildir) my background music has sometimes dropouts, the burning speed goes down to 1-2x. Looks like the smallest read/write access brings the disk in trouble. The reading speed of files downloaded with azureus is also really slow, around 1MB/sec.

It not that I want to play HL2 and burn dvd the same time...

Most of my data is stored on a reiserfs partition and there are many small file due to maildir and many mp3; / is ext3. UDMA5 is activated

I thought reiserfs is one of the fastest filesystems, especially with many smaller files. Is there a kind of defragmentation tool? Though there shouldn't be fragmentation on reiserfs... Has anybody an idea where I can try some tweaking? May I should create a faster ext2 partition for my burning sources.

hdparm -tT /dev/hda
Timing cached reads: 1028 MB in 2.01 seconds = 512.54 MB/sec
Timing buffered disk reads: 154 MB in 3.01 seconds = 51.10 MB/sec

Cu
Feilx

imdeemvp
10th January 2005, 06:44 PM
At the moment I am on mandrake but I got similiar results.
/dev/hda:
Timing buffer-cache reads: 1200 MB in 2.00 seconds = 599.79 MB/sec
Timing buffered disk reads: 102 MB in 3.02 seconds = 33.80 MB/sec
[root@mymdk10.1]$ hdparm -tT /dev/hdb

/dev/hdb:
Timing buffer-cache reads: 1184 MB in 2.00 seconds = 591.20 MB/sec
Timing buffered disk reads: 168 MB in 3.00 seconds = 55.99 MB/sec
[root@mymdk10.1]$
So I dont think is an issue.

Jman
11th January 2005, 04:58 AM
That hdparm speed test is probably closer to an ideal condition than every day use.

I imagine that multiple heavy disk uses at the same time can lead to the heads running around the disk searching for the information, and your speeds going way down.

lmandrake
11th January 2005, 01:04 PM
But opening a xterm while burning a dvd is not what I call heavy usage...

Peav
11th January 2005, 01:13 PM
Just as a comparison using ext3 FS..

[root@linux ~]# hdparm -tT /dev/hda

/dev/hda:
Timing cached reads: 2012 MB in 2.00 seconds = 1005.15 MB/sec
Timing buffered disk reads: 160 MB in 3.02 seconds = 52.94 MB/sec
/dev/hdc:
Timing cached reads: 1932 MB in 2.00 seconds = 965.66 MB/sec
Timing buffered disk reads: 116 MB in 3.00 seconds = 38.61 MB/sec

hda = 120g seagate 7200.2 2mb cache ata100 drive = windows drive
hdc = 80g maxtor 7200 2mb ata133 drive = linux

I had similar benchmarks on gentoo.

imdeemvp
11th January 2005, 11:28 PM
It seens faster....

i686
12th January 2005, 01:48 AM
looks like I need to play with the hdparm flags a bit.. :cool:


/dev/hda:
Timing cached reads: 480 MB in 2.00 seconds = 239.68 MB/sec
Timing buffered disk reads: 56 MB in 3.05 seconds = 18.36 MB/sec
hard drive is a seagate 40gig 2mb cache.

i686

David59
13th January 2005, 12:20 AM
/dev/hda:
Timing cached reads: 2656 MB in 2.00 seconds = 1326.21 MB/sec
Timing buffered disk reads: 176 MB in 3.02 seconds = 58.19 MB/sec


Fedora Core 3 x86_64
AMD Athlon 64 3200+
1 Gb RAM
120 Gb Seagate HDD