From: utzoo!decvax!cca!hplabs!hao!pag@sri-unix Newsgroups: net.unix-wizar Title: Re: automatic niceing by kernel - (nf) Article-I.D.: hao.351 Posted: Tue Nov 23 12:50:24 1982 Received: Thu Nov 25 03:38:50 1982 References: pur-phy.585 My implementation of kernel autonice'ing has the following features: 1. UID 0 and sticky text procs are unaffected. 2. nice value increases with accumulated cpu time (up to a maximum of 50). 3. Autonice'ing is load-based, ie, the higher the load the quicker the nice value increases. 4. When the load average is above a given crital point (8.0 currently), procs with priority > PBAD (approx = nice of 15) are swapped out, and cannot return until the load drops to a more acceptable level (5.0 currently). This has worked out very well on our heavily loaded 11/70 -- allowing interactive jobs to run at an effective higher priority than crunchers (which, if they accumulate enought cpu time, only run when the cpu would otherwise have been idle). --peter gross ucbvax!hplabs!hao!pag seismo!hao!pag