From owner-freebsd-performance@FreeBSD.ORG Fri Apr 4 13:31:52 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3D611065677 for ; Fri, 4 Apr 2008 13:31:52 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 29D708FC26; Fri, 4 Apr 2008 13:31:50 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47F62DC5.5010703@FreeBSD.org> Date: Fri, 04 Apr 2008 15:31:49 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Attila Nagy References: <475B0F3E.5070100@fsn.hu> <479DFE74.8030004@fsn.hu> <479F02A7.9020607@fsn.hu> <47F4D0DD.2040809@fsn.hu> <47F4D9F2.9070200@moneybookers.com> <47F4E1A1.2020500@fsn.hu> In-Reply-To: <47F4E1A1.2020500@fsn.hu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "JINMEI Tatuya / 神明"@FreeBSD.ORG, =?UTF-8?B?6YGU5ZOJ?= , freebsd-performance@freebsd.org, bind-users@isc.org, Stefan Lambrev Subject: Re: Bad bind performance with FreeBSD 7 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2008 13:31:52 -0000 Attila Nagy wrote: > On 2008.04.03. 15:21, Stefan Lambrev wrote: >> Greetings, >> >> Attila Nagy wrote: >>> On 01/29/08 11:40, Attila Nagy wrote: >>>> ps: I have an other problem. I've recently switched from a last year >>>> 6-STABLE to 7-STABLE and got pretty bad results on the same machine >>>> with the same bind (9.4). >>>> The graphs are here: >>>> http://picasaweb.google.com/nagy.attila/20080129Fbsd6vs7Bind >>> The problem still persists and now I can provide some profiling info, >>> made by HWPMC. >>> >>> >> Sorry if you already answer this question, but at least I can find it >> in the thread. >> What scheduler are you using on RELENG_7 ? >> Did you check with both schedulers (ule/4bsd) to see which one works >> better for you? >> Also are you sure that you service the same number of requests - I see >> that the 6.x image shows CPU usage from >> Aug 2007 and 7.x image is from Jan 2008 ... is it possible, that you >> have more requests and that's why your CPU usage increased? > As for the pictures: GENERIC kernels, so 4BSD on both versions (6 and 7). > As for the profiling info: 4BSD on 6, ULE on 7 (because both were > upgraded yesterday, and ULE is now default in RELENG_7) > > The pictures are from the same timeframe (what aug 2007 refers to is the > time when the OS was compiled), the two machines were behind a per > packet load balancer, so yes: at least in pps, they've got exactly the > same traffic (of course it was possible be that one machine could serve > the answer directly from the cache, while the other had to go out, but > I've started them at the same time, so I think this effect was minimized). User time is much greater so named is doing much more work for some reason. It doesn't appear that this is a kernel problem. Verify that the config is identical, and you are not overloading it (bind doesn't scale beyond 4 threads). Kris