Soldato
- Joined
- 22 Aug 2005
- Posts
- 8,938
- Location
- Clydebank
stockhausen said:The drive is currently connected through a Firewire 400 port rather than USB, FW400 seems to be about twice as fast as USB under SuSE 10.2 but still 5 times slower than Windows 2000. It is identified as /dev/sda1 and mounted as /media/disk.
hdparm -tT /dev/sda1 gives:
Timing cached reads: 1976 MB in 2.0 seconds = 987.54 MB/sec
Timing buffered disk reads: 70 MB in 3.08 seconds = 21.41 MB/sec
Reverting to USB gives pretty similar (read)figures:
a) Timing cached reads: 1952 MB in 2.0 seconds = 975.46 MB/sec
b) Timing cached reads: 1966 MB in 2.0 seconds = 982.44 MB/sec
c) Timing cached reads: 1982 MB in 2.0 seconds = 940.39 MB/sec
a) Timing buffered disk reads: 72 MB in 3.07 seconds = 23.44 MB/sec
b) Timing buffered disk reads: 72 MB in 3.05 seconds = 23.60 MB/sec
c) Timing buffered disk reads: 72 MB in 3.02 seconds = 23.81 MB/sec
hdparm -i /dev/sda1 gives HDIO_GET_IDENTITY failed: Invalid argument
N.B. this is not an IDE drive, it is a SATA drive currently connected via Firewire
I don't know if these will work on a SATA drive, but you could try hdparm /dev/sda1 and then enable DMA if it's not already with hdparm -d1 /dev/sda
if anything works run man hdparm for more info.
Check dmesg for a log of stuff that may be interesting. maybe watch what dmesg says when you plug the drive in to the system.
Otherwise I would check out the firewire card and drivers, maybe it's a known problem. I read something about sbp2 module that can affect FW. Not sure how relevant that is though.
I rather wonder whether using ext3 may be causing the problem, would I be better off using ext2?
Uniikely I would have thought.
Do you have any idea whether there is anything equivalent under Linus? Incidentally, I don't mean 'top' which doesn't provide data on Disk I/O.
Not a monitor, but bonnie++ benchmarks /disks/filesystems.