Am I right that you use dnsperf by Nominum?<br>It is used for testing authoritative servers. But Unbound is recursive-only. In this case you should use resperf instead.<br><br><div class="gmail_quote">2010/3/26  <span dir="ltr"><<a href="mailto:daguilar@arnet.com.ar">daguilar@arnet.com.ar</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi, I´m trying to compile unbound to get the best performance and I
cannot compiled to work in Forked Operation. <br>First I do:<br><br>./configure --without-pthreads --without-solaris-threads
--disable-sha2<br>Ok!<br><br>and then <br><br>make<br><br>output:<br>...<br>...<br>validator/val_neg.c:1164: undefined
reference to `pthread_rwlock_unlock'<br>build/validator/.libs/val_neg.o(.text+0x1b74):validator/val_neg.c:1150:
more undefined references to `pthread_rwlock_unlock' follow<br>collect2:
ld returned 1 exit status<br><br>any idea about this issue?<br><br>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:<br><br>UNBOUND 1.4.3<br><br>unbonund.conf <br><br>server:<br>        verbosity: 1<br>        num-threads: 4<br>        interface: 0.0.0.0<br>        interface: ::0<br>
        do-ip4: yes<br>        do-ip6: no<br>        do-udp: yes<br>        do-tcp: yes<br>        outgoing-range: 200<br>        msg-cache-slabs: 4<br>        rrset-cache-slabs: 4<br>        infra-cache-slabs: 4<br>        key-cache-slabs: 4<br>
        rrset-cache-size: 500m<br>        msg-cache-size: 250m<br>        so-rcvbuf: 8m<br>        access-control: <a href="http://127.0.0.0/8" target="_blank">127.0.0.0/8</a>
allow<br>        access-control:
<a href="http://192.168.0.0/16" target="_blank">192.168.0.0/16</a> allow<br>       
access-control:  <----about 20 acc. contol more with  public
pools<br>        access-control: ::1
allow<br>        root-hints:
/usr/local/etc/unbound/named.root<br>        hide-identity: yes<br>        hide-version: yes<br>        num-queries-per-thread:
16384<br>remote-control:<br>       
control-enable: yes<br>       
control-interface: 0.0.0.0<br>       
control-port: 953<br>       
server-key-file: "/usr/local/etc/unbound/unbound_server.key"<br>        server-cert-file:
"/usr/local/etc/unbound/unbound_server.pem"<br>        control-key-file:
"/usr/local/etc/unbound/unbound_control.key"<br>        control-cert-file:
"/usr/local/etc/unbound/unbound_control.pem"<br><br>dnsperf
-d input.small1 -s 200.45.48.226 -q 1500 -H 10 -1<br><br>[root@est-dnsl2c-02 dnsperf-1.0.0.1-1]# cat input.small1 |wc -l<br>1000000<br><br>[Status] Testing complete<br><br>Statistics:<br><br>  Parse input file:     once<br>
 
Ended due to:         reaching end
of file<br><br>  Queries
sent:         1000000 queries<br>  Queries completed:    852416 queries<br> 
Queries lost:         147584
queries<br><br>  Avg request size:     35
bytes<br>  Avg response size:    211 bytes<br><br>  Percentage completed:  85.24%<br>  Percentage
lost:       14.76%<br><br>  Started
at:           Fri Mar 26
14:42:20 2010<br>  Finished
at:          Fri Mar 26
14:51:03 2010<br>  Ran
for:             
523.517801 seconds<br><br>  Queries per second:  
1628.246448 qps<br><br>Latency: Min: 0.000000 s; Max: 5.044509 s; Avg:
0.043928 s; StdDev: 0.337257<br><br>Response latency distribution
(total 852416 responses):<br><br>Latency   Success 
Fail |<br><    0.100s830234  1148
|###########################################################<br><    0.200s   627    39 |<br><    0.300s   984    52 |<br><    0.400s   987    67 |<br><    0.500s   951    51 |<br><    0.600s   909    56 |<br>
<    0.700s   706    59 |<br><    0.800s   766    59 |<br><    0.900s   730    73 |<br><    1.000s   767    67 |<br>>=   1.000s 11605  1479 |<br><br>Legend:<br><br>##### = success responses (RCODE was NOERROR or NXDOMAIN)<br>
----- =
failure responses (any other RCODE)<br>_______________________________________________<br>
Unbound-users mailing list<br>
<a href="mailto:Unbound-users@unbound.net">Unbound-users@unbound.net</a><br>
<a href="http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users" target="_blank">http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>--<br>AP<br>