Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2002 12:35:45 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Marek <q7w8e9r0@poczta.onet.pl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: About TICK_SCALE
Message-ID:  <20020321183545.GD98076@dan.emsphone.com>
In-Reply-To: <HJEBLHOJGNJIKFLPILHAGEANCAAA.q7w8e9r0@poczta.onet.pl>
References:  <HJEBLHOJGNJIKFLPILHAGEANCAAA.q7w8e9r0@poczta.onet.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 21), Marek said:
> Sorry for my English. It's not my native language.
> 
> Is in the FreeBSD kernel an option similar to TICK_SCALE in Linux
> kernel in linux/kernel/sched.c ? or better a sysctl variable which
> does the same?

If you want to be able to control how long a process is allowed to run
before being pre-empted, try the sysctl "kern.quantum".  The units are
microseconds.

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020321183545.GD98076>