27 Jun, 2013

2 commits

  • Based-on-patch-by: Fengguang Wu
    Signed-off-by: Alex Shi
    Tested-by: Vincent Guittot
    Signed-off-by: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1371694737-29336-14-git-send-email-alex.shi@intel.com
    Signed-off-by: Ingo Molnar

    Alex Shi
     
  • They are the base values in load balance, update them with rq runnable
    load average, then the load balance will consider runnable load avg
    naturally.

    We also try to include the blocked_load_avg as cpu load in balancing,
    but that cause kbuild performance drop 6% on every Intel machine, and
    aim7/oltp drop on some of 4 CPU sockets machines.
    Or only add blocked_load_avg into get_rq_runable_load, hackbench still
    drop a little on NHM EX.

    Signed-off-by: Alex Shi
    Reviewed-by: Gu Zheng
    Signed-off-by: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1371694737-29336-7-git-send-email-alex.shi@intel.com
    Signed-off-by: Ingo Molnar

    Alex Shi
     

07 May, 2013

1 commit

  • This large chunk of load calculation code can be easily divorced
    from the main core.c scheduler file, with only a couple
    prototypes and externs added to a kernel/sched header.

    Some recent commits expanded the code and the documentation of
    it, making it large enough to warrant separation. For example,
    see:

    556061b, "sched/nohz: Fix rq->cpu_load[] calculations"
    5aaa0b7, "sched/nohz: Fix rq->cpu_load calculations some more"
    5167e8d, "sched/nohz: Rewrite and fix load-avg computation -- again"

    More importantly, it helps reduce the size of the main
    sched/core.c by yet another significant amount (~600 lines).

    Signed-off-by: Paul Gortmaker
    Acked-by: Peter Zijlstra
    Cc: Frederic Weisbecker
    Link: http://lkml.kernel.org/r/1366398650-31599-2-git-send-email-paul.gortmaker@windriver.com
    Signed-off-by: Ingo Molnar

    Paul Gortmaker