|
|
|
|
|
# Benchmarks against knot
|
|
|
|
|
|
## Plain knot
|
|
|
|
|
|
```
|
|
|
dnsbench@server:/home/dnsbench/dns-benchmarking$ ./dnsbench.sh x520-master.conf datasets/hosting_10k.tgz
|
|
|
15:32# Loading configuration 'x520-master.conf'
|
|
|
15:32# Benchmark commencing on knot-master/Linux
|
|
|
15:32# * uploading testbed
|
|
|
15:32# - /tmp/measure.conf 4.0K >> knot-master
|
|
|
15:32# - measure.sh 4.0K >> knot-master
|
|
|
15:32# * uploading modules
|
|
|
15:32# - modules 28K >> knot-master
|
|
|
15:32# * uploading hooks
|
|
|
15:32# - hooks 60K >> knot-master
|
|
|
15:32# * uploading dataset
|
|
|
15:32# - datasets/hosting_10k.tgz 3.6M >> knot-master
|
|
|
15:32# * tweaking network
|
|
|
15:32# - netsetup.sh 4.0K >> knot-master
|
|
|
15:32# | Linux... Hmm
|
|
|
15:32# | no rx vectors found on eth0
|
|
|
15:32# | no tx vectors found on eth0
|
|
|
15:32# | eth0 mask=1 for /proc/irq/94/smp_affinity
|
|
|
15:32# | eth0 mask=2 for /proc/irq/95/smp_affinity
|
|
|
15:32# | eth0 mask=4 for /proc/irq/96/smp_affinity
|
|
|
15:32# | eth0 mask=8 for /proc/irq/97/smp_affinity
|
|
|
15:32# | eth0 mask=10 for /proc/irq/98/smp_affinity
|
|
|
15:32# | eth0 mask=20 for /proc/irq/99/smp_affinity
|
|
|
15:32# | eth0 mask=40 for /proc/irq/100/smp_affinity
|
|
|
15:32# | eth0 mask=80 for /proc/irq/101/smp_affinity
|
|
|
15:32# | net.core.wmem_max = 1048576
|
|
|
15:32# | net.core.wmem_default = 1048576
|
|
|
15:32# | net.core.rmem_max = 1048576
|
|
|
15:32# | net.core.rmem_default = 1048576
|
|
|
15:32# | net.core.busy_read = 0
|
|
|
15:32# | net.core.busy_poll = 0
|
|
|
15:32# | net.core.netdev_max_backlog = 40000
|
|
|
15:32# | net.core.optmem_max = 20480
|
|
|
15:32# | Linux 4.5.0-040500-generic / eth0
|
|
|
15:32# * measuring
|
|
|
15:32# | Selected host port: 50004
|
|
|
15:32# | benchmarking module 'responses'
|
|
|
15:36# | built Knot DNS 2.3.0-dev from sources
|
|
|
15:37# | knotd2 99.99% answered for 99535 (100000) q/s (=99525.04 a/s, 105.91B avg.resplen, 15 reps)
|
|
|
15:37# | knotd2 99.99% answered for 197823 (200000) q/s (=197803.21 a/s, 105.91B avg.resplen, 30 reps)
|
|
|
15:38# | knotd2 100.00% answered for 290182 (300000) q/s (=290182.00 a/s, 105.91B avg.resplen, 45 reps)
|
|
|
15:39# | knotd2 100.00% answered for 386100 (400000) q/s (=386100.00 a/s, 105.91B avg.resplen, 60 reps)
|
|
|
15:39# | knotd2 99.99% answered for 460829 (500000) q/s (=460782.91 a/s, 105.91B avg.resplen, 75 reps)
|
|
|
15:40# | knotd2 99.99% answered for 542005 (600000) q/s (=541950.79 a/s, 105.91B avg.resplen, 90 reps)
|
|
|
15:41# | knotd2 99.99% answered for 616830 (700000) q/s (=616768.31 a/s, 105.91B avg.resplen, 105 reps)
|
|
|
15:41# | knotd2 99.99% answered for 667315 (800000) q/s (=667248.26 a/s, 105.91B avg.resplen, 120 reps)
|
|
|
15:42# | knotd2 100.00% answered for 736296 (900000) q/s (=736296.00 a/s, 105.91B avg.resplen, 135 reps)
|
|
|
15:43# | knotd2 99.99% answered for 765696 (1000000) q/s (=765619.43 a/s, 105.91B avg.resplen, 150 reps)
|
|
|
15:44# | knotd2 100.00% answered for 842158 (1100000) q/s (=842158.00 a/s, 105.91B avg.resplen, 165 reps)
|
|
|
15:45# | knotd2 99.99% answered for 882352 (1200000) q/s (=882263.76 a/s, 105.91B avg.resplen, 180 reps)
|
|
|
15:45# | knotd2 99.99% answered for 946716 (1300000) q/s (=946621.32 a/s, 105.91B avg.resplen, 195 reps)
|
|
|
15:46# | knotd2 98.16% answered for 988584 (1400000) q/s (=970394.05 a/s, 105.91B avg.resplen, 210 reps)
|
|
|
15:47# | knotd2 88.84% answered for 1082641 (1500000) q/s (=961818.26 a/s, 105.91B avg.resplen, 225 reps)
|
|
|
15:48# | knotd2 88.96% answered for 1065364 (1600000) q/s (=947747.81 a/s, 105.91B avg.resplen, 240 reps)
|
|
|
15:48# | wait_stop for PID 99571
|
|
|
15:49# | /tmp/dnsbench.dnsbench
|
|
|
15:49# - results.tgz >> /home/dnsbench/dns-benchmarking
|
|
|
15:49# | Converting data to R output...
|
|
|
15:49# | tar: INFO: time stamp 2016-08-09 15:52:05 is 146.508340997 s in the future
|
|
|
15:49# | tar: knotd2.data: time stamp 2016-08-09 15:52:04 is 145.508118461 s in the future
|
|
|
15:49# | tar: NOTES: time stamp 2016-08-09 15:52:05 is 146.508062423 s in the future
|
|
|
15:49# | tar: INFO: time stamp 2016-08-09 15:52:05 is 146.486555797 s in the future
|
|
|
15:49# | tar: knotd2.data: time stamp 2016-08-09 15:52:04 is 145.486357352 s in the future
|
|
|
15:49# | tar: NOTES: time stamp 2016-08-09 15:52:05 is 146.486306033 s in the future
|
|
|
15:49# | converting RR results for 'linux hosting_10k x520'
|
|
|
15:49# | converted '1' files to JSON in '/var/www/dnsbench'
|
|
|
```
|
|
|
|
|
|
## Knot with dnscol
|
|
|
dnscol: xz -0, |