Subject: Re: Revising CPU usage calculations
To: None <tech-kern@netbsd.org>
From: Michael van Elst <mlelstv@serpens.de>
List: tech-kern
Date: 03/27/2007 20:53:19
christos@astron.com (Christos Zoulas) writes:

>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.

Is that a problem? A niced process isn't slower unless you have
non-niced processes, e.g. the login session of your friendly admin
that tries to recover an overloaded system. Having the 'overload'
processes running nice is at least a minor advantage.

Now, if you think about interactive login sessions being autoniced down,
this can be a nuisance. So the only solution is to disable the autonice
and to nice down your services explicitely.


-- 
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."