public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Setup an IA64 specific reclaim distance
@ 2006-04-14  1:23 Christoph Lameter
  2006-04-14 16:18 ` Luck, Tony
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Christoph Lameter @ 2006-04-14  1:23 UTC (permalink / raw)
  To: linux-ia64

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>

Index: linux-2.6.17-rc1-mm2/include/asm-ia64/topology.h
=================================--- linux-2.6.17-rc1-mm2.orig/include/asm-ia64/topology.h	2006-04-02 20:22:10.000000000 -0700
+++ linux-2.6.17-rc1-mm2/include/asm-ia64/topology.h	2006-04-13 17:49:18.000000000 -0700
@@ -23,6 +23,11 @@
 #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'
  */
 #define cpu_to_node(cpu) (int)(cpu_to_node_map[cpu])

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-04-14 18:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-14  1:23 Setup an IA64 specific reclaim distance Christoph Lameter
2006-04-14 16:18 ` Luck, Tony
2006-04-14 16:44 ` Christoph Lameter
2006-04-14 17:36 ` John Hawkes
2006-04-14 17:39 ` Luck, Tony
2006-04-14 17:41 ` Christoph Lameter
2006-04-14 17:43 ` Luck, Tony
2006-04-14 17:43 ` Christoph Lameter
2006-04-14 17:44 ` Luck, Tony
2006-04-14 17:54 ` Luck, Tony
2006-04-14 18:04 ` John Hawkes
2006-04-14 18:06 ` Christoph Lameter
2006-04-14 18:08 ` Christoph Lameter
2006-04-14 18:22 ` Chen, Kenneth W

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox