Re: [PATCH 22/33] readahead: initial method

Nick Piggin
2006-05-25T05:34:35Z

BTW. while your patchset might be nicely broken down, I think your
naming and descriptions are letting it down a little bit.

Wu Fengguang wrote:

>Aggressive readahead policy for read on start-of-file.
>
>Instead of selecting a conservative readahead size,
>it tries to do large readahead in the first place.
>
>However we have to watch on two cases:
> - do not ruin the hit rate for file-head-checkers
> - do not lead to thrashing for memory tight systems
>
>

How does it handle
- don't needlessly readahead too much if the file is in cache

Would the current readahead mechanism benefit from more aggressive
start-of-file
readahead?

--

Send instant messages to your online friends http://au.messenger.yahoo.com