From owner-freebsd-questions@FreeBSD.ORG Sun Nov 27 03:27:44 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B1FCD16A420 for ; Sun, 27 Nov 2005 03:27:44 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id E592243D5A for ; Sun, 27 Nov 2005 03:27:43 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 3BE3D5F84; Sat, 26 Nov 2005 22:27:43 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 66755-10; Sat, 26 Nov 2005 22:27:42 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-122-227.ny325.east.verizon.net [68.161.122.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 581555CCA; Sat, 26 Nov 2005 22:27:42 -0500 (EST) Message-ID: <438927AE.2010106@mac.com> Date: Sat, 26 Nov 2005 22:27:42 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cpghost References: <20051124013438.T8326@chylonia.3miasto.net> <20051124204359.GD30073@xor.obsecurity.org> <20051125064503.GA707@bsd.trippelsdorf.de> <20051125155245.GA2844@epia2.farid-hajji.net> In-Reply-To: <20051125155245.GA2844@epia2.farid-hajji.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: so much clock interrupts?! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2005 03:27:44 -0000 cpghost wrote: > On Fri, Nov 25, 2005 at 07:45:03AM +0100, Markus Trippelsdorf wrote: >> Yes, I guess it increases performance on a high throughput webserver or >> router that uses polling. But on the Desktop it only increases the >> overhead without any benefits at all. 2000 interrupts per second per core >> for the timer is a ridiculous high number and I reduce it simply for >> aesthetic reasons. The default settings try to give a 1-millisecond timing granularity, which seems to work pretty well on Pentium-grade and above hardware. Desktop tasks now include soft realtime work like displaying video clips, and obviously realtime 3D games benefit from it HZ=1000. > I'm also wondering wether 1000 Hz on a Soekris net4801 (Geode 266 MHz) > won't be overkill. I'm planning to migrate some of them from 5.4 to 6.0, > and doubting wether to change the new default to its more conservative > previous setting of 100 Hz. For what it's worth, I have kern.hz="200" in /boot/loader.conf on an EPIA-M6000 running 6.0-STABLE... -- -Chuck