Date: Thu, 24 Nov 2005 19:21:27 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Wojciech Puchar <wojtek@tensor.3miasto.net> Cc: freebsd-questions@freebsd.org, Markus Trippelsdorf <Markus@trippelsdorf.de>, Kris Kennaway <kris@obsecurity.org> Subject: Re: so much clock interrupts?! Message-ID: <20051125002127.GB32821@xor.obsecurity.org> In-Reply-To: <20051125010708.B86615@chylonia.3miasto.net> References: <20051124013438.T8326@chylonia.3miasto.net> <slrndoarjo.2d8m.Markus@bsd.trippelsdorf.de> <20051124204359.GD30073@xor.obsecurity.org> <20051125010708.B86615@chylonia.3miasto.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--oC1+HKm2/end4ao3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 25, 2005 at 01:08:42AM +0100, Wojciech Puchar wrote: > >>That's why I have kern.hz=3D"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. > > > no i'm just asking. >=20 > does hz=3D1000 means that if i run >1 CPU-bound process per processor it'= s=20 > switched 1000 times per second between them? or just 1000 times per secon= d=20 > system call is issued that does many system duties, but switches processe= s=20 > with different frequency? It's used to drive timers and periodic events, including scheduling. Keep in mind that modern computers are roughly 10 times faster than they were a few years ago. Something that runs every 1/100 of a second is actually waiting for 10 times as many CPU cycles as it was on the older machine, which means that it may be working proportionally less efficiently on the new machine. Kris --oC1+HKm2/end4ao3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDhlkHWry0BWjoQKURAkznAJ0SBXxfl/ghgBF2PiiuKj1ucyPSDwCfUNAz F1zdGgngNbS9L8qtCpsoDX8= =aBr6 -----END PGP SIGNATURE----- --oC1+HKm2/end4ao3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051125002127.GB32821>