Subject: Re: Revising CPU usage calculations
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-kern
Date: 03/27/2007 19:54:25
In article <16636.1174959596@splode.eterna.com.au>,
matthew green  <mrg@eterna.com.au> wrote:
>   
>   > Mmh, I tend to disagree. autonice is not a generic mechanism
>   > needed by all schedulers but a specific mechanism of the 4BSD
>   > scheduler to prevent starvation. So, I think it should go into the
>   > scheduler-dependent hook.
>   
>   Personally, I think it should go into the rubbish bin.
>
>i used to #if 0 the code for the longest time...then someone made it
>sysctl'able...and i #if 0'ed the sysctl code for a long time until
>i checked out a fresh tree and gave up caring :-)

It is useless in today's systems, and usually does the wrong thing
(nices long time running processes). So you have a machine that you
use as a web server, httpd will eventually get autoniced. You have
a DNS server, named gets autoniced, you have a mail server, well
you get the idea.

christos