Subject: Re: Configurable scheduler quantum?
To: Manuel Bouyer <email@example.com>
From: Charles M. Hannum <firstname.lastname@example.org>
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.
> 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().