aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2008-06-27 13:41:12 +0200
committerIngo Molnar <[email protected]>2008-06-27 14:31:28 +0200
commitc9c294a630e28eec5f2865f028ecfc58d45c0a5a (patch)
tree62fcfc395e98ff7a4ff6bee3364d0bb86024b171 /tools/perf/scripts/python
parenta7be37ac8e1565e00880531f4e2aff421a21c803 (diff)
sched: fix calc_delta_asym()
calc_delta_asym() is supposed to do the same as calc_delta_fair() except linearly shrink the result for negative nice processes - this causes them to have a smaller preemption threshold so that they are more easily preempted. The problem is that for task groups se->load.weight is the per cpu share of the actual task group weight; take that into account. Also provide a debug switch to disable the asymmetry (which I still don't like - but it does greatly benefit some workloads) This would explain the interactivity issues reported against group scheduling. Signed-off-by: Peter Zijlstra <[email protected]> Cc: Srivatsa Vaddagiri <[email protected]> Cc: Mike Galbraith <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions