]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[IA64] Setup an IA64 specific reclaim distance
authorChristoph Lameter <clameter@sgi.com>
Fri, 14 Apr 2006 01:23:53 +0000 (18:23 -0700)
committerTony Luck <tony.luck@intel.com>
Fri, 21 Apr 2006 17:57:40 +0000 (10:57 -0700)
RECLAIM_DISTANCE is checked on bootup against the SLIT table distances.
Zone reclaim is important for system that have higher latencies but not for
systems that have multiple nodes on one motherboard and therefore low latencies.

We found that on motherboard latencies are typically 1 to 1.4 of local memory
access speed whereas multinode systems which benefit from zone reclaim have
usually more than 1.5 times the latency of a local access.

Set the reclaim distance for IA64 to 1.5 times.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/topology.h

index 3ee19dfa46dfde66f5723030f5a0e3a9e114bca6..616b5ed2aa7277e12885e6e35805d4fcacf748d9 100644 (file)
 /* Nodes w/o CPUs are preferred for memory allocations, see build_zonelists */
 #define PENALTY_FOR_NODE_WITH_CPUS 255
 
+/*
+ * Distance above which we begin to use zone reclaim
+ */
+#define RECLAIM_DISTANCE 15
+
 /*
  * Returns the number of the node containing CPU 'cpu'
  */