[Pdns-users] Performance optimizations in recursor

sthaug at nethelp.no sthaug at nethelp.no
Fri Apr 8 17:11:43 UTC 2016


> 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


More information about the Pdns-users mailing list