Re: quicklists confuse meminfo

From: Thomas Gleixner
Date: Sun Mar 09 2008 - 09:22:06 EST


On Sun, 9 Mar 2008, Ingo Molnar wrote:
> * Ingo Molnar <mingo@xxxxxxx> wrote:
>
> > > IMHO we need shrink pgtable cache mecanism.
> >
> > ouch! Could you try the patch below? How large is the quicklist cache
> > with this applied?
>
> hm, Thomas pointed it out that this wont solve all the problems as
> quicklists have a built-in "preserve me" throttle (which is rather
> stupid).

There is also the imbalance across CPUs. I think I figured out what's
going there as well. The allocation happens on one CPU (via
page_alloc), but the tear down happens on the other CPU, which
accumulates the pages in the quicklist. So the quicklist of the busy
CPU is empty, while the one of the idle CPU goes up to the limit. When
I pin the loop to one CPU then the quicklists are stable.

Thanks,

tglx
--
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/