Re: [BENCHMARK] scheduler tunables with contest - prio_bonus_ratio

From: Marc-Christian Petersen (m.c.p@wolk-project.de)
Date: Fri Dec 20 2002 - 06:17:07 EST


On Friday 20 December 2002 00:53, Robert Love wrote:

Hi Robert,

> You would probably get the same effect or better by setting
> prio_bonus_ratio lower (or off).
> Setting it lower will also give less priority bonus/penalty and not
> reinsert the tasks so readily into the active array.
> Something like the attached patch may help...

> --- linux-2.5.52/kernel/sched.c 2002-12-19 18:47:53.000000000 -0500
> +++ linux/kernel/sched.c 2002-12-19 18:48:05.000000000 -0500
> @@ -66,8 +66,8 @@
> int child_penalty = 95;
> int parent_penalty = 100;
> int exit_weight = 3;
> -int prio_bonus_ratio = 25;
> -int interactive_delta = 2;
> +int prio_bonus_ratio = 5;
> +int interactive_delta = 1;
> int max_sleep_avg = 2 * HZ;
> int starvation_limit = 2 * HZ;
FYI: These changes are a horrible slowdown of all apps while kernel
compilation.

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/



This archive was generated by hypermail 2b29 : Mon Dec 23 2002 - 22:00:26 EST