Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packet perf #8

Open
miekg opened this issue May 12, 2017 · 3 comments
Open

Packet perf #8

miekg opened this issue May 12, 2017 · 3 comments

Comments

@miekg
Copy link
Member

miekg commented May 12, 2017

I'm playing around on packet.net and I'm finally seeing figures that I have been seeing on my local machine. I.e. a beefy type1 server does (locally!):

Queries per second:   223763.430646 qps

Doing the same thing over the network yields (obviously) much less:

Queries per second:   47829.543277 qps
@miekg
Copy link
Member Author

miekg commented May 12, 2017

Done on Debian 8 - with really old 3.16 kernel

@miekg
Copy link
Member Author

miekg commented May 12, 2017

udp.go does (localhost):

 Queries per second:   360485.732524 qps

@miekg
Copy link
Member Author

miekg commented May 12, 2017

Can't get NSD to give me reliable figures though :(

NSD version 4.1.0

root@2:~/prof/perf-tests/local-perf# make TIME=3 queryperf 
./bin/queryperf-linux_amd64 -d domain.lst.queryperf -l 3 -s 127.0.0.1 -p 1053

DNS Query Performance Testing Tool
Version: $Id: queryperf.c,v 1.12 2007/09/05 07:36:04 marka Exp $

[Status] Processing input data
[Status] Sending queries (beginning with 127.0.0.1)
[Timeout] Query timed out: msg id 646
[Timeout] Query timed out: msg id 605
[Timeout] Query timed out: msg id 640
[Timeout] Query timed out: msg id 607
[Timeout] Query timed out: msg id 635
[Timeout] Query timed out: msg id 625
[Timeout] Query timed out: msg id 610
[Timeout] Query timed out: msg id 626
[Timeout] Query timed out: msg id 653
[Timeout] Query timed out: msg id 613
[Timeout] Query timed out: msg id 628
[Timeout] Query timed out: msg id 629
[Timeout] Query timed out: msg id 637
[Timeout] Query timed out: msg id 617
[Timeout] Query timed out: msg id 652
[Timeout] Query timed out: msg id 599
[Timeout] Query timed out: msg id 619
[Timeout] Query timed out: msg id 601
[Timeout] Query timed out: msg id 620
[Timeout] Query timed out: msg id 632
[Status] Testing complete

Statistics:

  Parse input file:     multiple times
  Run time limit:       3 seconds
  Ran through file:     217 times

  Queries sent:         653 queries
  Queries completed:    653 queries
  Queries lost:         0 queries
  Queries delayed(?):   0 queries

  RTT max:         	0.000133 sec
  RTT min:              0.000006 sec
  RTT average:          0.000063 sec
  RTT std deviation:    0.000023 sec
  RTT out of range:     0 queries

  Percentage completed: 100.00%
  Percentage lost:        0.00%

  Started at:           Fri May 12 14:43:52 2017
  Finished at:          Fri May 12 14:43:57 2017
  Ran for:              5.022180 seconds

  Queries per second:   130.023217 qps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant