Re: Is Linux always this slow?
From: Stephan Wonczak (wonczak_at_Uni-Koeln.DE)
Date: Wed, 02 Jun 2004 11:12:58 +0200
A Chap wrote:
> > Next bottleneck might be the harddrive or the transfer mode.
> > Is DMA enabled? Check with
> > hdparm -i /dev/hdX or
> > hdparm -tT /dev/hdX to run a test.
> > As root of course .
> > hth
> > Peer Hebing
> Im also suffering slow response times in RH9, ran the hdparm -tT /dev/hdX
> test, and got what seems like a poor result, considering that my disk is a
> 7200rpm, 8mb cache, ATA100 - would you agree?:
> [root@thephoenix nick]# /sbin/hdparm -tT /dev/hda
> Timing buffer-cache reads: 128 MB in 3.39 seconds = 37.76 MB/sec
> Timing buffered disk reads: 64 MB in 23.75 seconds = 2.69 MB/sec
Ouch. Yes, that's your problem!
> The mobo is quite old (circa '97) so perhaps the IDE controller is
> limiting the speed?
Maybe. But see below.
> I also ran hdparm -d 1 /dev/hda as suggested by Robert M Riches Jr., but
> got the following error:
> setting using_dma to 1 (on)
> HDIO_SET_DMA failed: Operation not permitted
> using_dma = 0 (off)
This sounds as if you are using the wrong chipset driver for your IDE.
You may want to try findiing out your chipset (lspci may help there) and
rebuilding your kernel with support for this.
-- C U, Stephan "I haven't lost my mind; I know exactly where I left it." "The meaning of my life is to make me crazy"