From owner-freebsd-questions@FreeBSD.ORG Tue Apr 5 07:42:13 2005 Return-Path: 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 C08D516A4D9 for ; Tue, 5 Apr 2005 07:42:13 +0000 (GMT) Received: from nagual.st (cc20684-a.assen1.dr.home.nl [82.74.2.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA65243D41 for ; Tue, 5 Apr 2005 07:42:12 +0000 (GMT) (envelope-from dick@nagual.st) Received: from pooh.nagual.st (pooh.nagual.st [192.168.11.22]) by nagual.st with esmtp; Tue, 05 Apr 2005 09:42:11 +0200 Date: Tue, 5 Apr 2005 09:42:12 +0200 From: dick hoogendijk To: freebsd-questions@freebsd.org Message-Id: <20050405094212.42b93112.dick@nagual.st> In-Reply-To: <20050404093755.GA48928@epia2.farid-hajji.net> References: <20050404091719.GA9748@lothlorien.nagual.st> <20050404093755.GA48928@epia2.farid-hajji.net> Organization: nagual SiTe X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd4.11) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: HZ=1000 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dick@nagual.st List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2005 07:42:13 -0000 On Mon, 4 Apr 2005 11:37:55 +0200 cpghost@cordula.ws wrote: > Interestingly, HZ=100 has remained constant for decades (!), despite > CPUs getting faster all the time. This is an excellent value for most > typical usage patterns. Cranking it up should only be required for > special cases. Anyway, the HZ knob is there. Experiment with it until > you get optimal performance. Thanks for the explanation. Your last remark puzzles me though. 'experiment with it until you get optimal performance' Yeah sure. I like to experiment. I don't want the fuzzy "it /feels/ like its slower/faster" stuff. Way too subjective. Can someone advise me on some test software to expermient with? I.e.: I set hz=100 / hz=1000 / hz=2000 ; with or without polling and I run a testing program that measures the diffs. Does something like this exists? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 4.11 ++ FreeBSD 5.3 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja