Find the answer to your Linux question:
Results 1 to 9 of 9
What's a good hard disk speed? running /sbin/hdparm -Tt /dev/hda gives me the following: Code: Timing buffer-cache reads: 528 MB in 1.99 seconds = 265.33 MB/sec Timing buffered disk reads: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    hard disk speeds


    What's a good hard disk speed?

    running /sbin/hdparm -Tt /dev/hda

    gives me the following:
    Code:
     Timing buffer-cache reads:   528 MB in  1.99 seconds = 265.33 MB/sec
     Timing buffered disk reads:  100 MB in  3.03 seconds =  33.00 MB/sec
    Is that any good? I am running at udma4 at the moment. hdparm -i gives:
    Code:
     Model=WDC WD1200BB-00DWA0, FwRev=15.05R15, SerialNo=WD-WMAEK2150292
     Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
     RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
     BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
     CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
     IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
     PIO modes:  pio0 pio1 pio2 pio3 pio4
     DMA modes:  mdma0 mdma1 mdma2
     UDMA modes: udma0 udma1 udma2 udma3 *udma4 udma5
     AdvancedPM=no WriteCache=enabled
     Drive conforms to: device does not report version:
    I don't experience any problems except during install when I had some strange errors about initial hard disk response times.
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

  2. #2
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    Here is my hdparm -tT
    Code:
    /dev/md0:
     Timing buffer-cache reads:   1260 MB in  2.01 seconds = 628.21 MB/sec
     Timing buffered disk reads:  330 MB in  3.02 seconds = 109.40 MB/sec
    
    /dev/hde:
     Timing buffer-cache reads:   1260 MB in  2.00 seconds = 628.84 MB/sec
     Timing buffered disk reads:  170 MB in  3.02 seconds =  56.30 MB/sec

  3. #3
    Linux User
    Join Date
    Nov 2003
    Location
    Brooklyn, NY
    Posts
    347
    Code:
    root@insomnia slip # hdparm -Tt /dev/hda
     
    /dev/hda:
     Timing buffer-cache reads:   2068 MB in  2.00 seconds = 1034.16 MB/sec
     Timing buffered disk reads:  170 MB in  3.02 seconds =  56.30 MB/sec
    root@insomnia slip # hdparm -Tt /dev/hdb
     
    /dev/hdb:
     Timing buffer-cache reads:   1960 MB in  2.00 seconds = 979.17 MB/sec
     Timing buffered disk reads:  120 MB in  3.01 seconds =  39.85 MB/sec
    Try to run:
    Code:
    hdparm -d1 -A1 -m16 -u1 -a65 /dev/hda
    It should enable DMA and other safe performance enhancing options (taken from Gentoo manual).

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    If you have an up to date system and distro all these will be done during boot.

  6. #5
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    thanks

    I use Fedora Core 1.

    I just noticed on a reboot that the bios is set to udma 4. I actually think I've got some dodgy bios settings as I am noticing that the hard drive seek on boot takes ages. it's a 120Gb drive with a zillion jumper options and I selected what seemed simplest.

    so anything I tweak here will be great but there are obviously some underlying issues that I need to resolve.
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

  7. #6
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    what is the spindle speed of your HDD seems at a good speed to me.

  8. #7
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    the -a option

    the only thing that isn't
    hdparm -d1 -A1 -m16 -u1 -a65 /dev/hda
    The only thing in this list that isn't set is the -a mine is currently on 8.
    current output

    Code:
     using_dma    =  1 (on)
     readahead    =  8 (on)
     multcount    = 16 (on)
     unmaskirq    =  1 (on)
     readahead    =  8 (on)
    run hdparm -a65
    no errors.

    output from hdparm -Tt is now:
    Code:
     Timing buffer-cache reads:   528 MB in  2.00 seconds = 264.00 MB/sec
     Timing buffered disk reads:  106 MB in  3.02 seconds =  35.10 MB/sec
    so that's buffered disk reads faster by 1.9Mb/sec and buffer-cache down by approx 1.
    Is that better? anyone know anything about hard disk bios settings in terms of performance?
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

  9. #8
    Linux User
    Join Date
    Jan 2003
    Location
    Cardiff, Wales
    Posts
    478

    drive info

    Its a western digital Caviar 120.0GB UDMA100 drive.
    which spins at 7200 rpm, and a 2Mb buffer.

    when I bought it , that seemed like a good spec. but my numbers aren't as high as yours.
    No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.

  10. #9
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    Yeh but i have two 7200Rpm 8Mb cache 80Gb SATA drives setup for RAID0 you will never get close to it with that hardware i went this way due to it being a fileserver so i thought disk though put was more important the CPU cycles.

    P,s the drives only cost 80 for the pair. And i have a k600 southbridge

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •