From owner-cvs-all@FreeBSD.ORG Mon Jul 25 17:28:01 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5889616A41F; Mon, 25 Jul 2005 17:28:01 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA2D043D46; Mon, 25 Jul 2005 17:27:58 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from localhost (localhost [127.0.0.1]) by people.fsn.hu (Postfix) with ESMTP id 8EB7184418; Mon, 25 Jul 2005 19:27:56 +0200 (CEST) Received: from people.fsn.hu ([127.0.0.1]) by localhost (people.fsn.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 57945-03-3; Mon, 25 Jul 2005 19:27:50 +0200 (CEST) Received: from [172.16.129.72] (japan.t-online.co.hu [195.228.243.99]) by people.fsn.hu (Postfix) with ESMTP id CE7E084408; Mon, 25 Jul 2005 19:27:49 +0200 (CEST) Message-ID: <42E52115.9090709@fsn.hu> Date: Mon, 25 Jul 2005 19:27:49 +0200 From: Attila Nagy User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050725) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <200507251444.j6PEiBH5029191@repoman.freebsd.org> <20050725145111.GA55613@freefall.freebsd.org> <86iryyiz6q.fsf@xps.des.no> In-Reply-To: <86iryyiz6q.fsf@xps.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at fsn.hu Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, "Christian S.J. Peron" , cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 src/lib/bind config.h config.mk src/lib/bind/bind config.h src/lib/bind/isc Makefile src/lib/bind/isc/isc platform.h src/usr.bin/dig Makefile src/usr.bin/host Makefile src/usr.bin/nslookup Makefile ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2005 17:28:01 -0000 Dag-Erling Smørgrav wrote: >>> Disable thread support in BIND. It appears to reduce performance rather >>> than increase it, and seems to be the cause of the memory leaks which some >>> users have reported. >>You happen to know if this is a FreeBSD specific problem? > It isn't.. While this may be true, Linux is sligthly better in this test: http://lists.freebsd.org/pipermail/freebsd-current/2004-December/044565.html It could at least keep nearly the same performance in the UP and MP case. BTW, we saw "huge" performance increase when switched to FreeBSD 5-STABLE (around 5.3, or 5.4, don't know exactly) and from bind 9.2.x to 9.3.1. Huge means about a 100% drop in the CPU usage with the same qps patterns. (~80% -> ~40%) Playing with compiler options (and compilers!) can also give you some extra performance. The best was gcc 3.4, gcc 4.0 did not bring any benefit and icc 8.x was slower than gcc 4.0 generated code. BTW, ISC says that the next major version (9.4) will be about performance. -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Adopt a directory on our free software phone @work: +361 371 3536 server! http://www.fsn.hu/?f=brick cell.: +3630 306 6758