default HZ value in 5.2.1
Poul-Henning Kamp
phk at phk.freebsd.dk
Fri Jul 9 09:26:58 PDT 2004
In message <40EEC665.5010608 at 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 at 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.
More information about the freebsd-current
mailing list