[lkml]   [2002]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH]: O(1) 2.4.17-J6 tuneable parameters


    On Thu, 24 Jan 2002, Jack F. Vogel wrote:

    > Hi Ingo,
    > Have been watching and testing your changes as they have
    > evolved. Our group has a customer request for a scheduler that will
    > give them some tuneable parameters, and your changes have actually had
    > some parameters change thru the deltas you've made. It seemed like it
    > might be useful to take them and make them tweakable on a running
    > system. I am not 100% convinced of the goodness of this, but I wanted
    > to submit it for your consideration. The current code performs great
    > btw, thanks for all your hard work.

    i think we could use your patch for development purposes as well, lets
    merge the two efforts?

    i'd suggest to name the /proc/sys/sched/ values the same way the constants
    are called. Eg. /proc/sys/sched/CHILD_FORK_PENALTY. This makes it easier
    to communicate suggested parameter changes.

    i have a script that dumps the current sched-parameters state:

    [root@mars root]# ./getsched
    echo 95 > /proc/sys/kernel/CHILD_FORK_PENALTY
    echo 3 > /proc/sys/kernel/EXIT_WEIGHT
    echo 3 > /proc/sys/kernel/INTERACTIVE_DELTA
    echo 200 > /proc/sys/kernel/MAX_SLEEP_AVG
    echo 30 > /proc/sys/kernel/MAX_TIMESLICE
    echo 100 > /proc/sys/kernel/PARENT_FORK_PENALTY
    echo 70 > /proc/sys/kernel/PRIO_BONUS_RATIO
    echo 60 > /proc/sys/kernel/PRIO_CPU_HOG_RATIO
    echo 20 > /proc/sys/kernel/PRIO_INTERACTIVE_RATIO
    echo 200 > /proc/sys/kernel/STARVATION_LIMIT

    the script is very simple:

    cd /proc/sys/kernel

    for N in *[A-Z]*; do echo "echo "`cat $N`" > /proc/sys/kernel/$N"; done

    otherwise our approach is identical. This patch would always stay
    separate, but could be readily applied by people who want more control
    over the scheduler for development or whatever other reasons.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

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