Re: The performance and behaviour of the anti-fragmentation related patches

From: Nick Piggin
Date: Fri Mar 02 2007 - 03:39:14 EST


On Fri, Mar 02, 2007 at 12:21:49AM -0800, Christoph Lameter wrote:
> On Fri, 2 Mar 2007, Nick Piggin wrote:
>
> > > If there are billions of pages in the system and we are allocating and
> > > deallocating then pages need to be aged. If there are just few pages
> > > freeable then we run into issues.
> >
> > page writeout and vmscan don't work too badly. What are the issues?
>
> Slow downs up to livelocks with large memory configurations.
>
> > So what problems that you commonly see now? Some of us here don't
> > have 4TB of memory, so you actually have to tell us ;)
>
> Oh just run a 32GB SMP system with sparsely freeable pages and lots of
> allocs and frees and you will see it too. F.e try Linus tree and mlock
> a large portion of the memory and then see the fun starting. See also
> Rik's list of pathological cases on this.

Ah, so your problem is lots of unreclaimable pages. There are heaps
of things we can try to reduce the rate at which we scan those.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/