From owner-freebsd-questions@FreeBSD.ORG Tue Nov 23 05:21:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B86FE16A4CE for ; Tue, 23 Nov 2004 05:21:59 +0000 (GMT) Received: from ms-smtp-02-eri0.southeast.rr.com (ms-smtp-02-lbl.southeast.rr.com [24.25.9.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 358F843D45 for ; Tue, 23 Nov 2004 05:21:59 +0000 (GMT) (envelope-from jason@ec.rr.com) Received: from [192.168.1.100] (cpe-065-184-201-054.ec.rr.com [65.184.201.54]) iAN5Lt4R004398; Tue, 23 Nov 2004 00:21:56 -0500 (EST) Message-ID: <41A2C97F.9020109@ec.rr.com> Date: Tue, 23 Nov 2004 00:24:15 -0500 From: jason User-Agent: Mozilla Thunderbird 0.8 (X11/20041025) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Chad Leigh -- Shire.Net LLC" References: <20F05A1A-3CDE-11D9-BC47-003065A70D30@shire.net> In-Reply-To: <20F05A1A-3CDE-11D9-BC47-003065A70D30@shire.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: FreeBSD questions list Subject: Re: HZ kernel option X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 05:21:59 -0000 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.