From owner-freebsd-questions@FreeBSD.ORG Fri Nov 25 06:45:09 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 BB04116A41F for ; Fri, 25 Nov 2005 06:45:09 +0000 (GMT) (envelope-from markus@trippelsdorf.de) Received: from blue-ld-032.synserver.de (blue-ld-032.synserver.de [217.119.50.235]) by mx1.FreeBSD.org (Postfix) with SMTP id 93E1643D68 for ; Fri, 25 Nov 2005 06:45:08 +0000 (GMT) (envelope-from markus@trippelsdorf.de) Received: (qmail 6732 invoked by uid 0); 25 Nov 2005 06:45:03 -0000 X-SynServer-RemoteDnsName: port-212-202-34-162.dynamic.qsc.de X-SynServer-AuthUser: markus@trippelsdorf.de Received: from port-212-202-34-162.dynamic.qsc.de (HELO bsd.trippelsdorf.de) (212.202.34.162) by mx-04.synserver.de with SMTP; 25 Nov 2005 06:45:03 -0000 Date: Fri, 25 Nov 2005 07:45:03 +0100 From: Markus Trippelsdorf To: Kris Kennaway Message-ID: <20051125064503.GA707@bsd.trippelsdorf.de> References: <20051124013438.T8326@chylonia.3miasto.net> <20051124204359.GD30073@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051124204359.GD30073@xor.obsecurity.org> User-Agent: Mutt/1.5.11 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: Fri, 25 Nov 2005 06:45:09 -0000 On Thu, Nov 24, 2005 at 03:43:59PM -0500, Kris Kennaway wrote: > On Thu, Nov 24, 2005 at 07:40:40AM +0000, Markus Trippelsdorf wrote: > > On 2005-11-24, Wojciech Puchar wrote: > > > that's what i see in systat with FreeBSD 6.0/i386-SMP > > > > > > > > > 540 534 99 pdwak 2000 cpu0: time > > > 16825 pdpgs 2000 cpu1: time > > > > > > > > > on FreeBSD 5.3 live CD i have 100 not 2000 times per second > > > > > > isn't it too much?! > > > > Yes it is. > > That's why I have kern.hz="100" in my /boot/loader.conf . > > Have you been able to measure a performance benefit from reducing it? > Have you shown that reducing it does not cause your performance to > *drop*? It was increased for a reason..it actually increases > performance on some workloads. > 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. This may be a religious issue and everyone should use what he or she seems fitting. -- Markus