LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SATA HD performance (https://www.linuxquestions.org/questions/linux-newbie-8/sata-hd-performance-751346/)

acerola 08-30-2009 06:25 PM

SATA HD performance
 
Here is what I had before:

Code:

hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly    =  0 (off)
 readahead    = 256 (on)
 geometry    = 38913/255/63, sectors = 625142448, start = 0

Code:

hdparm -Tt /dev/hda

/dev/hda:
 Timing cached reads:  27404 MB in  2.00 seconds = 13724.52 MB/sec
 Timing buffered disk reads:  14 MB in  3.38 seconds =  4.14 MB/sec

After some googling, I changed /boot/grub/menu.lst and added the noprobe options:
kernel /vmlinuz-2.6.18-128.7.1.el5 ro root=LABEL=/ hda=noprobe hdc=noprobe

Now I have:

Code:

/dev/sda:
 IO_support  =  0 (default 16-bit)
 readonly    =  0 (off)
 readahead    = 256 (on)
 geometry    = 38913/255/63, sectors = 625142448, start = 0

Code:

/dev/sda:
 Timing cached reads:  26016 MB in  2.00 seconds = 13027.68 MB/sec
 Timing buffered disk reads:  344 MB in  3.01 seconds = 114.40 MB/sec

Code:

hdparm -i /dev/sda

/dev/sda:

 Model=ST3320613AS                            , FwRev=CC2H    , SerialNo=            9SZ3J014
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=?16?
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 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
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: unknown:  ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

 * signifies the current active mode

Code:

hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
        Model Number:      ST3320613AS
        Serial Number:      9SZ3J014
        Firmware Revision:  CC2H
Transport: Serial
Standards:
        Supported: 8 7 6 5
        Likely used: 8
Configuration:
        Logical        max    current
        cylinders      16383  16383
        heads          16      16
        sectors/track  63      63
        --
        CHS current addressable sectors:  16514064
        LBA    user addressable sectors:  268435455
        LBA48  user addressable sectors:  625142448
        device size with M = 1024*1024:      305245 MBytes
        device size with M = 1000*1000:      320072 MBytes (320 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 32
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Recommended acoustic management value: 208, current value: 208
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
            Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
            Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
          *    SMART feature set
                Security Mode feature set
          *    Power Management feature set
          *    Write cache
          *    Look-ahead
          *    Host Protected Area feature set
          *    WRITE_BUFFER command
          *    READ_BUFFER command
          *    DOWNLOAD_MICROCODE
                SET_MAX security extension
          *    Automatic Acoustic Management feature set
          *    48-bit Address feature set
          *    Device Configuration Overlay feature set
          *    Mandatory FLUSH_CACHE
          *    FLUSH_CACHE_EXT
          *    SMART error logging
          *    SMART self-test
          *    General Purpose Logging feature set
          *    WRITE_{DMA|MULTIPLE}_FUA_EXT
          *    64-bit World wide name
                Write-Read-Verify feature set
          *    WRITE_UNCORRECTABLE command
          *    {READ,WRITE}_DMA_EXT_GPL commands
          *    Segmented DOWNLOAD_MICROCODE
          *    SATA-I signaling speed (1.5Gb/s)
          *    SATA-II signaling speed (3.0Gb/s)
          *    Native Command Queueing (NCQ)
          *    Phy event counters
                Device-initiated interface power management
          *    Software settings preservation
Security:
        Master password revision code = 65534
                supported
        not    enabled
        not    locked
                frozen
        not    expired: security count
                supported: enhanced erase
        58min for SECURITY ERASE UNIT. 58min for ENHANCED SECURITY ERASE UNIT.
Checksum: correct

The improvement was noticeable.

My question is: can this be improved even further? Or is this what I should expect of a 320GB SATA drive?

lazlow 08-30-2009 06:36 PM

You will need to check the specs on that particular make and model of drive, but I suspect that you are pretty much at the max. The sata to pata translation (converting sda to hda) was probably what was slowing you down so much before.


All times are GMT -5. The time now is 09:21 AM.