Skip to content

Commit

Permalink
[IA64] Setup an IA64 specific reclaim distance
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Lameter authored and Tony Luck committed Apr 21, 2006
1 parent a72391e commit e5ecc19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/asm-ia64/topology.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
/* 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'
*/
Expand Down

0 comments on commit e5ecc19

Please sign in to comment.