[LUNI] Scheduling question in 2.4/2.6

Steven Lembark lembark at wrkhors.com
Wed Apr 14 00:00:41 CDT 2004


> ok. i checked man, it is only when you need to renice a value that is
> lesser than 0 that you need root privileges. if it is within 0 and
> PRIO_MAX(20), it is fine, provided the process is owned by you.

renice only modifies the nice value, not the ultimate
scheduling priority. I'd like the thing to remain at
the end of the run que permenantly. This is done on
Solaris using a table-driven approach: jobs exit with
a new scheduling value based on their old one. If the
entry and exit values are the same then the jobs's
scheduling priority (vs. niceness) never changes.

--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 888 359 3508


More information about the luni mailing list