Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752395AbYCINVb (ORCPT ); Sun, 9 Mar 2008 09:21:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750840AbYCINVW (ORCPT ); Sun, 9 Mar 2008 09:21:22 -0400 Received: from www.tglx.de ([62.245.132.106]:39515 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750701AbYCINVW (ORCPT ); Sun, 9 Mar 2008 09:21:22 -0400 Date: Sun, 9 Mar 2008 14:20:55 +0100 (CET) From: Thomas Gleixner To: Ingo Molnar cc: KOSAKI Motohiro , LKML , Linus Torvalds , Andrew Morton , Christoph Lameter , Bart Van Assche Subject: Re: quicklists confuse meminfo In-Reply-To: <20080309123432.GA3267@elte.hu> Message-ID: References: <20080309111456.GA21690@elte.hu> <20080309210000.C6DE.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20080309120940.GA1695@elte.hu> <20080309123432.GA3267@elte.hu> User-Agent: Alpine 1.00 (LFD 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1041 Lines: 27 On Sun, 9 Mar 2008, Ingo Molnar wrote: > * Ingo Molnar 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/