HEADSUP: HZ=1000 by default on i386

Robert Watson rwatson at freebsd.org
Thu Nov 4 06:06:45 PST 2004


On Thu, 4 Nov 2004, Poul-Henning Kamp wrote:

> We increasingly need better granularity in our sleep/wakeup calls and
> things like device polling and trafic shaping needs higher granularity
> in particular. 
> 
> So pending any really good arguments to the contrary I plan to increase
> HZ to 1000 on i386 this weekend. 

I don't object to increasing HZ, but will note that it results in a slight
increase in overhead relative to lower values on the same hadware.  It was
observed to me, however, that with modern CPUs, running HZ ten times
faster still results in a less overhead than on older processors with the
slower HZ, so... :-)

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Principal Research Scientist, McAfee Research


> 
> You can still define any HZ value you like in your kernel config file
> or even set it from the loader.
> 
> -- 
> 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.
> _______________________________________________
> freebsd-arch at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"
> 



More information about the freebsd-arch mailing list