From owner-freebsd-performance@FreeBSD.ORG Thu Mar 15 22:20:56 2007 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 2BE3316A400; Thu, 15 Mar 2007 22:20:56 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 1C16113C48A; Thu, 15 Mar 2007 22:20:56 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id ED7D61A4DB0; Thu, 15 Mar 2007 15:20:55 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4BE245187D; Thu, 15 Mar 2007 18:20:55 -0400 (EDT) Date: Thu, 15 Mar 2007 18:20:55 -0400 From: Kris Kennaway To: Marcelo Gardini do Amaral Message-ID: <20070315222054.GA89557@xor.obsecurity.org> References: <20070315213731.GI82003@registro.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070315213731.GI82003@registro.br> User-Agent: Mutt/1.4.2.2i Cc: freebsd-performance@freebsd.org, rwatson@FreeBSD.org, Peter_Losher@isc.org, jad@nominet.org.uk Subject: Re: MFC of UDP socket performance test 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: Thu, 15 Mar 2007 22:20:56 -0000 On Thu, Mar 15, 2007 at 06:37:31PM -0300, Marcelo Gardini do Amaral wrote: > Hi, > > I repeated that performance test done with bind [1] using now Robert's > MFC [2]. Another tweak that I was supposed to do was to use libthr > instead of libpthread (via libmap.conf) and build bind with threads > option. In the new test I did this. > > I used the same methodology, same zone file and same server hardware > that I used in [3]. > > > Server: Dell 1750 Xeon 3.06GHz > Bind 9.4.0 and NSD 3.0.4 > > Client: queryperf.c,v 1.8.192.3 2005/10/29 00:21:12 > Dell Optiplex GX620 > 1M NS queries > > > bind 9.4.0 bind 9.4.0 NSD 3.0.4 > (no threads) (threads/libthr) 1 server forked > ------------ --------------- --------------- > OS / NIC em bge em bge em bge > -------- -- --- -- --- -- --- > > 6.2-RELEASE-SMP 21258 12855 - - - - > > 6.2-STABLE-SMP 21325 12538 - - - - > (sosend_copyin patch) > > 6.2-STABLE-SMP 21631 12553 28512 12922 31675 12673 > (sosend_dgram patch) > > > > Conclusions: > > - I couldn't notice any difference using those patches. Maybe my test > set is not adequate for that. > > - Bind works better with libthr. > > - "bge" NIC still doesn't work well for DNS servers on FreeBSD 6.2, as > used to work on FreeBSD 4.11. Even "em" NIC does not have the same > performance that used to has on 4.11. I'll try to take a look at this benchmark on the weekend to see if I can spot any issues. Kris