• V
    sched: add SD_BALANCE_NEWIDLE at MC and CPU level for sched_mc>0 · 100fdaee
    Vaidyanathan Srinivasan 提交于
    Impact: change task balancing to save power more agressively
    
    Add SD_BALANCE_NEWIDLE flag at MC level and CPU level
    if sched_mc is set.  This helps power savings and
    will not affect performance when sched_mc=0
    
    Ingo and Mike Galbraith have optimised the SD flags by
    removing SD_BALANCE_NEWIDLE at MC and CPU level.  This
    helps performance but hurts power savings since this
    slows down task consolidation by reducing the number
    of times load_balance is run.
    
        sched: fine-tune SD_MC_INIT
            commit 14800984
            Author: Mike Galbraith <efault@gmx.de>
            Date:   Fri Nov 7 15:26:50 2008 +0100
    
        sched: re-tune balancing -- revert
            commit 9fcd18c9
            Author: Ingo Molnar <mingo@elte.hu>
            Date:   Wed Nov 5 16:52:08 2008 +0100
    
    This patch selectively enables SD_BALANCE_NEWIDLE flag
    only when sched_mc is set to 1 or 2.  This helps power savings
    by task consolidation and also does not hurt performance at
    sched_mc=0 where all power saving optimisations are turned off.
    Signed-off-by: NVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
    Acked-by: NBalbir Singh <balbir@linux.vnet.ibm.com>
    Acked-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    100fdaee
sched.h 68.8 KB