On Tue, 2001-11-13 at 09:19, Roy Sigurd Karlsbakk wrote:
> > Reading in Linux does readahead - but I do not think it asks for more
> > than 32 pages at once. We are using mostly the generic linux code paths
> > for read unless you use O_DIRECT.
>
> ok...
> I currently use the Tux web server, and cannot change the way it reads.
> Can I rather patch the kernel source to allow for 64-page readahead?
> That'll be 256kB chunks, something the SCSI devices will appreciate a lot,
> and thus making me a happy man :-)
Actually if you are using md then it will report its max readahead
during startup, it appears to use different numbers:
md0: max total readahead window set to 496k
md0: 2 data-disks, max readahead per data-disk: 248k
Take a look at your syslog output.
Steve
>
> --
> Roy Sigurd Karlsbakk, MCSE, MCNE, CLS, LCA
>
> Computers are like air conditioners.
> They stop working when you open Windows.
--
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx
|