public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Readahead value 128K? (was Re: Drastic Slowdown of 'fseek()'
@ 2006-03-13 11:37 Al Boldi
  2006-03-13 20:01 ` Marr
  0 siblings, 1 reply; 5+ messages in thread
From: Al Boldi @ 2006-03-13 11:37 UTC (permalink / raw)
  To: Marr; +Cc: linux-kernel

Marr wrote:
> The 2.6.13 kernel on ReiserFS (without using 
> 'nolargeio=1' as a mount option) still takes about 4m35s to fseek 200,000 
> times on that 4MB file, even with 'hdparm -a0 /dev/hda' in effect.

try this magic number:

        echo 192 > /sys/block/hda/queue/max_sectors_kb
        echo 192 > /sys/block/hda/queue/read_ahead_kb

Anything outside 132-255 affects throughput negatively.

Also, can you dump hdparm -I /dev/hda?

Thanks!

--
Al


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-27 19:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-13 11:37 Readahead value 128K? (was Re: Drastic Slowdown of 'fseek()' Al Boldi
2006-03-13 20:01 ` Marr
2006-03-26 22:25   ` Marr
2006-03-27 18:50     ` Hans Reiser
2006-03-27 19:12       ` Marr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox