Subject: Re: Configurable scheduler quantum?
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Charles M. Hannum <abuse@spamalicious.com>
List: netbsd-users
Date: 05/02/2001 09:13:51
On Wed, May 02, 2001 at 02:20:48PM +0200, Manuel Bouyer wrote:
> On Wed, May 02, 2001 at 08:49:22AM +0200, Thorbjorn Jemander wrote:
> > Hi,
> > 
> > I'm pretty new to NetBSD, and I'm wondering if
> > there's a way to set the scheduler time quantum
> > anywhere? I took a quick peek at the kernel
> > sources, and it seemed to be set to a whopping
> > 100 ms for the rr-scheduled processes, as default.
> > I'd like to change that for my desktop system.
> 
> Use
> options  HZ=256
> (or whatever value you want). I'm not sure any value will work, though ...

That will *not* change the quantum (significantly).  What you need to
change is `rrticks', which is initialized in initclocks().