Help Diagnose Slow Disc Access

Mike McCarty Mike.McCarty at sbcglobal.net
Fri Feb 12 11:40:17 UTC 2010


Roberto Ragusa wrote:
> Mike McCarty wrote:
> 
>> Can anyone give me advice on how to proceed with diagnostics?
> 
> Nothing in /var/log/messages?
> 
> What do you get when running hdparm -t a few times? Stable numbers?

Yes. I tried each disc three times, and here are the values look
consistent with each other.

$ sudo /sbin/hdparm -t /dev/hda

/dev/hda:
  Timing buffered disk reads:  110 MB in  3.02 seconds =  36.43 MB/sec
  Timing buffered disk reads:  112 MB in  3.04 seconds =  36.82 MB/sec
  Timing buffered disk reads:  112 MB in  3.03 seconds =  37.02 MB/sec

$ sudo /sbin/hdparm -t /dev/hdb

/dev/hdb:
  Timing buffered disk reads:  168 MB in  4.06 seconds =  41.42 MB/sec
  Timing buffered disk reads:  168 MB in  4.03 seconds =  41.65 MB/sec
  Timing buffered disk reads:  168 MB in  4.12 seconds =  40.80 MB/sec

Here's /var/log/messages

]$ sudo grep hd[ab] /var/log/messages
Feb 12 02:08:07 Presario-1 fsck: /dev/hdb1

[repeats deleted]

Feb 12 03:40:40 Presario-1 smartd[2632]: Device: /dev/hda, opened
Feb 12 03:40:40 Presario-1 smartd[2632]: Device: /dev/hda, not found in 
smartd database.
Feb 12 03:40:40 Presario-1 smartd[2632]: Device: /dev/hda, is SMART 
capable. Adding to "monitor" list.
Feb 12 03:40:42 Presario-1 kernel:     ide0: BM-DMA at 0xfc00-0xfc07, 
BIOS settings: hda:DMA, hdb:DMA
Feb 12 03:40:43 Presario-1 kernel: hda: WDC WD400EB-11CPF0, ATA DISK drive
Feb 12 03:40:44 Presario-1 kernel: hdb: WDC WD3200AAJB-00WGA0, ATA DISK 
drive
Feb 12 03:40:44 Presario-1 kernel: hda: max request size: 128KiB
Feb 12 03:40:45 Presario-1 kernel: hda: 78165360 sectors (40020 MB) 
w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
Feb 12 03:40:47 Presario-1 kernel:  hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
Feb 12 03:40:48 Presario-1 kernel: hdb: max request size: 1024KiB
Feb 12 03:40:49 Presario-1 kernel: hdb: 625142448 sectors (320072 MB) 
w/8192KiB Cache, CHS=38913/255/63, UDMA(100)
Feb 12 03:40:49 Presario-1 kernel:  hdb: hdb1
Feb 12 03:40:50 Presario-1 kernel: EXT3 FS on hda5, internal journal
Feb 12 03:40:50 Presario-1 kernel: Adding 524120k swap on /dev/hda6. 
Priority:-1 extents:1
Feb 12 03:40:50 Presario-1 kernel: EXT3 FS on hdb1, internal journal
Feb 12 03:40:50 Presario-1 kernel: EXT3 FS on hda3, internal journal
Feb 12 03:39:51 Presario-1 fsck: /dev/hdb1: 325672/39075840 files (3.5% 
non-contiguous), 37874482/78142160 blocks

I deleted repeats in a few places of lines similar to the one
just before "[repeats deleted]"

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!


More information about the users mailing list