Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2006 14:01:28 -0600
From:      Scott Long <scottl@samsco.org>
To:        danial_thom@yahoo.com
Cc:        freebsd-performance@freebsd.org, Robert Watson <rwatson@freebsd.org>
Subject:   Re: Initial 6.1 questions
Message-ID:  <448DC818.9070100@samsco.org>
In-Reply-To: <20060612195754.72452.qmail@web33306.mail.mud.yahoo.com>
References:  <20060612195754.72452.qmail@web33306.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Danial Thom wrote:
> 
> --- Robert Watson <rwatson@FreeBSD.org> wrote:
> 
> 
>>On Mon, 12 Jun 2006, Danial Thom wrote:
>>
>>
>>>first, why is the default for HZ now 1000? It
>>
>>seems that 900 extra clock 
>>
>>>interrupts aren't a performance enhancement.
>>
>>This is a design change that is in the process
>>of being reconsidered.  I 
>>expect that HZ will not be 1000 in 7.x, but
>>can't tell you whether it will go 
>>back to 100, or some middle ground.  There are
>>a number of benefits to a 
>>higher HZ, not least is more accurate timing of
>>some network timer events. 
>>Since I don't have my hands in the timer code,
>>I can't speak to what the 
>>decision process here is, or when any change
>>might happen, but I do expect to 
>>see some change.
> 
> 
> Will anything break if I tweek this downward?
> 

I run a number of high-load production systems that
do a lot of network and filesystem activity, all
with HZ set to 100.  It has also been shown in the
past that certain things in the network area where
not fixed to deal with a high HZ value, so it's
possible that it's even more stable/reliable with
an HZ value of 100.

My personal opinion is that HZ should gop back down
to 100 in 7-CURRENT immediately, and only be incremented
back up when/if it's proven to be the right thing to do.
And, I say that as someone who (errantly) pushed for the
increase to 1000 several years ago.

Scott




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