From owner-freebsd-current@FreeBSD.ORG Fri Jul 9 16:26:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F316C16A4CE for ; Fri, 9 Jul 2004 16:26:57 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DC5F43D3F for ; Fri, 9 Jul 2004 16:26:57 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i69GQoJ5025555; Fri, 9 Jul 2004 18:26:50 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Chuck Swiger From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 09 Jul 2004 12:23:01 EDT." <40EEC665.5010608@mac.com> Date: Fri, 09 Jul 2004 18:26:50 +0200 Message-ID: <25554.1089390410@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: Chris Stenton cc: current@freebsd.org Subject: Re: default HZ value in 5.2.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2004 16:26:58 -0000 In message <40EEC665.5010608@mac.com>, Chuck Swiger writes: >Chris Stenton wrote: >> Any reason why the default value for HZ is still set at 100? > >Sure. Timer interrupts and context switching aren't free, you know: the >faster the HZ, the more time the system spends on overhead rather than doing >useful work. > >> Would not 1000 be better for finer granularity? > >Certainly it would, but tradeoffs exist.... Most of my systems run with HZ=1000 already, but that is hardly ground for changes to the default. What we need is some pro et contra arguments, including benchmarks. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.