[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1162999085.14238.17.camel@twins>
Date: Wed, 08 Nov 2006 16:18:05 +0100
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Paul Jackson <pj@....com>
Cc: Christoph Lameter <clameter@....com>, akpm@...l.org,
linux-kernel@...r.kernel.org
Subject: Re: Avoid allocating during interleave from almost full nodes
On Wed, 2006-11-08 at 02:21 -0800, Paul Jackson wrote:
> 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.
The swap token code in -mm (which I still have to review) has a global
fault counter to measure 'time'. Perhaps we can generalise that.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists