Re: 2.5.65-mm2

Ingo Molnar
2003-03-21T06:06:15Z

On Thu, 20 Mar 2003, Mike Galbraith wrote:

> [...] Virgin .65 is also subject to the positive feedback loop (irman's
> process load is worst case methinks, and rounding down only ~hides it).

there's no positive feedback loop. What might happen is that in 2.5.65 we
now distribute the bonus timeslices more widely (the backboost thing), so
certain workloads might be rated more interactive. But we never give away
timeslices that were not earned the hard way (ie. via actual sleeping).

i've attached a patch that temporarily turns off the back-boost - does
that have any measurable impact? [please apply this to -mm1, i do think
the timeslice-granularity change in -mm1 (-D3) is something we really
want.]

Ingo

--- kernel/sched.c.orig 2003-03-21 07:14:02.000000000 +0100
+++ kernel/sched.c 2003-03-21 07:15:08.000000000 +0100
@@ -365,7 +365,7 @@
* tasks.
*/
if (sleep_avg > MAX_SLEEP_AVG) {
- if (!in_interrupt()) {
+ if (0 && !in_interrupt()) {
sleep_avg += current->sleep_avg - MAX_SLEEP_AVG;
if (sleep_avg > MAX_SLEEP_AVG)
sleep_avg = MAX_SLEEP_AVG;