lkml.org 
[lkml]   [2007]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] CFS (Completely Fair Scheduler), v2

* Davide Libenzi <davidel@xmailserver.org> wrote:

> > ok - fortunately the delta between -v2-rc0 and -v2-final is pretty
> > small. One difference is the child-runs-first fix. To restore the
> > parent-runs-first logic, do this:
> >
> > echo 0 > /proc/sys/kernel/sched_child_runs_first
>
> Sorry, I did not follow the latest developments, but how many tunables
> we have so far in CFS? Are those for debug only or they're supposed to
> stay?

yeah, debug only. I strongly suspect the Kaffeine breakage for example
was related to child-runs-first, so userspace developers might be
interested in a switch to turn this on/off.

while reviewing the upstream scheduler it occured to me that we are
probably _not_ doing child-runs-first there due to the list_add_tail()
[it should be a list_add() for it to be child-first. But i havent
instrumented this heavily and this portion of the mainline scheduler is
pretty fragile.]. So via this flag we could also see the performance
impact, besides the compatibility impact.

> Weren't those listed inside the Axis of Evil (just to remain in topic
> :) till yesterday?

heh ;)

Ingo
-
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: 2007-04-17 10:23    [W:1.442 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site