[CentOS] slow system

Sat Jan 13 23:27:50 UTC 2007
John R Pierce <pierce at hogranch.com>

Craig White wrote:
> On Sat, 2007-01-13 at 16:30 -0500, Stephen Harris wrote:
>   
>> On Sat, Jan 13, 2007 at 02:18:12PM -0700, Craig White wrote:
>>     
>>> /dev/hda6:
>>>  Timing buffered disk reads:    4 MB in  3.63 seconds =   1.10 MB/sec
>>>       
>> What does "hdparm -i /dev/hda" say?
>>     
> ----
> # hdparm -i /dev/hda
>
> /dev/hda:
>
>  Model=WDC WD800JB-00JJA0, FwRev=05.01C05, SerialNo=WD-WCAM92819556
>  Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs
> FmtGapReq }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=66
>  BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
>  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
>  IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
>  PIO modes:  pio0 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:
>
>  * signifies the current active mode
>   

phew, something is *way* wrong.    this is from a p3-450Mhz RHL 6.3 
system I have at home, ancient Intel 440BX motherboard, and an ancient 
IBM Deskstar 25GB 5400rpm drive.

# hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:  64 MB in  4.44 seconds = 14.41 MB/sec

# hdparm -i /dev/hda

/dev/hda:

 Model=IBM-DJNA-352500, FwRev=J51OA30K, SerialNo=GW0GWFD6488
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=34
 BuffType=3(DualPortCache), BuffSize=1966kB, MaxMultSect=16, MultSect=16
 DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=49981680
 tDMA={min:120,rec:120}, DMA modes: mword0 mword1 mword2
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, PIO modes: mode3 mode4
 UDMA modes: mode0 mode1 *mode2 mode3 mode4

# uname -a
Linux hogranch.com 2.2.24-6.2.3 #1 Fri Mar 14 08:41:15 EST 2003 i686 unknown






here's a p3 866Mhz running CentOS 4 on a crappy i810e (old dell 
optiplex) w/ an old Seagate 10GB 7200rpm

# uname -a
Linux svfis-linux1 2.6.9-42.0.3.EL #1 Fri Oct 6 05:59:54 CDT 2006 i686 
i686 i386 GNU/Linux

# hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:   82 MB in  3.05 seconds =  26.92 MB/sec

# hdparm -i /dev/hda

/dev/hda:

 Model=ST310210A, FwRev=3.17, SerialNo=3CM0T2X9
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=19925880
 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
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:  1 2 3 4

 * signifies the current active mode


and, a IBM BladeCenter Xeon 2.8Ghz w/ a 2.5" SCSI 36GB...

# hdparm -t /dev/sda
/dev/sda:
 Timing buffered disk reads:  160 MB in  3.20 seconds =  50.01 MB/sec