Subject: Re: Revising CPU usage calculations
To: Mindaugas R. <rmind@NetBSD.org>
From: None <dsieger@techfak.uni-bielefeld.de>
List: tech-kern
Date: 03/28/2007 14:41:23
On Wed, Mar 28, 2007 at 03:18:10PM +0300, Mindaugas R. wrote:
> SODA Noriyuki <soda@sra.co.jp> wrote:
> > Is there any reason that autonice is SCHED_4BSD only?
> Different schedulers may do that differently. 
> At least, this should be per-LWP and with better heuristics for I/O and
> CPU-hog.
> 
> At least, autonice must go into the scheduler specific part, but I think it
> could go out at all.

Well, as long it is a sysctl tunable and disabled by default, I don't
think it is really neccessary to put autonice into the
scheduler-dependent part.

However, is anyone strongly objecting against dropping autonice
completely? If not, I'd like to go this way.

Regards,
Daniel

-- 
Daniel Sieger
Faculty of Technology
Bielefeld University
wwwhomes.uni-bielefeld.de/dsieger