From owner-freebsd-stable@FreeBSD.ORG Tue Nov 20 11:27:20 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 672E216A417; Tue, 20 Nov 2007 11:27:20 +0000 (UTC) (envelope-from lol@chistydom.ru) Received: from hermes.hw.ru (hermes.hw.ru [80.68.240.91]) by mx1.freebsd.org (Postfix) with ESMTP id 391F613C459; Tue, 20 Nov 2007 11:27:18 +0000 (UTC) (envelope-from lol@chistydom.ru) Received: from [80.68.244.40] (account a_popov@rbc.ru [80.68.244.40] verified) by hermes.hw.ru (CommuniGate Pro SMTP 5.0.13) with ESMTPA id 201504203; Tue, 20 Nov 2007 14:26:43 +0300 Message-ID: <4742C46A.1060701@chistydom.ru> Date: Tue, 20 Nov 2007 14:26:34 +0300 From: Alexey Popov User-Agent: Thunderbird 2.0.0.6 (X11/20070924) MIME-Version: 1.0 To: Kris Kennaway References: <4741905E.8050300@chistydom.ru> <47419AB3.5030008@chistydom.ru> <4741A7DA.2050706@chistydom.ru> <4741DA15.9000308@FreeBSD.org> <47429DB8.7040504@chistydom.ru> <4742ADFE.40902@FreeBSD.org> In-Reply-To: <4742ADFE.40902@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Ivan Voras Subject: Re: 2 x quad-core system is slower that 2 x dual core on FreeBSD 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: Tue, 20 Nov 2007 11:27:20 -0000 Hi Kris Kennaway wrote: >>>>>> CPU states: 9.5% user, 0.0% nice, 82.0% system, 0.5% >>>>>> interrupt, 8.0% idle >>>>> A wild idea that might not help: try reducing kern.hz in >>>>> loader.conf to >>>>> something like 100 and see if something significant changes. >> Usually on PHP backends slow PHP code eats most of the CPU time. I >> have %user much bigger than %system in CPU states. >> But now %system is much bigger than %user and I can conclude that on >> 8-core server FreeBSD consumes more CPU time than PHP. > That is one possibility, but you still need to look at the actual > throughput on these machines before making conclusions about which is > performing better. Can you please provide those numbers for 6.x, 7.x > with ULE and 4BSD on the 4-core and 8-core systems? Ok, here's results of practical research. The following is approximate maximum qps that backends can survive with my workload: 7-STABLE quad ULE 20 7-STABLE quad 4BSD 17 6-STABLE quad 14 6-STABLE dual 21 Linux CentOS 5 quad >50 With best regards, Alexey Popov