Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2004 16:27:51 -0700
From:      "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
To:        FreeBSD questions list <freebsd-questions@freebsd.org>
Subject:   HZ kernel option
Message-ID:  <20F05A1A-3CDE-11D9-BC47-003065A70D30@shire.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20F05A1A-3CDE-11D9-BC47-003065A70D30>