Re: [PATCH 15 of 16] limit reclaim if enough pages have been freed

Christoph Lameter
2007-06-11T16:23:41Z

On Sun, 10 Jun 2007, Rik van Riel wrote:

> Andrea Arcangeli wrote:
> > On Sun, Jun 10, 2007 at 01:20:50PM -0400, Rik van Riel wrote:
> > > code simultaneously, all starting out at priority 12 and
> > > not freeing anything until they all get to much lower
> > > priorities.
> >
> > BTW, this reminds me that I've been wondering if 2**12 is a too small
> > fraction of the lru to start the scan with.
>
> If the system has 1 TB of RAM, it's probably too big
> of a fraction :)
>
> We need something smarter.

Well this value is depending on a nodes memory not on the systems
total memory. So I think we are fine. 1TB systems (at least ours) are
comprised of nodes with 4GB/8GB/16GB of memory.