kern.hz="100" stops high-pitched whine
Jack Stone
antennex at hotmail.com
Mon Jul 2 12:43:50 UTC 2007
>From: Chuck Swiger <cswiger at mac.com>
>To: cpghost <cpghost at cordula.ws>
>CC: questions <freebsd-questions at freebsd.org>
>Subject: Re: kern.hz="100" stops high-pitched whine
>Date: Sun, 01 Jul 2007 09:46:19 -0400
>
>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.
>
>--
>-Chuck
A while ago, I noticed someone's kernel config that included:
hertz=2000
which made me wonder where this setting info comes from?
I've been using hertz=1000 however, with my much faster boxes, is this
appropriate now?
Thanks,
Jack
_________________________________________________________________
PC Magazines 2007 editors choice for best Web mailaward-winning Windows
Live Hotmail.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507
More information about the freebsd-questions
mailing list