lkml.org 
[lkml]   [2003]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [NBD] patch and documentation
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.092 / U:0.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site