Commit 26fbf90f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Turn on NUMA rebalancing

From: "Martin J. Bligh" <mbligh@aracnet.com>

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.
parent 609b0188
...@@ -1091,7 +1091,7 @@ static void load_balance(runqueue_t *this_rq, int idle, unsigned long cpumask) ...@@ -1091,7 +1091,7 @@ static void load_balance(runqueue_t *this_rq, int idle, unsigned long cpumask)
#define IDLE_REBALANCE_TICK (HZ/1000 ?: 1) #define IDLE_REBALANCE_TICK (HZ/1000 ?: 1)
#define BUSY_REBALANCE_TICK (HZ/5 ?: 1) #define BUSY_REBALANCE_TICK (HZ/5 ?: 1)
#define IDLE_NODE_REBALANCE_TICK (IDLE_REBALANCE_TICK * 5) #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 #ifdef CONFIG_NUMA
static void balance_node(runqueue_t *this_rq, int idle, int this_cpu) static void balance_node(runqueue_t *this_rq, int idle, int this_cpu)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment