summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authortron <tron>2013-11-30 20:31:18 +0000
committertron <tron>2013-11-30 20:31:18 +0000
commitbcbbc8f8ae0f34c603e08bf76073b883f9ca8235 (patch)
treec9667901804df02de74cdebb8dd34c5883f64b18 /benchmarks
parentd7251afe9b93074473ea601ef7a035aa6d3a9bd8 (diff)
downloadpkgsrc-bcbbc8f8ae0f34c603e08bf76073b883f9ca8235.tar.gz
Add new "dnsperf" package:
DNSPerf, ResPerf, and DHCPerf are free tools developed by Nominum that make it simple to gather accurate latency and throughput metrics for Domain Name Service (DNS) and Dynamic Host Configuration Protocol (DHCP). These tools are easy-to-use and simulate typical Internet so network operators can benchmark their naming and addressing infrastructure and plan for upgrades. The latest version of the DNS test tools (DNSPerf and ResPerf) can be used with new test files that include IPv6 queries. DNSPerf "self-paces" the DNS query load to simulate network conditions. New features in DNSPerf improve the precision of latency measurements and allow for per packet per-query latency reporting is possible. DNSPerf is now multithreaded, multiple DNSPerf clients can be supported in multicore systems (each client requires two cores). The output of DNSPerf has also been improved so it is more concise and useful. Latency data can be used to make detailed graphs so it is simple for network operators to take advantage of the data.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/dnsperf/DESCR17
-rw-r--r--benchmarks/dnsperf/Makefile23
-rw-r--r--benchmarks/dnsperf/PLIST6
-rw-r--r--benchmarks/dnsperf/distinfo6
-rw-r--r--benchmarks/dnsperf/patches/patch-Makefile.in15
5 files changed, 67 insertions, 0 deletions
diff --git a/benchmarks/dnsperf/DESCR b/benchmarks/dnsperf/DESCR
new file mode 100644
index 00000000000..e559c24d6cd
--- /dev/null
+++ b/benchmarks/dnsperf/DESCR
@@ -0,0 +1,17 @@
+DNSPerf, ResPerf, and DHCPerf are free tools developed by Nominum that
+make it simple to gather accurate latency and throughput metrics for
+Domain Name Service (DNS) and Dynamic Host Configuration Protocol
+(DHCP). These tools are easy-to-use and simulate typical Internet so
+network operators can benchmark their naming and addressing
+infrastructure and plan for upgrades. The latest version of the DNS
+test tools (DNSPerf and ResPerf) can be used with new test files that
+include IPv6 queries.
+
+DNSPerf "self-paces" the DNS query load to simulate network
+conditions. New features in DNSPerf improve the precision of latency
+measurements and allow for per packet per-query latency reporting is
+possible. DNSPerf is now multithreaded, multiple DNSPerf clients can
+be supported in multicore systems (each client requires two
+cores). The output of DNSPerf has also been improved so it is more
+concise and useful. Latency data can be used to make detailed graphs
+so it is simple for network operators to take advantage of the data.
diff --git a/benchmarks/dnsperf/Makefile b/benchmarks/dnsperf/Makefile
new file mode 100644
index 00000000000..dd9a785685e
--- /dev/null
+++ b/benchmarks/dnsperf/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2013/11/30 20:31:18 tron Exp $
+
+DISTNAME= dnsperf-src-2.0.0.0-1
+PKGNAME= dnsperf-2.0.0.0
+CATEGORIES= benchmarks net
+MASTER_SITES= ftp://ftp.nominum.com/pub/nominum/${PKGBASE}/${PKGVERSION}/
+
+MAINTAINER= tron@NetBSD.org
+HOMEPAGE= http://www.nominum.com/support/measurement-tools/
+COMMENT= DNS server performance measurement tools
+LICENSE= mit
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= sh:run
+
+# This package needs "isc" include files and "isc-config.sh" to build.
+# The built-in check only considers "libbind".
+USE_BUILTIN.bind= no
+
+REPLACE_SH+= resperf-report
+
+.include "../../net/bind99/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/dnsperf/PLIST b/benchmarks/dnsperf/PLIST
new file mode 100644
index 00000000000..e7d5027e621
--- /dev/null
+++ b/benchmarks/dnsperf/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2013/11/30 20:31:18 tron Exp $
+bin/dnsperf
+bin/resperf
+bin/resperf-report
+man/man1/dnsperf.1
+man/man1/resperf.1
diff --git a/benchmarks/dnsperf/distinfo b/benchmarks/dnsperf/distinfo
new file mode 100644
index 00000000000..160c16c4402
--- /dev/null
+++ b/benchmarks/dnsperf/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2013/11/30 20:31:18 tron Exp $
+
+SHA1 (dnsperf-src-2.0.0.0-1.tar.gz) = a0cf8f95de821a9ca1b7f8001e5ef7334e968540
+RMD160 (dnsperf-src-2.0.0.0-1.tar.gz) = 1d2f856651e82755e0c7071100574dba682e1e8f
+Size (dnsperf-src-2.0.0.0-1.tar.gz) = 565871 bytes
+SHA1 (patch-Makefile.in) = 9f5377a75d9674a3aeb12f933f0a552564534d91
diff --git a/benchmarks/dnsperf/patches/patch-Makefile.in b/benchmarks/dnsperf/patches/patch-Makefile.in
new file mode 100644
index 00000000000..67dabbd473c
--- /dev/null
+++ b/benchmarks/dnsperf/patches/patch-Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.in,v 1.1 2013/11/30 20:31:18 tron Exp $
+
+Don't attempt to strip shell scripts which breaks the installation.
+
+--- Makefile.in.orig 2012-03-02 02:25:22.000000000 +0000
++++ Makefile.in 2013-11-30 19:48:44.000000000 +0000
+@@ -41,7 +41,7 @@
+ install: all installdirs
+ ${INSTALL_PROGRAM} dnsperf ${DESTDIR}${bindir}
+ ${INSTALL_PROGRAM} resperf ${DESTDIR}${bindir}
+- ${INSTALL_PROGRAM} resperf-report ${DESTDIR}${bindir}
++ ${BSD_INSTALL_SCRIPT} resperf-report ${DESTDIR}${bindir}
+ ${INSTALL_DATA} dnsperf.1 ${DESTDIR}${mandir}/man1
+ ${INSTALL_DATA} resperf.1 ${DESTDIR}${mandir}/man1
+