From owner-freebsd-performance@FreeBSD.ORG Sat Nov 18 13:52:41 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3CB5F16A407; Sat, 18 Nov 2006 13:52:41 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46F9F43D46; Sat, 18 Nov 2006 13:52:37 +0000 (GMT) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.62) with esmtp (envelope-from ) id <1GlQcY-0001IB-Qy>; Sat, 18 Nov 2006 14:52:38 +0100 Received: from e178021011.adsl.alicedsl.de ([85.178.21.11] helo=[192.168.1.128]) by inpost2.zedat.fu-berlin.de (Exim 4.62) with esmtpsa (envelope-from ) id <1GlQcY-00054M-N1>; Sat, 18 Nov 2006 14:52:38 +0100 Message-ID: <455F1021.6040004@mail.zedat.fu-berlin.de> Date: Sat, 18 Nov 2006 14:52:33 +0100 From: "O. Hartmann" User-Agent: Thunderbird 1.5.0.8 (X11/20061110) MIME-Version: 1.0 To: Marcelo Gardini do Amaral References: <20061030192702.GG76994@registro.br> <20061111091844.I63959@fledge.watson.org> <20061116164053.GR57732@registro.br> In-Reply-To: <20061116164053.GR57732@registro.br> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.21.11 X-Mailman-Approved-At: Sat, 18 Nov 2006 13:53:41 +0000 Cc: freebsd-performance@freebsd.org, Robert Watson Subject: Re: DNS Performance Numbers 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: Sat, 18 Nov 2006 13:52:41 -0000 Marcelo Gardini do Amaral wrote: >> FYI: In response to feedback from ISC, there are UDP transmit optimizations >> in FreeBSD 7.x. These have a relatively minor performance impact for >> single-threaded applications, but in the special case of BIND accessing a >> single UDP socket from many different threads, it significantly improves >> performance. I'll look at MFC'ing these to 6.x after 6.2-RELEASE >> (especially if reminded in a month or so :-). >> >> With regard to the possible bge issue -- I would encourage you to test >> using a 7.x kernel, ideally with all the debugging disabled, and see if >> there's been any improvement (or regression). There has been a lot of >> change in these areas, and it would be helpful to know what, if any, impact >> this has had. >> > > > I made some tests using 7.x with all the debugging disabled: > > queries / s > > Int bind (d_t) bind (e_t) nsd (1_s) nsd (2_s) > --- ---------- ---------- --------- --------- > > bge 15439 14733 12910 10946 > em 37655 34092 42411 41974 > > > d_t: disable threads > e_t: enable threads (libpthread) > 1_s: 1 server forked > 2_s: 2 server forked > > Bind: 9.2.3 > NSD: 3.0.2 > em: Dell 1950, Intel NIC, SMP kernel > bge: HP Blade BL35p, Broadcom NIC, SMP kernel > Client: Dell 1750, Intel NIC, FreeBSD 4.11 UP, running queryperf > > > > The results are very good for em NIC, better than my numbers [1] with > FreeBSD 6.1 some months ago. So I guess that we had an improvement :-) > > But I got the same poor performance with the bge interface. The > problem remains. > > [1] http://lists.freebsd.org/pipermail/freebsd-net/2006-September/011767.html > > Cheers, > Marcelo > > These results looks very puzzling to me. As far as I know, multithreading and/or multiprocessors should perform better anyway than a single threaded application within other applications on an UP box. Strange results ...And more strange than this is the result taken from the FBSD 4.11 box! Is there an explanation why FreeBSD performs so bad beyond 4.X and on SMP boxes? Please show me threads ... Thanks and regards, Oliver