From owner-freebsd-stable@FreeBSD.ORG Thu Oct 4 19:18:32 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 B132016A420 for ; Thu, 4 Oct 2007 19:18:32 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: from corpmail.itlegion.ru (corpmail.itlegion.ru [84.21.226.211]) by mx1.freebsd.org (Postfix) with SMTP id DB3DD13C4CB for ; Thu, 4 Oct 2007 19:18:31 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: (qmail 28714 invoked from network); 4 Oct 2007 23:18:30 +0400 Received: from unknown (HELO Artem) (192.168.0.12) by 84.21.226.211 with SMTP; 4 Oct 2007 23:18:30 +0400 X-AntiVirus: Checked by Dr.Web [version: 4.44, engine: 4.44.0.09170, virus records: 246725, updated: 4.10.2007] Message-ID: <007b01c806bb$55c935c0$0c00a8c0@Artem> From: "Artem Kuchin" To: "Matthew Dillon" , "cpghost" References: <02d401c805cb$abf59ec0$0c00a8c0@Artem><200710041232.l94CWd6W056143@lurza.secnetix.de><20071004143944.GA46491@nowhere><009201c8069d$2f3edc20$0c00a8c0@Artem> <20071004180522.3a724868@epia-2.farid-hajji.net> <200710041852.l94Iq3Db021957@apollo.backplane.com> Date: Thu, 4 Oct 2007 23:18:22 +0400 Organization: IT Legion MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1251"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Cc: freebsd-stable@freebsd.org, Craig Boston 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 19:18:32 -0000 > effect. I would not go under 100, though. I personally believe > that a default of 1000 is ridiculously high, especially on a SMP > system. Nuts! Everybody has his own opinion on this matter. Any idea how to actually build syntetic but close to real benchmark for this? For example: Usual web server does: 1) forks 2) reads a bunch of small files from disk for some time 3) forks some cgi scripts 4) dies If i write a test in C doing somthing like this and run very many of then is parallel for, say, 1 hour and then count how many interation have been done with HZ=100 and with HZ=1000 will it be a good test for this? -- Regards Artem