[dnsdist] dnsdist performance

Remi Gacogne remi.gacogne at powerdns.com
Thu Aug 8 13:22:38 UTC 2019


Please keep replying to the mailing-list instead of replying to me
directly, as your answers might help others. I have not included your
message because I'm not sure what you expected to share publicly, but we
only do non-public support for customers [1].

Would you consider sending metrics to our public metronome server [2]
so we understand what's the limiting factor during your tests? You only
need to add a line like this one to your dnsdist configuration:

carbonServer("37.252.122.50:2003",
"put-the-name-you-want-to-display-here", 5)

This will only send some metrics without any private information and is
very useful to understand where the bottleneck may be.

[1]:
https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/
[2]: https://metronome1.powerdns.com/

Best regards,

Remi

> On Thu, 8 Aug 2019 at 10:52, Remi Gacogne <remi.gacogne at powerdns.com
> <mailto:remi.gacogne at powerdns.com>> wrote:
> 
>     Hi Gentian,
> 
>     On 8/8/19 10:20 AM, Gentian Bajraktari wrote:
>     > but when we test with resperf (from dnsperf tool), the results are
>     very
>     > bad for DNSDIST, around 5-15K QPS , while when we test directly to one
>     > of BIND ip addresses the QPS goes up to 50-60Qps.
> 
>     Those are very low numbers, for dnsdist but also for Bind (assuming you
>     mean 50-60k qps), on what hardware are you testing this? Is this a VM?
> 
>     > we have tried both rpm install of dnsdist, compiling from source and
>     > even comiling the concur version but all with similar results, ie when
>     > resperf tests go through dnsdist the results are much lower in
>     terms of qps.
> 
>     Knowing the exact version of dnsdist would help a lot.
> 
>     Did you read the tuning guide [1]? At the very least you should set
>     setMaxUDPOutstanding(65535). You are also using a single thread for
>     receiving UDP queries which might not be what you want, although you
>     should get much more than 15k qps even with a single thread.
> 
>     > OS is Centos7 in all servers, tweaked all settings for file
>     limits, udp
>     > connections etc.
> 
>     Did you disable any firewall? Remove any connection tracking modules? It
>     would be very useful to know exactly what you tweaked.
> 
>     [1]: https://dnsdist.org/advanced/tuning.html
> 
>     Best regards,
>     -- 
>     Remi Gacogne
>     PowerDNS.COM BV - https://www.powerdns.com/
> 
>     _______________________________________________
>     dnsdist mailing list
>     dnsdist at mailman.powerdns.com <mailto:dnsdist at mailman.powerdns.com>
>     https://mailman.powerdns.com/mailman/listinfo/dnsdist
> 


-- 
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20190808/09dfca51/attachment.sig>


More information about the dnsdist mailing list