Messages in this thread Patch in this message | | | Date | Fri, 21 Mar 2003 07:16:53 +0100 (CET) | From | Ingo Molnar <> | Subject | Re: 2.5.65-mm2 |
| |
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; - 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/
| |