Re: [BENCHMARK] scheduler tunables with contest - exit_weight

From: Marc-Christian Petersen (m.c.p@wolk-project.de)
Date: Sun Dec 22 2002 - 19:49:01 EST


On Saturday 21 December 2002 22:18, Con Kolivas wrote:

Hey Con,

> osdl hardware, contest results, 2.5.52-mm2 with scheduler tunable - exit
> weight (ew1= exit weight ==1 and so on)
Can you please try another thing?

kernel/sched.c

        /*
         * If the child was a (relative-) CPU hog then decrease
         * the sleep_avg of the parent as well.
         */
        if (p->sleep_avg < p->parent->sleep_avg)
                p->parent->sleep_avg = (p->parent->sleep_avg * exit_weight +
                        p->sleep_avg) / (exit_weight + 1);

Remove these please and run again.

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:31 EST