Le 2018-09-04 10:56, Thomas de Grivel a écrit :
why ?
why ? well all interactive process get a quarter range nice priority
advance compared to all daemon tasks, at least for a laptop
environment it really makes sense. sndiod and ntpd are unaffected by
this change.
you're right to criticize in that I did not document my code, the
point of this new variable is that an amendment to daemon priority is
no more than putting one line in /etc/rc.conf.local eg.
sshd_nice=1
or in the rc.d/ file
daemon_nice=whatever
why, because it is a whole lot more readable and usable than
inheriting a whole new login class just to change one parameter, but
if you don't like it nobody foces you huh ?
--
Thomas de Grivel
http://kmx.io
Le mar. 4 sept. 2018 à 07:57, Alexandre Ratchov <a...@caoua.org> a
écrit :
On Tue, Sep 04, 2018 at 04:58:53AM +0200, Thomas de Grivel wrote:
>
> And I still feel the default nice priority of 10 is rather a good
> idea.
why?
The current system using login.conf requires one line too
echo "tor:priority=5:" >> /etc/login.conf
it's already there, no need duplicating ways to manage the nice level