sched/fair: Reduce busy load balance interval
authorVincent Guittot <vincent.guittot@linaro.org>
Mon, 21 Sep 2020 07:24:24 +0000 (09:24 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 25 Sep 2020 12:23:26 +0000 (14:23 +0200)
commit6e7499135db724539ca887b3aa64122502875c71
treec65784c05da1e19e116153a0f8dddf3fa0327081
parente4d32e4d5444977d8dc25fa98b3ce0a65544db8c
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 <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Phil Auld <pauld@redhat.com>
Link: https://lkml.kernel.org/r/20200921072424.14813-5-vincent.guittot@linaro.org
kernel/sched/topology.c