Re: ZVC/zone_reclaim: Leave 1% of unmapped pagecache pages for file I/O

Andi Kleen
2006-06-30T10:19:19Z

On Friday 30 June 2006 04:51, Christoph Lameter wrote:
> It turns out that it is advantageous to leave a small portion of
> unmapped file backed pages if a zone is overallocated.
>
> This allows recently used file I/O buffers to stay on the node and
> reduces the times that zone reclaim is invoked if file I/O occurs
> when we run out of memory in a zone.

Shouldn't that be some kind of tunable? Magic numbers are bad.

-Andi