lkml.org 
[lkml]   [2002]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [BENCHMARK] scheduler tunables with contest - prio_bonus_ratio
    Date
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:31    [W:0.023 / U:0.520 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site