Re: I/O problems in 2.4.19/2.4.20/2.4.21-rc3

Christian Klose (christian.klose@freenet.de)
Sun, 25 May 2003 02:43:59 +0200


On Saturday 24 May 2003 16:28, William Lee Irwin III wrote:

Hi wli,

> > --- old/kernel/sched.c 2003-05-24 14:45:57.000000000 +0200
> > +++ 2.5-mcp/kernel/sched.c 2003-05-24 16:18:42.000000000 +0200
> > @@ -65,7 +65,7 @@
> > * they expire.
> > */
> > #define MIN_TIMESLICE ( 10 * HZ / 1000)
> > -#define MAX_TIMESLICE (200 * HZ / 1000)
> > +#define MAX_TIMESLICE ( 10 * HZ / 1000)
> > #define CHILD_PENALTY 50
> > #define PARENT_PENALTY 100
> > #define EXIT_WEIGHT 3

> This looks highly suspicious as it essentially removes dynamic timeslice
> sizing. If this fixes something, then dynamic timeslice heuristics are
> going wrong somewhere that should be properly described and handled, not
> this kind of shenanigan.
I somewhat agree with you but this "properly described" are all the bug
reports on lkml containing "bad interactivity in 2.5, cpu starving in 2.5"
and such...

This isn't a shenanigan, at least not for the interactivity for a desktop.
This is a workaround for users who are complaining about bad interactivity in
2.5!

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/