lkml.org 
[lkml]   [2002]   [Dec]   [22]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromMarc-Christian Petersen <>
SubjectRe: [BENCHMARK] scheduler tunables with contest - exit_weight
DateMon, 23 Dec 2002 01:49:01 +0100
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/

\
 
 \ /
  Last update: 2005-03-22 12:31    [from the cache]
©2003-2008