On Wed, Sep 05, 2001 at 01:43:21PM +0100, Simon Oliver wrote:
For comparison:
bash-2.05# hdparm -tT /dev/hdd
/dev/hdd: Timing buffer-cache reads: 128 MB in 1.23 seconds =104.07 MB/sec Timing buffered disk reads: 64 MB in 2.26 seconds = 28.32 MB/sec
bash-2.05# cat /proc/version Linux version 2.4.4-4GB (root@Pentium.suse.de) (gcc version 2.95.3 20010315 (SuSE)) #1 Sat Jun 23 05:26:59 GMT 2001
This is a PIII-600 with 80GB Maxtor 98196H8 IDE Hard Disks, running on SuSE Linux 7.2 with the default SuSE 2.4 kernel, with: hdparm -d1 -u0 -c0 -m16 /dev/hdd. I found that changing values other than DMA made very little difference to speed but turning off DMA made a significant difference:
bash-2.05# hdparm -d0 /dev/hdd
/dev/hdd: setting using_dma to 0 (off) using_dma = 0 (off) bash-2.05# hdparm -tT /dev/hdd
/dev/hdd: Timing buffer-cache reads: 128 MB in 1.22 seconds =104.92 MB/sec Timing buffered disk reads: 64 MB in 19.84 seconds = 3.23 MB/sec
Be aware that the timings cary from run to run - you might want to take an average of 5 tests.
I just realised that it might be a VIA chipset/Fujitsu HD problem
hdparm -tT /dev/hda
/dev/hda: Timing buffer-cache reads: 128 MB in 3.09 seconds = 41.42 MB/sec Timing buffered disk reads: 64 MB in 7.43 seconds = 8.61 MB/sec hdparm -v /dev/hda /dev/hda: multcount = 16 (on) I/O support = 1 (32-bit) unmaskirq = 1 (on) using_dma = 1 (on) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 2491/255/63, sectors = 40032696, start = 0 hdparm -i /dev/hda /dev/hda: Model=FUJITSU MPE3204AT, FwRev=ED-03-04, SerialNo=05000283 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=512kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40032696 IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 Drive Supports : ATA-1 ATA-2 ATA-3 ATA-4 Kernel Drive Geometry LogicalCHS=2491/255/63 PhysicalCHS=39714/16/63 Motherboard is FIC PA-2013 (VIA Apollo MVP3) with AMD-K6/2-500 CPU I run SuSE stock 2.4.2-4GB kernel on 7.1 system Is it really a bad mobo/HD combination or result of bad configuration? -Kastus
-- Simon Oliver