Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Sat, 19 Apr 2003 08:00:09 -0700 | From | "Martin J. Bligh" <> | Subject | [PATCH] Turn on NUMA rebalancing |
| |
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/
| ![\](/images/icornerr.gif) |