default HZ value in 5.2.1

Chuck Swiger cswiger at mac.com
Fri Jul 9 09:23:20 PDT 2004


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....

-- 
-Chuck



More information about the freebsd-current mailing list