Skip to content
  • Dietmar Eggemann's avatar
    sched: Tipping point from energy-aware to conventional load balancing · bdd70613
    Dietmar Eggemann authored and Morten Rasmussen's avatar Morten Rasmussen committed
    
    
    Energy-aware load balancing bases on cpu usage so the upper bound of its
    operational range is a fully utilized cpu. Above this tipping point it
    makes more sense to use weighted_cpuload to preserve smp_nice.
    This patch implements the tipping point detection in update_sg_lb_stats
    as if one cpu is over-utilized the current energy-aware load balance
    operation will fall back into the conventional weighted load based one.
    
    cc: Ingo Molnar <mingo@redhat.com>
    cc: Peter Zijlstra <peterz@infradead.org>
    
    Signed-off-by: default avatarDietmar Eggemann <dietmar.eggemann@arm.com>
    bdd70613