Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jul 2007 14:06:53 +0200
From:      cpghost <cpghost@cordula.ws>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        questions <freebsd-questions@freebsd.org>
Subject:   Re: kern.hz="100" stops high-pitched whine
Message-ID:  <4688EA5D.5010905@cordula.ws>
In-Reply-To: <4687B02B.7080106@mac.com>
References:  <46878C1C.9040907@cordula.ws> <4687B02B.7080106@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Swiger wrote:
> cpghost wrote:
>> Are there any reasons NOT changing kern.hz from the
>> default 1000 back to 100? With my typical mix of
>> desktop apps (EPIA) and networking / server (Soekris),
>> everything seems to be running just as smoothly with
>> 100 Hz than with 1000 Hz (testing now for two weeks
>> without problems). Even playing videos with mplayer
>> on the EPIA doesn't look different in any way.
>>
>> Is it okay to stay with 100 Hz with this type of
>> low-speed CPU/boards? Or are there some compelling
>> reasons not to?
>
> Actually, many Unix systems ran with HZ=100 until a few years ago, 
> about when Gb ethernet and CPUs became common.  A slower machine like 
> the EPIA boxes do quite well with HZ=100/200/250 or so...HZ=1000 is 
> better if you have a fast box running lots of concurrent processes, 
> and/or are proxying or routing network traffic where the difference 
> between 10 ms and 1ms of latency adds up and/or effects other systems.
>

Ah, thank you! It definitely works very well here with HZ=100. :)

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4688EA5D.5010905>