Re: [PATCH 1/2] Zone reclaim V2

From: Andi Kleen <>
Date: 2005-12-07 05:09:20
On Tue, Dec 06, 2005 at 10:01:28AM -0800, Christoph Lameter wrote:
> On Tue, 6 Dec 2005, Andi Kleen wrote:
> > > An arch can control zone_reclaim by setting zone_reclaim_mode during bootup
> > > if it is discovered that the kernel is running on an NUMA configuration.
> > 
> > Looks much better. Thanks. But how about auto controlling the variable in generic
> > code based on node_distance() (at least for the non node hotplug case)
> Any suggestions on how to determine zone reclaim behavior based on node 
> distances? AFAIK the main aspects in this are latency and bandwidth of 
> remote accesses. These vary depending on the distance of the remote node 
> under consideration.

I would enable it if distance for any combination of online (or possible?) nodes is 
> LOCAL_DISTANCE. I guess hotplug can be ignored for now.

If an architecture really needs something better it can be still refined. But there aren't 
that many NUMA architectures anyways, so it shouldn't be a big issue. 

It will actually need some tweaking on Opterons because many BIOS just
report 10 everywhere in SLIT and it should be still enabled, but that can be done 
in the architecture then.


To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Dec 07 05:09:55 2005

This archive was generated by hypermail 2.1.8 : 2005-12-07 05:10:03 EST