From owner-freebsd-questions Thu Mar 21 10:37:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 856AD37B400 for ; Thu, 21 Mar 2002 10:37:11 -0800 (PST) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.12.2/8.12.2) with ESMTP id g2LIZkib056202; Thu, 21 Mar 2002 12:37:06 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.2/8.12.2/Submit) id g2LIZjBU056201; Thu, 21 Mar 2002 12:35:45 -0600 (CST) Date: Thu, 21 Mar 2002 12:35:45 -0600 From: Dan Nelson To: Marek Cc: freebsd-questions@FreeBSD.ORG Subject: Re: About TICK_SCALE Message-ID: <20020321183545.GD98076@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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