Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-13-2004, 12:52 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 13
Rep:
|
Very slow disk reads? - hdparm
Here's the abridged output of my hdparm -t. I didn't have any disk intensive processes running at the time of this test. If I am seeing correctly, does this mean my Hard Drive 1 is going bad? (Reason I ran this test in the first place was because I was experiencing very SLOW transferring on Hard Drive 1)
Hard drive 1
Code:
[root@localhost sbin]# ./hdparm -t /dev/hda2
/dev/hda2:
Timing buffered disk reads: 4 MB in 9.38 seconds = 436.67 kB/sec
Timing buffered disk reads: 4 MB in 9.13 seconds = 448.63 kB/sec
Timing buffered disk reads: 4 MB in 7.43 seconds = 551.28 kB/sec
Timing buffered disk reads: 4 MB in 6.75 seconds = 606.81 kB/sec
Timing buffered disk reads: 4 MB in 7.90 seconds = 518.48 kB/sec
Hard drive 2
Code:
[root@localhost sbin]# ./hdparm -t /dev/hdb1
/dev/hdb1:
Timing buffered disk reads: 168 MB in 3.02 seconds = 55.63 MB/sec
Timing buffered disk reads: 168 MB in 3.02 seconds = 55.63 MB/sec
Timing buffered disk reads: 166 MB in 3.00 seconds = 55.33 MB/sec
Timing buffered disk reads: 168 MB in 3.01 seconds = 55.81 MB/sec
Timing buffered disk reads: 166 MB in 3.00 seconds = 55.33 MB/sec
|
|
|
09-13-2004, 01:35 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
post the output of these:
hdparm -tT /dev/hda
hdparm -tT /dev/hdb
also, what are the settings on the disks??
hdparm /dev/hda
hdparm -i /dev/hda
hdparm /dev/hdb
hdparm -i /dev/hdb
|
|
|
09-13-2004, 09:31 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 13
Original Poster
Rep:
|
./hdparm -tT /dev/hda
Code:
/dev/hda:
Timing buffer-cache reads: 588 MB in 2.01 seconds = 292.54 MB/sec
Timing buffered disk reads: 4 MB in 3.07 seconds = 1.30 MB/sec
Timing buffer-cache reads: 584 MB in 2.00 seconds = 292.00 MB/sec
Timing buffered disk reads: 4 MB in 3.17 seconds = 1.26 MB/sec
Timing buffer-cache reads: 584 MB in 2.00 seconds = 292.00 MB/sec
Timing buffered disk reads: 10 MB in 3.08 seconds = 3.25 MB/sec
./hdparm -tT /dev/hdb
Code:
Timing buffer-cache reads: 592 MB in 2.00 seconds = 296.00 MB/sec
Timing buffered disk reads: 162 MB in 3.01 seconds = 53.82 MB/sec
Timing buffer-cache reads: 576 MB in 2.01 seconds = 286.57 MB/sec
Timing buffered disk reads: 166 MB in 3.01 seconds = 55.15 MB/sec
Timing buffer-cache reads: 580 MB in 2.00 seconds = 290.00 MB/sec
Timing buffered disk reads: 164 MB in 3.01 seconds = 54.49 MB/sec
hdparm /dev/hda
Code:
/dev/hda:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 4865/255/63, sectors = 78165360, start = 0
hdparm /dev/hdb
Code:
/dev/hdb:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 19457/255/63, sectors = 312581808, start = 0
hdparm -i /dev/hda
Code:
/dev/hda:
Model=WDC WD400BB-75AUA0, FwRev=18.20D18, SerialNo=WD-WMA6R1001357
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=78165360
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:
hdparm -i /dev/hdb
Code:
/dev/hdb:
Model=ST3160023A, FwRev=3.06, SerialNo=3JS0NVS1
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:240,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: ATA/ATAPI-6 T13 1410D revision 2:
Last edited by Ada; 09-13-2004 at 11:08 AM.
|
|
|
09-13-2004, 06:15 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
try setting the io_support to 16-bits on /dev/hda and then run the test again:
hdparm -c0 /dev/hda
|
|
|
09-13-2004, 10:48 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 13
Original Poster
Rep:
|
./hdparm -tT /dev/hda
Code:
/dev/hda:
Timing buffer-cache reads: 580 MB in 2.00 seconds = 290.00 MB/sec
Timing buffered disk reads: 36 MB in 3.06 seconds = 11.76 MB/sec
Timing buffer-cache reads: 584 MB in 2.00 seconds = 292.00 MB/sec
Timing buffered disk reads: 34 MB in 3.01 seconds = 11.30 MB/sec
Timing buffer-cache reads: 584 MB in 2.00 seconds = 292.00 MB/sec
Timing buffered disk reads: 42 MB in 3.04 seconds = 13.82 MB/sec
Timing buffer-cache reads: 580 MB in 2.00 seconds = 290.00 MB/sec
Timing buffered disk reads: 34 MB in 3.07 seconds = 11.07 MB/sec
That's a lot better than before -- this should work for now. Thanks a ton man. 
|
|
|
All times are GMT -5. The time now is 04:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|