[nsd-users] NSD test

yzw_iplab yzw_iplab at 163.com
Fri Sep 16 08:07:39 UTC 2011

Hi, all,
Recently, I tested the performance of BIND,NSD and UNBOUND. However, I am confused with the testing results. I list them here for your help.
I fake the root, ‘test’ top level domain and ‘my.test’ second level domain.
I use the ‘queryperf’ in the client and the number of queries is 50000, all of them belong to ‘my.test’ domain and have positive responses. In the zone file of ‘test’ and ‘my.test’, TTL is set to 0, and then every query should be performed from root to the ‘my.test’ server without the assistance of cache.
 Client executes the DNS query using ‘queryperf’ under the following four scenarios (where SA and TA denote the Second level Authority server and Top level Authority server respectively), their QPS results are:
Case1: Recursive (bind)---Root(bind) ---TA(bind) ---SA(bind)
153.521955 qps
Case2: Recursive (bind) ---Root (bind) ---TA (bind) ---SA (nsd)
173.912569 qps
Case3: Recursive (bind) --- Root (bind) ---TA (nsd) ---SA (bind)
1857.768915 qps
Case4: Recursive (bind) ---Root (bind) ---A (nsd) --- SA (nsd)
1923.845425 qps
As you find, only when the NSD is deployed on the TA, the performance (e.g., QPS) can be promoted significantly. In other words, even when the SA uses the NSD, the QPS is just similar with the case when all the servers use BIND. This confused me, so why the results are totally different when TA uses NSD and SA uses NSD.
In my mind, the results should be similar in these two cases.
This same results appear when the recursive server uses UNBOUND. And the corresponding results is listed as following:
Case1: Recursive (unbound) --- Root (bind) --- TA (bind) ---SA (bind)
254.047935 qps
Case2: Recursive (unbound) --- Root (bind) --- TA (bind) --- SA (nsd)
293.855172 qps
Case3: Recursive (unbound) --- Root (bind) ---TA (nsd) ---SA (bind)
14968.491326 qps
Case4: Recursive (unbound) ---Root (bind) --- TA (nsd) ---SA (nsd)
15071.630940 qps
Thank you very much for your attention!
Zhiwei Yan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20110916/e6a8e94d/attachment.htm>

More information about the nsd-users mailing list