[dnsdist] dnsdist performance

Gentian Bajraktari voipstar at gmail.com
Mon Aug 12 06:11:45 UTC 2019


Hi Klaus


i have tried with adding listeners as well as adding same Bind server
again, but results are the same,
its very strange, i get better results hitting directly one Bind server
rather then Dnsdist with 8 listerners and 8 servers ( 4 x Bind1 and 4x
Bind2), and i have no other logic/routing/cache configured on dnsdist,
just the listeners and servers.

what are you using for load testing? resperf?

rg,

Gentian


On Sat, 10 Aug 2019 at 22:30, Klaus Darilion <klaus.mailinglists at pernau.at>
wrote:

> Am 08.08.2019 um 10:20 schrieb Gentian Bajraktari:
> > Dear Dnsdist community,
> >
> > we are trying to setup dnsdist as a loadbalancer for 2 bind recursive
> > cache only servers,
> >
> > we have done a very simple setup:
> > addLocal("DNSDIST_IP")
> > newServer({address="BIND_IP1"})
> > newServer({address=" BIND_IP2"})
> > setServerPolicy(roundrobin)
> >
> > 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.
> >
> > 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.
> >
> > OS is Centos7 in all servers, tweaked all settings for file limits, udp
> > connections etc.
> >
> > any thoughts on what we can do? maybe resperf is not the tool to test
> > this? do you have some suggetions on how we can test and make sure we
> > are doing the right thing?
>
> I had similar results. Starting 4 listening threads and 4 receivers
> threads (by adding the same backend 4 times) boosted my performance -
> almost linear.
>
> If it still does not work your should post your config (and first test
> without any rules to avoid performance issues because of rules)
>
> regards
> Klaus
> _______________________________________________
> dnsdist mailing list
> dnsdist at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/dnsdist
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20190812/2dc3bf2c/attachment.html>


More information about the dnsdist mailing list