Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2004 09:05:45 -0500 (EST)
From:      Robert Watson <rwatson@freebsd.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        arch@freebsd.org
Subject:   Re: HEADSUP:  HZ=1000 by default on i386
Message-ID:  <Pine.NEB.3.96L.1041104090425.64869Q-100000@fledge.watson.org>
In-Reply-To: <39210.1099557885@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1041104090425.64869Q-100000>