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
    On Tue, Apr 17, 2007 at 01:03:46AM -0700, Davide Libenzi wrote:
    > On Tue, 17 Apr 2007, Ingo Molnar 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?
    > Weren't those listed inside the Axis of Evil (just to remain in topic :)
    > till yesterday?

    Actually I think this is something that makes sense to add, even if
    just for debugging, but maybe also for production, depending on how
    much it impacts things. Child runs first is an heuristic optimisation
    that exploits a VM detail (however fundamental). But for things that
    don't exec right after forking (and maybe some things that do), it
    can be nicer to reduce context switches, improve cache patterns, and
    allow children to be load balanced away before touching memory, if
    child_runs_first is turned off.

    -
    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:4.364 / U:2.852 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site