Re: 2.6.0 performance problems

From: William Lee Irwin III
Date: Tue Dec 30 2003 - 00:11:32 EST


On Tue, 2003-12-30 at 00:58, Thomas Molina wrote:
>> It certainly looks like DMA is enabled. Under 2.4 I get:
>> [root@lap root]# hdparm /dev/hda
[...]
>> readahead = 8 (on)
[...]
>> Under 2.6 I get:
>> [root@lap root]# hdparm /dev/hda
[...]
>> readahead = 256 (on)

On Tue, Dec 30, 2003 at 01:14:45AM +0200, Martin Schlemmer wrote:
> Increase your readahead:
> # hdparm -a 8192 /dev/hda
> BTW: As we really do get this question a _lot_ of times, why
> don't the ide layer automatically set a higher readahead
> if there is enough cache on the drive or something?

Could you try lowering 2.6's readahead to 2.4's levels in order to rule
out readahead-induced thrashing?


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/