Re: [PATCH] Take anonymous pages off the LRU if we have no swap

Rik van Riel
2007-02-22T17:04:56Z

Balbir Singh wrote:
> Rik van Riel wrote:
>> Christoph Lameter wrote:
>>> On Wed, 21 Feb 2007, Rik van Riel wrote:
>>>
>> Absolutely. I am convinced that the whole "swappiness" thing
>> of scanning past the anonymous pages in order to find the page
>> cache pages will fall apart on 256GB systems even with somewhat
>> friendly workloads.
>
> That should probably make a good case for splitting the LRU
> into unmapped and mapped page LRU's :-)

Please read http://linux-mm.org/PageReplacementDesign.

There are good reasons why the split should probably be
between anonymous/swap backed and file backed pages,
not between mapped and unmapped.

> I hope to get to it, implement it and get some results.

Ditto here :)

--
All Rights Reversed