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

William Lee Irwin III (wli@holomorphy.com)
Sat, 24 May 2003 07:28:09 -0700


On Sat, May 24, 2003 at 04:19:40PM +0200, Marc-Christian Petersen wrote:
> --- 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.

-- wli
-
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/