Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2005 04:47:57 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Markus Trippelsdorf <markus@trippelsdorf.de>
Cc:        freebsd-questions@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: so much clock interrupts?!
Message-ID:  <20051125094757.GA39944@xor.obsecurity.org>
In-Reply-To: <20051125064503.GA707@bsd.trippelsdorf.de>
References:  <20051124013438.T8326@chylonia.3miasto.net> <slrndoarjo.2d8m.Markus@bsd.trippelsdorf.de> <20051124204359.GD30073@xor.obsecurity.org> <20051125064503.GA707@bsd.trippelsdorf.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <wojtek@tensor.3miasto.net> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051125094757.GA39944>