Re: IDE performance problems on 2.6.0-pre1

From: derek@signalmarketing.com
Date: Tue Jul 15 2003 - 17:27:19 EST


On Tue, 16 Jul 2003, Felipe Alfaro Solana wrote:

> On Tue, 2003-07-15 at 23:49, derek@signalmarketing.com wrote:
> > Hello,
> >
> > My ide performance seems to have dropped noticably from 2.4.x to
> > 2.6.0-pre1...
>
> What does "hdparm /dev/hde" tell us?

hdparm /dev/hde from 2.6.0-pre1

/dev/hde:
 multcount = 16 (on)
 IO_support = 1 (32-bit)
 unmaskirq = 1 (on)
 using_dma = 1 (on)
 keepsettings = 0 (off)
 readonly = 0 (off)
 readahead = 256 (on)
 geometry = 50765/16/63, sectors = 117231408, start = 0

---

hdparm /dev/hde from 2.4

/dev/hde: multcount = 16 (on) IO_support = 1 (32-bit) unmaskirq = 1 (on) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 116301/16/63, sectors = 117231408, start = 0

I hadn't noticed the change in readahead previously, so I tried setting it to 8 in 2.6.0-pre1 with hdparm -a 8 /dev/hde

hdparm -t /dev/hde

/dev/hde: Timing buffered disk reads: 32 MB in 3.01 seconds = 10.64 MB/sec

hdparm -a 512 on the other hand...

Timing buffered disk reads: 140 MB in 3.03 seconds = 46.18 MB/sec

and I get my previous numbers back.

I guess the meaning of the parameter has changed dramatically? (what was once sectors is now bytes?) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:01:00 EST