Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2004 00:24:15 -0500
From:      jason <jason@ec.rr.com>
To:        "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
Cc:        FreeBSD questions list <freebsd-questions@freebsd.org>
Subject:   Re: HZ kernel option
Message-ID:  <41A2C97F.9020109@ec.rr.com>
In-Reply-To: <20F05A1A-3CDE-11D9-BC47-003065A70D30@shire.net>
References:  <20F05A1A-3CDE-11D9-BC47-003065A70D30@shire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Chad Leigh -- Shire.Net LLC wrote:

> Hi
>
> Ok, I am trying to get a feel for the "HZ" option in the 5.3 
> (RELENG_5) kernel config.
>
> # The granularity of operation is controlled by the kernel option HZ 
> whose
> # default value (100) means a granularity of 10ms (1s/HZ).
> options         HZ=100
>
> For a machine that is running as a server, running apache, roxen, 
> exim, php, some java (server stuff), perl, and then ssh command line 
> stuff, what is a general recommendation for this parameter?  One of 
> the docs mentions that for some network stuff like dummynet, 
> increasing this (making the quantum slice smaller) can give better 
> performance.  Can that be extrapolated to general network server stuff 
> like apache, roxen, exim, etc?
>
> What have people found out in playing with this???
>
> Thanks
> Chad
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
>
The default is now 1000.  If you are using this for device polling, 1000 
is what you want for 100mb, 10000 for 1gb.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A2C97F.9020109>