public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /proc/sys/vm/(max|min)-readahead effect????
@ 2001-12-05 16:21 Roy Sigurd Karlsbakk
  2001-12-05 16:51 ` Marcelo Tosatti
  2001-12-05 20:13 ` Andrew Morton
  0 siblings, 2 replies; 18+ messages in thread
From: Roy Sigurd Karlsbakk @ 2001-12-05 16:21 UTC (permalink / raw)
  To: linux-kernel

hi all

I've just upgraded to 2.4.16 to get /proc/sys/vm/(max|min)-readahead
available. I've got this idea...

If lots of files (some hundered) are read simultaously, I waste all the
i/o time in seeks. However, if I increase the readahead, it'll read more
data at a time, and end up with seeking a lot less.

The harddrive I'm testing this with, is a cheap 20G IDE drive. It can give
me a peak thoughput of about 28 MB/s (reading).
When running 10 simultanous dd jobs ('dd if=filenr of=/dev/null bs=4m'), I
peaks at some 8,5 MB/s no matter what I set the min/max readahead to!!

Is this correct?

Is there perhaps another way to set the real readahead? In source???

Thanks a lot for all help

roy

--
Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA

Computers are like air conditioners.
They stop working when you open Windows.


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

end of thread, other threads:[~2001-12-07 11:26 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-05 16:21 /proc/sys/vm/(max|min)-readahead effect???? Roy Sigurd Karlsbakk
2001-12-05 16:51 ` Marcelo Tosatti
2001-12-05 18:09   ` Roy Sigurd Karlsbakk
2001-12-05 16:58     ` Marcelo Tosatti
2001-12-05 18:20       ` Roy Sigurd Karlsbakk
2001-12-05 19:43         ` James Stevenson
2001-12-05 20:06           ` Roy Sigurd Karlsbakk
2001-12-05 20:53             ` James Stevenson
2001-12-06 11:45               ` Roy Sigurd Karlsbakk
2001-12-06 18:44               ` Bernd Eckenfels
2001-12-05 18:22   ` Rik van Riel
2001-12-05 18:27     ` Roy Sigurd Karlsbakk
2001-12-06 10:09       ` Martin Dalecki
2001-12-05 20:13 ` Andrew Morton
2001-12-05 20:53   ` Roger Larsson
2001-12-06 11:31   ` Roy Sigurd Karlsbakk
2001-12-06 18:46     ` Bernd Eckenfels
2001-12-07 11:25       ` Roy Sigurd Karlsbakk

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