[PATCH] Turn on NUMA rebalancing

From: Martin J. Bligh (mbligh@aracnet.com)
Date: Sat Apr 19 2003 - 10:00:09 EST


I'd forgotten that I'd set this to only fire every 20s in the past,
because it would rebalance too agressively. That seems to be fixed now,
so we should turn it back on.

diff -urpN -X /home/fletch/.diff.exclude virgin/kernel/sched.c node_rebal/kernel/sched.c
--- virgin/kernel/sched.c Tue Apr 8 14:38:21 2003
+++ node_rebal/kernel/sched.c Sat Apr 19 07:51:20 2003
@@ -1091,7 +1091,7 @@ out:
 #define IDLE_REBALANCE_TICK (HZ/1000 ?: 1)
 #define BUSY_REBALANCE_TICK (HZ/5 ?: 1)
 #define IDLE_NODE_REBALANCE_TICK (IDLE_REBALANCE_TICK * 5)
-#define BUSY_NODE_REBALANCE_TICK (BUSY_REBALANCE_TICK * 100)
+#define BUSY_NODE_REBALANCE_TICK (BUSY_REBALANCE_TICK * 2)
 
 #ifdef CONFIG_NUMA
 static void balance_node(runqueue_t *this_rq, int idle, int this_cpu)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:25 EST