Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jul 2004 18:26:50 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        current@freebsd.org
Subject:   Re: default HZ value in 5.2.1 
Message-ID:  <25554.1089390410@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 09 Jul 2004 12:23:01 EDT." <40EEC665.5010608@mac.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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