idprio safe?

From: Christian Weisgerber <naddy_at_mips.inka.de>
Date: Sun, 12 Oct 2003 00:55:27 +0000 (UTC)
Is it safe nowadays to run a process at idle priority?  Or is there
still the danger of priority inversion / a deadlock?

On FreeBSD 4.x you can run a process, such as setiathome, at nice
level 19 and it will (almost) only ever get CPU time when no process
of normal priority competes with it.  FreeBSD 5.x is much "fairer"
in this respect, which has the unpleasant result that such a
background process will noticeably compete for CPU now.

-- 
Christian "naddy" Weisgerber                          naddy_at_mips.inka.de
Received on Sat Oct 11 2003 - 16:30:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:25 UTC