Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932560AbVKWWCI (ORCPT ); Wed, 23 Nov 2005 17:02:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932562AbVKWWCI (ORCPT ); Wed, 23 Nov 2005 17:02:08 -0500 Received: from omx3-ext.sgi.com ([192.48.171.20]:21191 "EHLO omx3.sgi.com") by vger.kernel.org with ESMTP id S932560AbVKWWCA (ORCPT ); Wed, 23 Nov 2005 17:02:00 -0500 Date: Wed, 23 Nov 2005 14:01:47 -0800 (PST) From: Christoph Lameter To: Andrew Morton cc: Rohit Seth , torvalds@osdl.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH]: Free pages from local pcp lists under tight memory conditions In-Reply-To: <20051123115545.69087adf.akpm@osdl.org> Message-ID: References: <20051122161000.A22430@unix-os.sc.intel.com> <1132775194.25086.54.camel@akash.sc.intel.com> <20051123115545.69087adf.akpm@osdl.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 941 Lines: 18 On Wed, 23 Nov 2005, Andrew Morton wrote: > I was able to demonstrate a large (~60%?) speedup in one microbenckmark > which consisted of four processes writing 16k to a file and truncating it > back to zero again. That gain came from the cache warmth effect, which is > the other benefit which these cpu-local pages are supposed to provide. Maybe we can cut the pcp logic back to only put cache warm pages into a single per_cpu pcp list for the local processor that contains node local pages? Return all remote pages and cold pages directly to the buddy lists. That way we can remove the logic to flush remote pages and remove those pcp lists for remote nodes that are mostly empty anyways. - 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/