[Unbound-users] Compilation Fails for Forked Operation and Poor unbound performance

daguilar at arnet.com.ar daguilar at arnet.com.ar
Fri Mar 26 18:22:17 UTC 2010



Hi, I´m trying to compile unbound to get the best performance and I
cannot compiled to work in Forked Operation. 
First I do:

./configure --without-pthreads --without-solaris-threads
--disable-sha2
Ok!

and then 

make

output:
...
...
validator/val_neg.c:1164: undefined
reference to `pthread_rwlock_unlock'
build/validator/.libs/val_neg.o(.text+0x1b74):validator/val_neg.c:1150:
more undefined references to `pthread_rwlock_unlock' follow
collect2:
ld returned 1 exit status

any idea about this issue?

On the othe hand I run restperf on another server on the same LAN and
cannot obtain more than 1628 qps output  7 times less than Bind 9
(11400 qps) running on the same hardware. Do you have any recommendation
to improve this? He is my unbound.conf and the resperf results:

UNBOUND 1.4.3

unbonund.conf 

server:
        verbosity: 1
        num-threads: 4
        interface: 0.0.0.0
        interface: ::0
        do-ip4: yes
        do-ip6: no
        do-udp: yes
        do-tcp: yes
        outgoing-range: 200
        msg-cache-slabs: 4
        rrset-cache-slabs: 4
        infra-cache-slabs: 4
        key-cache-slabs: 4
        rrset-cache-size: 500m
        msg-cache-size: 250m
        so-rcvbuf: 8m
        access-control: 127.0.0.0/8
allow
        access-control:
192.168.0.0/16 allow
       
access-control:  <----about 20 acc. contol more with  public
pools
        access-control: ::1
allow
        root-hints:
/usr/local/etc/unbound/named.root
        hide-identity: yes
        hide-version: yes
        num-queries-per-thread:
16384
remote-control:
       
control-enable: yes
       
control-interface: 0.0.0.0
       
control-port: 953
       
server-key-file: "/usr/local/etc/unbound/unbound_server.key"
        server-cert-file:
"/usr/local/etc/unbound/unbound_server.pem"
        control-key-file:
"/usr/local/etc/unbound/unbound_control.key"
        control-cert-file:
"/usr/local/etc/unbound/unbound_control.pem"

dnsperf
-d input.small1 -s 200.45.48.226 -q 1500 -H 10 -1

[root at est-dnsl2c-02 dnsperf-1.0.0.1-1]# cat input.small1 |wc -l
1000000

[Status] Testing complete

Statistics:

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

  Queries
sent:         1000000 queries
  Queries completed:    852416 queries
 
Queries lost:         147584
queries

  Avg request size:     35
bytes
  Avg response size:    211 bytes

  Percentage completed:  85.24%
  Percentage
lost:       14.76%

  Started
at:           Fri Mar 26
14:42:20 2010
  Finished
at:          Fri Mar 26
14:51:03 2010
  Ran
for:             
523.517801 seconds

  Queries per second:  
1628.246448 qps

Latency: Min: 0.000000 s; Max: 5.044509 s; Avg:
0.043928 s; StdDev: 0.337257

Response latency distribution
(total 852416 responses):

Latency   Success 
Fail |
<    0.100s830234  1148
|###########################################################
<    0.200s   627    39 |
<    0.300s   984    52 |
<    0.400s   987    67 |
<    0.500s   951    51 |
<    0.600s   909    56 |
<    0.700s   706    59 |
<    0.800s   766    59 |
<    0.900s   730    73 |
<    1.000s   767    67 |
>=   1.000s 11605  1479 |

Legend:

##### = success responses (RCODE was NOERROR or NXDOMAIN)
----- =
failure responses (any other RCODE)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20100326/0a4bec50/attachment.htm>


More information about the Unbound-users mailing list