aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/topology.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-09-04 05:32:54 -0400
committerIngo Molnar <mingo@elte.hu>2009-09-04 05:52:54 -0400
commit840a0653100dbde599ae8ddf83fa214dfa5fd1aa (patch)
tree273ffb82cb6d6f48c35d94b68e54874451956001 /include/linux/topology.h
parent47734f89be0614b5acbd6a532390f9c72f019648 (diff)
sched: Turn on SD_BALANCE_NEWIDLE
Start the re-tuning of the balancer by turning on newidle. It improves hackbench performance and parallelism on a 4x4 box. The "perf stat --repeat 10" measurements give us: domain0 domain1 ....................................... -SD_BALANCE_NEWIDLE -SD_BALANCE_NEWIDLE: 2041.273208 task-clock-msecs # 9.354 CPUs ( +- 0.363% ) +SD_BALANCE_NEWIDLE -SD_BALANCE_NEWIDLE: 2086.326925 task-clock-msecs # 11.934 CPUs ( +- 0.301% ) +SD_BALANCE_NEWIDLE +SD_BALANCE_NEWIDLE: 2115.289791 task-clock-msecs # 12.158 CPUs ( +- 0.263% ) Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Andreas Herrmann <andreas.herrmann3@amd.com> Cc: Andreas Herrmann <andreas.herrmann3@amd.com> Cc: Gautham R Shenoy <ego@in.ibm.com> Cc: Balbir Singh <balbir@in.ibm.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/topology.h')
-rw-r--r--include/linux/topology.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/topology.h b/include/linux/topology.h
index fe2c0329f82f..66774fddec9b 100644
--- a/include/linux/topology.h
+++ b/include/linux/topology.h
@@ -126,7 +126,7 @@ int arch_update_cpu_topology(void);
126 .forkexec_idx = 1, \ 126 .forkexec_idx = 1, \
127 \ 127 \
128 .flags = 1*SD_LOAD_BALANCE \ 128 .flags = 1*SD_LOAD_BALANCE \
129 | 0*SD_BALANCE_NEWIDLE \ 129 | 1*SD_BALANCE_NEWIDLE \
130 | 1*SD_BALANCE_EXEC \ 130 | 1*SD_BALANCE_EXEC \
131 | 1*SD_BALANCE_FORK \ 131 | 1*SD_BALANCE_FORK \
132 | 0*SD_WAKE_IDLE \ 132 | 0*SD_WAKE_IDLE \
@@ -160,7 +160,7 @@ int arch_update_cpu_topology(void);
160 .forkexec_idx = 1, \ 160 .forkexec_idx = 1, \
161 \ 161 \
162 .flags = 1*SD_LOAD_BALANCE \ 162 .flags = 1*SD_LOAD_BALANCE \
163 | 0*SD_BALANCE_NEWIDLE \ 163 | 1*SD_BALANCE_NEWIDLE \
164 | 1*SD_BALANCE_EXEC \ 164 | 1*SD_BALANCE_EXEC \
165 | 1*SD_BALANCE_FORK \ 165 | 1*SD_BALANCE_FORK \
166 | 0*SD_WAKE_IDLE \ 166 | 0*SD_WAKE_IDLE \