From owner-freebsd-stable@FreeBSD.ORG Thu Oct 4 23:27:25 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B433F16A418 for ; Thu, 4 Oct 2007 23:27:25 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 45D7C13C46E for ; Thu, 4 Oct 2007 23:27:25 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 23823 invoked by uid 399); 4 Oct 2007 23:27:23 -0000 Received: from localhost (HELO slave.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 4 Oct 2007 23:27:23 -0000 X-Originating-IP: 127.0.0.1 Date: Thu, 4 Oct 2007 16:27:20 -0700 (PDT) From: Doug Barton To: Artem Kuchin In-Reply-To: <02d401c805cb$abf59ec0$0c00a8c0@Artem> Message-ID: References: <02d401c805cb$abf59ec0$0c00a8c0@Artem> X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: Quation about HZ kernel option X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2007 23:27:25 -0000 On Wed, 3 Oct 2007, Artem Kuchin wrote: > Hello! > > What value of HZ option would you recommend for a hosting (web) server > with a lot of processes (about 900) and polling off (as decided from > previous discussion polling is useless in this situation). Is this an SMP system? If so you'd probably be well served by testing the latest 7.0-current (which will soon be a beta for 7.0-release) with the ULE scheduler. That's likely to have more benefit for you than changing HZ, although setting it to 100 is probably going to be better than 1000 for reasons others have already mentioned. hth, Doug -- This .signature sanitized for your protection