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....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |