sched: Fix volanomark performance regression
authorAlex Shi <[email protected]>
Tue, 16 Nov 2010 09:34:02 +0000 (17:34 +0800)
committerIngo Molnar <[email protected]>
Thu, 18 Nov 2010 12:11:43 +0000 (13:11 +0100)
Commit fab4762 triggers excessive idle balancing, causing a ~30% loss in
volanomark throughput. Remove idle balancing throttle reset.

Originally-by: Alex Shi <[email protected]>
Signed-off-by: Mike Galbraith <[email protected]>
Acked-by: Nikhil Rao <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
LKML-Reference: <1289928732[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched_fair.c

index 52ab113d8bb95ee8e08299b9bad6b0df5691ea89..ba0556dc7c068ef596891f112494b08183ddd820 100644 (file)
@@ -1758,10 +1758,6 @@ static void pull_task(struct rq *src_rq, struct task_struct *p,
        set_task_cpu(p, this_cpu);
        activate_task(this_rq, p, 0);
        check_preempt_curr(this_rq, p, 0);
-
-       /* re-arm NEWIDLE balancing when moving tasks */
-       src_rq->avg_idle = this_rq->avg_idle = 2*sysctl_sched_migration_cost;
-       this_rq->idle_stamp = 0;
 }
 
 /*