Re: [BENCHMARK] scheduler tunables with contest - exit_weight

Marc-Christian Petersen (m.c.p@wolk-project.de)
Mon, 23 Dec 2002 01:49:01 +0100


On Saturday 21 December 2002 22:18, Con Kolivas wrote:

Hey Con,

> osdl hardware, contest results, 2.5.52-mm2 with scheduler tunable - exit
> weight (ew1= exit weight ==1 and so on)
Can you please try another thing?

kernel/sched.c

/*
* If the child was a (relative-) CPU hog then decrease
* the sleep_avg of the parent as well.
*/
if (p->sleep_avg < p->parent->sleep_avg)
p->parent->sleep_avg = (p->parent->sleep_avg * exit_weight +
p->sleep_avg) / (exit_weight + 1);

Remove these please and run again.

ciao, Marc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/