From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965368AbWKHKVp (ORCPT ); Wed, 8 Nov 2006 05:21:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965472AbWKHKVo (ORCPT ); Wed, 8 Nov 2006 05:21:44 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:23459 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S965368AbWKHKVm (ORCPT ); Wed, 8 Nov 2006 05:21:42 -0500 Date: Wed, 8 Nov 2006 02:21:36 -0800 From: Paul Jackson To: Christoph Lameter Cc: akpm@osdl.org, linux-kernel@vger.kernel.org Subject: Re: Avoid allocating during interleave from almost full nodes Message-Id: <20061108022136.3b9b0748.pj@sgi.com> In-Reply-To: References: <20061103134633.a815c7b3.akpm@osdl.org> <20061103143145.85a9c63f.akpm@osdl.org> <20061103172605.e646352a.pj@sgi.com> <20061103174206.53f2c49e.akpm@osdl.org> <20061104025128.ca3c9859.pj@sgi.com> Organization: SGI X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.3; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Christoph wrote: > On Sat, 4 Nov 2006, Paul Jackson wrote: > > > Do you know of any existing counters that we could use like this? > > > > Adding a system wide count of pages allocated or scanned, just for > > these fullnode hint caches, bothers me. > > There are already such counters. PGALLOC_* and PGSCAN_*. See > include/linux/vmstat.h Andrew, I'm willing to take a shot at replacing the wall clock time base with one of these vm counters, in my patch in *-mm: memory-page_alloc-zonelist-caching-speedup.patch But it will be a few weeks before I can get to it. I really need to do some other stuff first. -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson 1.925.600.0401