From owner-freebsd-questions@FreeBSD.ORG Fri Mar 11 02:24:05 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 019DB16A4CE for ; Fri, 11 Mar 2005 02:24:05 +0000 (GMT) Received: from smtp11.wanadoo.fr (smtp11.wanadoo.fr [193.252.22.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id A455E43D1F for ; Fri, 11 Mar 2005 02:24:04 +0000 (GMT) (envelope-from atkielski.anthony@wanadoo.fr) Received: from me-wanadoo.net (unknown [127.0.0.1]) by mwinf1112.wanadoo.fr (SMTP Server) with ESMTP id CD5CE1C00088 for ; Fri, 11 Mar 2005 03:24:03 +0100 (CET) Received: from pix.atkielski.com (ASt-Lambert-111-2-1-3.w81-50.abo.wanadoo.fr [81.50.80.3]) by mwinf1112.wanadoo.fr (SMTP Server) with ESMTP id ADAAC1C00085 for ; Fri, 11 Mar 2005 03:24:03 +0100 (CET) X-ME-UUID: 20050311022403711.ADAAC1C00085@mwinf1112.wanadoo.fr Date: Fri, 11 Mar 2005 03:24:03 +0100 From: Anthony Atkielski X-Priority: 3 (Normal) Message-ID: <1258079440.20050311032403@wanadoo.fr> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Timer setting in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 02:24:05 -0000 I was reading that recent versions of Linux have increased the base timer rate (for scheduling and other purposes) from 100 Hz to 1000 Hz. I note that FreeBSD apparently will increase this in the same way in 6.x. Is there a way to adjust this value (by configuration, modifying source, sysctl, etc.)? Can it be done on a running system? If it can be changed, are there any significant reasons for adjusting it, and what are the pros and cons? Having 1000 interrupts per second just to keep track of the time seems excessive to me in most configurations. Does anyone know how long this interrupt takes to service under FreeBSD with specific processors? -- Anthony