LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-28-2004, 11:01 PM   #1
Silent1
Member
 
Registered: Jul 2002
Location: Davie, FL
Distribution: Debian
Posts: 33

Rep: Reputation: 15
My hdd dead? Low hdparm score.


my system is running very slow, took over 3 minutes to load xfce and i've got a 3.0ghz 512megs of ram machine. Anyway i ran hdparm and these are the results,
debian:/home/sofa# hdparm -Tt /dev/hda

/dev/hda:
Timing cached reads: 2456 MB in 2.00 seconds = 1227.57 MB/sec
Timing buffered disk reads: 2 MB in 8.26 seconds = 247.95 kB/sec

that can't be right but i've done the test 3 times. The harddrive isn't clicking or anything but could this be the reason everything is running so slow?
 
Old 12-29-2004, 12:35 AM   #2
daihard
Member
 
Registered: Jul 2003
Location: Lynnwood, WA
Distribution: Kubuntu 10.10
Posts: 912

Rep: Reputation: 32
The value from the "Timing buffer-cache reads" looks pretty good. The value from the "Timing buffered disk reads" (i.e. STR) does not. What kind of hard drive is it (i.e. manufacturer, size, type of interface, etc)? How long have you had it?
 
Old 12-29-2004, 12:35 AM   #3
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
May want to try this command and see what info it tells you about the settings for the drive.

Code:
root@smoker / # hdparm -I /dev/hda

/dev/hda:

ATA device, with non-removable media
        Model Number:       Maxtor 6Y080P0
        Serial Number:      Y22J9KXE
        Firmware Revision:  YAR41BW0
Standards:
        Supported: 7 6 5 4
        Likely used: 7
Configuration:
        Logical         max     current
        cylinders       16383   4047
        heads           16      16
        sectors/track   63      255
        --
        CHS current addressable sectors:   16511760
        LBA    user addressable sectors:  160086528
        device size with M = 1024*1024:       78167 MBytes
        device size with M = 1000*1000:       81964 MBytes (81 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 1
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Advanced power management level: unknown setting (0x0000)
        Recommended acoustic management value: 192, current value: 254
        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:
           *    NOP cmd
           *    READ BUFFER cmd
           *    WRITE BUFFER cmd
           *    Host Protected Area feature set
           *    Look-ahead
           *    Write cache
           *    Power Management feature set
                Security Mode feature set
           *    SMART feature set
           *    FLUSH CACHE EXT command
           *    Mandatory FLUSH CACHE command
           *    Device Configuration Overlay feature set
           *    Automatic Acoustic Management feature set
                SET MAX security extension
                Advanced Power Management feature set
           *    DOWNLOAD MICROCODE cmd
           *    SMART self-test
           *    SMART error logging
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
        not     frozen
        not     expired: security count
        not     supported: enhanced erase
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper
Checksum: correct
root@smoker / #
Compare yours to mine and see what yours is set up as. It could be that there is a IDE chipset problem and it is not using nothing but the generic drivers. They are very slow. The part with "capabilities" is the important part, usually anyway.

Hope that helps.

 
Old 12-29-2004, 12:47 AM   #4
Silent1
Member
 
Registered: Jul 2002
Location: Davie, FL
Distribution: Debian
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by daihard
The value from the "Timing buffer-cache reads" looks pretty good. The value from the "Timing buffered disk reads" (i.e. STR) does not. What kind of hard drive is it (i.e. manufacturer, size, type of interface, etc)? How long have you had it?
The drive is a western digital 120gig (WD1200JB) 8 meg cache. I've had it less than a year. Here is my hdparm -I /dev/hda printout
Code:
debian:/home/sofa# hdparm -I /dev/hda

/dev/hda:

ATA device, with non-removable media
        Model Number:       WDC WD1200JB-00CRA1
        Serial Number:      WD-WMA8C4693683
        Firmware Revision:  17.07W17
Standards:
        Supported: 5 4 3 2
        Likely used: 6
Configuration:
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  234441648
        device size with M = 1024*1024:      114473 MBytes
        device size with M = 1000*1000:      120034 MBytes (120 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        bytes avail on r/w long: 40     Queue depth: 1
        Standby timer values: spec'd by Standard, with device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Recommended acoustic management value: 128, current value: 254        DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
             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:
           *    READ BUFFER cmd
           *    WRITE BUFFER cmd
           *    Host Protected Area feature set
           *    Look-ahead
           *    Write cache
           *    Power Management feature set
                Security Mode feature set
           *    SMART feature set
           *    Device Configuration Overlay feature set
                Automatic Acoustic Management feature set
                SET MAX security extension
           *    DOWNLOAD MICROCODE cmd
           *    SMART self-test
           *    SMART error logging
Security:
                supported
        not     enabled
        not     locked
                frozen
        not     expired: security count
        not     supported: enhanced erase
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper
Checksum: correct
 
Old 12-29-2004, 12:56 AM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 65
Looks like it is using udma2 instead of the newer udma5 or udma6 modes. I'm not familiar with Debian but you may want to find out about that chipset driver. It is usually in the kernel or in as a module. I'm not sure about how Debian is set up. Sorry.

This is what my timings are:

Code:
root@smoker / # hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   1348 MB in  2.00 seconds = 672.76 MB/sec
 Timing buffered disk reads:  170 MB in  3.00 seconds =  56.58 MB/sec
root@smoker / #
Your should be somewhere around there, at least better than what you have now for sure. That drive should be much faster than that.

Anybody more familiar with Debian and how they have their stuff set up??

Later

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
best distro for a 1.2gb HDD + low mem? jollyjoice Linux - General 4 09-29-2004 03:08 PM
What license should SCORE use? flamesrock Linux - Software 2 02-08-2004 09:29 PM
Dead or dying HDD esteeven Linux - Hardware 4 11-11-2003 02:02 AM
Squid:2nd Browser access Internet SPEED dead becomes dead slow mwj Linux - Software 1 10-04-2003 01:40 PM
hdparm -g NOT= hdparm -i ---LILO hangs @ L stevewalsh Linux - General 4 07-23-2001 09:37 PM


All times are GMT -5. The time now is 03:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration