[180088] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Measuring DNS Performance & Graphing Logs

daemon@ATHENA.MIT.EDU (Jared Mauch)
Thu May 21 12:19:32 2015

X-Original-To: nanog@nanog.org
From: Jared Mauch <jared@puck.nether.net>
In-Reply-To: <94430b5d403e21318566598e6a2c7a79@thefnf.org>
Date: Thu, 21 May 2015 12:17:27 -0400
To: charles@thefnf.org
Cc: nanog@nanog.org
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org


> On May 21, 2015, at 12:00 PM, charles@thefnf.org wrote:
>=20
>> can u suggest some suitable tools that i can measure the performance =
of the
>> dns servers?
>=20
> What sort of performance? What metrics are you trying to track? Please =
provide more details about exactly what you want.
> That will help us give you very specific suggestions. (We provide =
advice for free, have very busy schedules, the more specific
> you are the better).

At the recent DNS-OARC meeting there was an interesting discussion about =
a new tool called DNSDIST.  It=E2=80=99s part of PowerDNS and there is =
also a independent tar one can fetch.

What is interesting about it is it can report on a lot of data about the =
performance of your DNS servers.   Some people use a load balancer, and =
this will do that but be application aware and can easily route certain =
types of queries to another server.  (e.g.: arpa requests to dedicated =
servers, same as domains that may be used/abused).

It provides realtime graphs of CPU usage and query rates as well as =
average response times.

You can set query rate limits and it will balance as you specify.  This =
is useful as many people who know/use Linux have seen the issues with =
UDP kernel performance.  If you=E2=80=99re not aware, do this:=20

UDP:

iperf -s -u
iperf -u -c localhost -b 25000m

eg:
[  3]  0.0-10.0 sec  4.50 GBytes  3.87 Gbits/sec   0.000 ms =
84054/3374408 (2.5%)

vs

TCP:

iperf -s
iperf -c localhost
[  3]  0.0-10.0 sec  56.1 GBytes  48.2 Gbits/sec

- Jared=

home help back first fref pref prev next nref lref last post