From owner-freebsd-questions@FreeBSD.ORG Fri Nov 25 09:48:04 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 E482D16A41F for ; Fri, 25 Nov 2005 09:48:04 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CD6A43D77 for ; Fri, 25 Nov 2005 09:48:00 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id CA22F1A3C28; Fri, 25 Nov 2005 01:47:58 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0D15551584; Fri, 25 Nov 2005 04:47:58 -0500 (EST) Date: Fri, 25 Nov 2005 04:47:57 -0500 From: Kris Kennaway To: Markus Trippelsdorf Message-ID: <20051125094757.GA39944@xor.obsecurity.org> References: <20051124013438.T8326@chylonia.3miasto.net> <20051124204359.GD30073@xor.obsecurity.org> <20051125064503.GA707@bsd.trippelsdorf.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <20051125064503.GA707@bsd.trippelsdorf.de> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org, Kris Kennaway 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 09:48:05 -0000 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 25, 2005 at 07:45:03AM +0100, Markus Trippelsdorf wrote: > 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 2= 000 cpu0: time > > > > 16825 pdpgs 2= 000 cpu1: time > > > > > > > > > > > > on FreeBSD 5.3 live CD i have 100 not 2000 times per second > > > > > > > > isn't it too much?! > > >=20 > > > Yes it is. > > > That's why I have kern.hz=3D"100" in my /boot/loader.conf . > >=20 > > 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. > >=20 > Yes, I guess it increases performance on a high throughput webserver or > router that uses polling.=20 > 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=20 > 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. You should do what makes you feel happy, of course :) Kris --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDht3NWry0BWjoQKURAquuAKC3p6d9X3KP4LeCpWtzEVd2scdVGwCeLOkB pHtPiimQZBjoEy3v3wVhOVs= =oQmW -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--