Re: Poor performance bind9

This is a discussion on Re: Poor performance bind9 within the Bind Users forums, part of the DNS and Related Forums category; Dirk Janssen <dirk@no.netspam.de> wrote: > Hi, > I've compiled in threads to bind9.3....


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-08-2004
phn@icke-reklam.ipsec.nu
 
Posts: n/a
Default Re: Poor performance bind9

Dirk Janssen <dirk@no.netspam.de> wrote:
> Hi,


> I've compiled in threads to bind9.3.0 (src from isc not ports) using a dual
> procssor machine (2xIntel XEON) with 5.3-STABLE and I encounter serious
> performance problems (using queryperf from bind contribs):


> ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++
> Parse input file: once
> Ended due to: reaching end of file


> Queries sent: 100000 queries
> Queries completed: 100000 queries
> Queries lost: 0 queries


> Percentage completed: 100.00%
> Percentage lost: 0.00%


> Started at: Wed Dec 8 12:54:37 2004
> Finished at: Wed Dec 8 12:57:58 2004
> Ran for: 201.589260 seconds


> Queries per second: 496.058173 qps
> ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++


> When I compile bind without threads, the result is realistic and nearly
> 30x better:


> ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++
> Parse input file: once
> Ended due to: reaching end of file


> Queries sent: 100000 queries
> Queries completed: 100000 queries
> Queries lost: 0 queries


> Percentage completed: 100.00%
> Percentage lost: 0.00%


> Started at: Wed Dec 8 12:50:51 2004
> Finished at: Wed Dec 8 12:50:59 2004
> Ran for: 7.819249 seconds


> Queries per second: 12788.951982 qps
> ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++


> Can anyone explain what's the problem here? Is this a issue of bind9 or of
> freebsd? Any suggestions how I can use the two processors of my box
> without running two (non multithreading) instances of bind listening on
> different IPs?


> Regards,


> Dirk


What is your compile and run options ?

I have :
CC = gcc -pthread
CFLAGS = -g -O2
LDFLAGS =
STD_CINCLUDES =
STD_CDEFINES = -D_THREAD_SAFE
STD_CWARNINGS = -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat

named -t /var/named -c /named.conf -u bind -n 2

using freebsd 4.7 with dual
CPU: Pentium III/Pentium III Xeon/Celeron (1266.25-MHz 686-class CPU)

Started at: Wed Dec 8 17:13:45 2004
Finished at: Wed Dec 8 17:13:48 2004
Ran for: 3.109145 seconds

Queries per second: 2701.707383 qps

(About 100MB zones in the server)




--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:16 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0