Thread (23 messages) 23 messages, 9 authors, 2002-08-05

Re: [RFC] start_aggressive_readahead

From: William Lee Irwin III <hidden>
Date: 2002-07-30 17:13:27

On Tue, Jul 30, 2002 at 09:21:57AM -0700, Martin J. Bligh wrote:
Would it not be easier to actually calculate (statistically) the 
read-ahead window, rather than actually tweaking it empirically?
If we're getting misses, there could be at least two causes - 
I wonder where these stats should really be kept. They seem to be in
the vma which probably doesn't fly too well when 20K threads are
pounding on different chunks of the same thing. Each could do locally
sequential reads and look random to the perspective of per-vma stats.

This probably gets worse if different threads are stomping in different
patterns, e.g. one sequential, one random. They also seem to lack any
way to cooperate since the hints are kept per-vma. It's also probably
easier to predict the behavior of a single task.


Cheers,
Bill
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help