[Pdns-users] Performance optimizations in recursor
Miguel Miranda
miguel.mirandag at gmail.com
Fri Apr 8 17:52:58 UTC 2016
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 (https://www.grc.com/dns/benchmark.htm) the inforblox box always
beat my powerdns box and reading the tabular data the culprit is dns cache
data, .i.e:
Infoblox | Min | Avg | Max |Std.Dev|Reliab%|
----------------+-------+-------+-------+-------+-------+
- Cached Name | 0.001 | 0.001 | 0.003 | 0.000 | 100.0 |
- Uncached Name | 0.031 | 0.074 | 0.292 | 0.055 | 100.0 |
- DotCom Lookup | 0.052 | 0.105 | 0.439 | 0.113 | 100.0 |
---<-------->---+-------+-------+-------+-------+-------+
powerdns | Min | Avg | Max |Std.Dev|Reliab%|
----------------+-------+-------+-------+-------+-------+
- Cached Name | 0.001 | 0.001 | 0.002 | 0.000 | 100.0 |
- Uncached Name | 0.030 | 0.079 | 0.203 | 0.053 | 97.9 | ********* HERE
******
- DotCom Lookup | 0.030 | 0.033 | 0.065 | 0.007 | 100.0 |
---<-------->---+-------+-------+-------+-------+-------+
i have a local copy of metronome, that is why im asking about the low cache
hit rate (16% as show in metronome)
On Fri, Apr 8, 2016 at 11:11 AM, <sthaug at nethelp.no> wrote:
> > Hello to all, i have followed to the letter the performance tunning
> > document, this is my recursor.conf:
> >
> > setuid=pdns-recursor
> > setgid=pdns-recursor
> > daemon=yes
> > dont-query=127.0.0.0/8
> > local-address=127.0.0.1
> > log-common-errors=no
> > loglevel=4
> > max-cache-entries=4000000
> > max-negative-ttl=30
> > max-packetcache-entries=4000000
> > packetcache-servfail-ttl=30
> > server-down-max-fails=16
> > quiet=yes
> > threads=4
> > security-poll-suffix=
> > dnssec=off
> >
> > This is running on 2 x quad core 32GB RAM pdns-recursor 4 alpha. As it is
> > indicated by the document as i high packet cache hit rate 87% and low
> cache
> > hit rate 16%. Seeing this numbers, should i increase the
> > max-packetcache-entries
> > value or to lower the max-cache-entries to get better performace? Or am i
> > doing good if i keep this values?
>
> Do you have *problems* with you current configuration? If not - why are
> you worried about performance?
>
> It might be interesting to know your queries per second levels. Also, I
> highly recommend using the PowerDNS "Graphing as a Service" described
> here:
>
> http://blog.powerdns.com/2014/12/11/powerdns-graphing-as-a-service/
>
> Steinar Haug, AS2116
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20160408/8b09adf8/attachment.html>
More information about the Pdns-users
mailing list