Skip to content

Commit 6e74991

Browse files
vingu-linaroPeter Zijlstra
authored andcommitted
sched/fair: Reduce busy load balance interval
The busy_factor, which increases load balance interval when a cpu is busy, is set to 32 by default. This value generates some huge LB interval on large system like the THX2 made of 2 node x 28 cores x 4 threads. For such system, the interval increases from 112ms to 3584ms at MC level. And from 228ms to 7168ms at NUMA level. Even on smaller system, a lower busy factor has shown improvement on the fair distribution of the running time so let reduce it for all. Signed-off-by: Vincent Guittot <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Phil Auld <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent e4d32e4 commit 6e74991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/sched/topology.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ sd_init(struct sched_domain_topology_level *tl,
13481348
*sd = (struct sched_domain){
13491349
.min_interval = sd_weight,
13501350
.max_interval = 2*sd_weight,
1351-
.busy_factor = 32,
1351+
.busy_factor = 16,
13521352
.imbalance_pct = 117,
13531353

13541354
.cache_nice_tries = 0,

0 commit comments

Comments
 (0)