I have attached results from resperf ( latest compiled, 2.3.1) and the
configuration file (dnsdist.conf)



On Sat, 10 Aug 2019 at 22:30, Klaus Darilion <klaus.mailingli...@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@mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/dnsdist
>
#/usr/local/bin/resperf -s DNSDIST_IP -d queryfile-example-current -C 10000 -m 
200000 -q 200000
DNS Resolution Performance Testing Tool
Version 2.3.1

[Status] Command line: resperf -s DNSDIST_IP -d queryfile-example-current -C 
10000 -m 200000 -q 200000
[Status] Sending
[Status] Reached 200000 outstanding queries
[Status] Waiting for more responses
[Status] Testing complete

Statistics:

  Queries sent:         490163
  Queries completed:    373610
  Queries lost:         116553
  Response codes:       NOERROR 276271 (73.95%), SERVFAIL 3765 (1.01%), 
NXDOMAIN 93574 (25.05%)
  Run time (s):         62.149292
  Maximum throughput:   42032.000000 qps
  Lost at that point:   0.78%


# /usr/local/bin/resperf -s BIND2_IP -d queryfile-example-current -C 10000 -m 
200000 -q 200000
DNS Resolution Performance Testing Tool
Version 2.3.1

[Status] Command line: resperf -s BIND2_IP -d queryfile-example-current -C 
10000 -m 200000 -q 200000
[Status] Sending
[Status] Reached 200000 outstanding queries
[Status] Waiting for more responses
[Status] Testing complete

Statistics:

  Queries sent:         516511
  Queries completed:    379883
  Queries lost:         136628
  Response codes:       NOERROR 279796 (73.65%), SERVFAIL 5373 (1.41%), 
NXDOMAIN 94714 (24.93%)
  Run time (s):         62.604170
  Maximum throughput:   44166.000000 qps
  Lost at that point:   0.00%

Attachment: dnsdist.conf
Description: Binary data

_______________________________________________
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist

Reply via email to