Re: [NBD] patch and documentation

From: Paul Clements
Date: Mon Sep 08 2003 - 16:12:00 EST


Sven Köhler wrote:

> Well, i guess the cache uses a value of 256 sectors to do read-ahead and
> such.

Well it sounds like the real problem here is the vm_max_readahead
setting then. Try this:

cat /proc/sys/vm/max-readahead

Probably, it's set to 31 on your system.

Try something like the following:

echo "126" > /proc/sys/vm/max-readahead

I think that should help out.

--
Paul
-
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/