<div dir="ltr"><div>Well, i am not having problems, i mean no customer complaints, but we are evaluating a dns platform (infoblox) and by reading their logs it is using bind, everywhere in the net i read "anyone can outperform bind" but using dnsbench (<a href="https://www.grc.com/dns/benchmark.htm">https://www.grc.com/dns/benchmark.htm</a>) the inforblox box always beat my powerdns box and reading the tabular data the culprit is dns cache data, .i.e:<br><br>Infoblox | Min | Avg | Max |Std.Dev|Reliab%|<br> ----------------+-------+-------+-------+-------+-------+<br> - Cached Name | 0.001 | 0.001 | 0.003 | 0.000 | 100.0 |<br> - Uncached Name | 0.031 | 0.074 | 0.292 | 0.055 | 100.0 |<br> - DotCom Lookup | 0.052 | 0.105 | 0.439 | 0.113 | 100.0 |<br> ---<-------->---+-------+-------+-------+-------+-------+<br><br><br> powerdns | Min | Avg | Max |Std.Dev|Reliab%|<br> ----------------+-------+-------+-------+-------+-------+<br> - Cached Name | 0.001 | 0.001 | 0.002 | 0.000 | 100.0 |<br> - Uncached Name | 0.030 | 0.079 | 0.203 | 0.053 | 97.9 | ********* HERE ******<br> - DotCom Lookup | 0.030 | 0.033 | 0.065 | 0.007 | 100.0 |<br> ---<-------->---+-------+-------+-------+-------+-------+<br><br></div>i have a local copy of metronome, that is why im asking about the low cache hit rate (16% as show in metronome) <br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 8, 2016 at 11:11 AM, <span dir="ltr"><<a href="mailto:sthaug@nethelp.no" target="_blank">sthaug@nethelp.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">> Hello to all, i have followed to the letter the performance tunning<br>
> document, this is my recursor.conf:<br>
><br>
> setuid=pdns-recursor<br>
> setgid=pdns-recursor<br>
> daemon=yes<br>
> dont-query=<a href="http://127.0.0.0/8" rel="noreferrer" target="_blank">127.0.0.0/8</a><br>
> local-address=127.0.0.1<br>
> log-common-errors=no<br>
> loglevel=4<br>
> max-cache-entries=4000000<br>
> max-negative-ttl=30<br>
> max-packetcache-entries=4000000<br>
> packetcache-servfail-ttl=30<br>
> server-down-max-fails=16<br>
> quiet=yes<br>
> threads=4<br>
> security-poll-suffix=<br>
> dnssec=off<br>
><br>
> This is running on 2 x quad core 32GB RAM pdns-recursor 4 alpha. As it is<br>
> indicated by the document as i high packet cache hit rate 87% and low cache<br>
> hit rate 16%. Seeing this numbers, should i increase the<br>
> max-packetcache-entries<br>
> value or to lower the max-cache-entries to get better performace? Or am i<br>
> doing good if i keep this values?<br>
<br>
</div></div>Do you have *problems* with you current configuration? If not - why are<br>
you worried about performance?<br>
<br>
It might be interesting to know your queries per second levels. Also, I<br>
highly recommend using the PowerDNS "Graphing as a Service" described<br>
here:<br>
<br>
<a href="http://blog.powerdns.com/2014/12/11/powerdns-graphing-as-a-service/" rel="noreferrer" target="_blank">http://blog.powerdns.com/2014/12/11/powerdns-graphing-as-a-service/</a><br>
<br>
Steinar Haug, AS2116<br>
</blockquote></div><br></div>