Skip to contentSkip to conversation

sched: Fix volanomark performance regression

PATCH New stable-bot for Alex Shi 1 participant 1 message Feb 10, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 26/28 sched: Fix volanomark performance regression

Commit: b5482cfa1c95a188b3054fa33274806add91bbe5 upstream
Author: Alex Shi <[email protected]>
AuthorDate: Tue Nov 16 17:34:02 2010 +0800

Commit fab4762 triggers excessive idle balancing, causing a ~30% loss in volanomark throughput. Remove idle balancing throttle reset.

LKML-Reference: <[email protected]>

---
 kernel/sched.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
kernel/sched.c +0 -4
index 445f2d1..ffd4f57 100644
@@ -3326,10 +3326,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;
 }
 
 /*
Signature · 1 line
1.7.4