Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2018 15:04:50 +0000 (UTC)
From:      Kirill Ponomarev <krion@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466231 - in head/benchmarks: . uperf
Message-ID:  <201804021504.w32F4oEv013464@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: krion
Date: Mon Apr  2 15:04:50 2018
New Revision: 466231
URL: https://svnweb.freebsd.org/changeset/ports/466231

Log:
  Add benchmarks/uperf
  
  Unified Performance Tool (or uperf for short) is a network
  performance tool that supports modelling and replay of various
  networking patterns. It represents a new kind of benchmarking tool
  (like filebench) where instead of running a fixed benchmark or
  workload, a description (or model) of the workload is provided and
  the tool generates the load according to the model.
  
  PR:		226649
  Submitted by:	0mp@FreeBSD.org
  Requested by:	gnn

Added:
  head/benchmarks/uperf/
  head/benchmarks/uperf/Makefile   (contents, props changed)
  head/benchmarks/uperf/distinfo   (contents, props changed)
  head/benchmarks/uperf/pkg-descr   (contents, props changed)
  head/benchmarks/uperf/pkg-plist   (contents, props changed)
Modified:
  head/benchmarks/Makefile

Modified: head/benchmarks/Makefile
==============================================================================
--- head/benchmarks/Makefile	Mon Apr  2 14:15:25 2018	(r466230)
+++ head/benchmarks/Makefile	Mon Apr  2 15:04:50 2018	(r466231)
@@ -88,6 +88,7 @@
     SUBDIR += typometer
     SUBDIR += ubench
     SUBDIR += unixbench
+    SUBDIR += uperf
     SUBDIR += vegeta
     SUBDIR += webbench
     SUBDIR += wrk

Added: head/benchmarks/uperf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/uperf/Makefile	Mon Apr  2 15:04:50 2018	(r466231)
@@ -0,0 +1,45 @@
+# $FreeBSD$
+
+PORTNAME=	uperf
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0.6.20180221
+CATEGORIES=	benchmarks
+
+MAINTAINER=	0mp@FreeBSD.org
+COMMENT=	Network performance tool to model and replay of networking patterns
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		ssl
+
+USE_GITHUB=	yes
+GH_TAGNAME=	25ad9ff
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=--datadir=${DATADIR}/workloads
+
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	AUTHORS \
+		README.md
+
+post-install:
+	${MKDIR} ${STAGEDIR}${DATADIR}/tests
+	(cd ${WRKSRC}/tests && \
+	${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tests \
+	"! -name Makefile.in ! -name Makefile.am ! -name Makefile")
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for doc in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
+.endfor
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/docs
+	(cd ${WRKSRC}/docs && \
+	${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/docs "! -name CNAME")
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/manual
+	(cd ${WRKSRC}/manual && \
+	${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/manual "! -name Makefile")
+
+.include <bsd.port.mk>

Added: head/benchmarks/uperf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/uperf/distinfo	Mon Apr  2 15:04:50 2018	(r466231)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1521153670
+SHA256 (uperf-uperf-v1.0.6.20180221-25ad9ff_GH0.tar.gz) = 4810a74f6e48483efd8d93016c35c50e01833f48799c1933940833629b7c79a8
+SIZE (uperf-uperf-v1.0.6.20180221-25ad9ff_GH0.tar.gz) = 234092

Added: head/benchmarks/uperf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/uperf/pkg-descr	Mon Apr  2 15:04:50 2018	(r466231)
@@ -0,0 +1,24 @@
+Unified Performance Tool (or uperf for short) is a network
+performance tool that supports modelling and replay of various
+networking patterns.  It represents a new kind of benchmarking tool
+(like filebench) where instead of running a fixed benchmark or
+workload, a description (or model) of the workload is provided and
+the tool generates the load according to the model.  By distilling
+the benchmark or workload into a model, you can now do various
+things like change the scale of the workload, change different
+parameters, change protocols, etc and analyse the effect of these
+changes on your model.
+
+Some of the questions you could answer using uperf are:
+ * Bandwidth and latency (unidirectional and bi-directional) with different
+   protocols like TCP, UDP, SCTP, SSL
+ * Connection setup and teardown scalability for different protocols
+ * Effect of noise on ongoing network connections
+ * Does it matter if I use processes instead of threads to do network
+   communication?
+ * What is the L2 cache miss rate for connection setup?
+ * Is sendfilev(3EXT) (with one file) equivalent to sendfilev(3EXT)?
+ * Understand TCP, UDP, SCTP, SSL performance under a variety of conditions
+ * Test various TCP Congestion control algorithms
+
+WWW: http://uperf.org/

Added: head/benchmarks/uperf/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/benchmarks/uperf/pkg-plist	Mon Apr  2 15:04:50 2018	(r466231)
@@ -0,0 +1,61 @@
+bin/uperf
+%%DATADIR%%/workloads/connect.xml
+%%DATADIR%%/workloads/iperf.xml
+%%DATADIR%%/workloads/ldap.xml
+%%DATADIR%%/workloads/netperf.xml
+%%DATADIR%%/workloads/oltpnet.xml
+%%DATADIR%%/workloads/oraclerac.xml
+%%DATADIR%%/workloads/sctp.xml
+%%DATADIR%%/workloads/specweb.xml
+%%DATADIR%%/workloads/ssl.xml
+%%DATADIR%%/workloads/telnet.xml
+%%DATADIR%%/workloads/two-hosts.xml
+%%DATADIR%%/tests/01simple_sctp.xml
+%%DATADIR%%/tests/01simple_ssl.xml
+%%DATADIR%%/tests/01simple_tcp.xml
+%%DATADIR%%/tests/01simple_udp.xml
+%%DATADIR%%/tests/02_2proto1group.xml
+%%DATADIR%%/tests/02two_groups.xml
+%%DATADIR%%/tests/3proto.xml
+%%DATADIR%%/tests/a.xml
+%%DATADIR%%/tests/accept-connect.xml
+%%DATADIR%%/tests/accept-sctp.xml
+%%DATADIR%%/tests/accept-tcp.xml
+%%DATADIR%%/tests/canfail.xml
+%%DATADIR%%/tests/disconnect_iter.xml
+%%DATADIR%%/tests/friendliness.xml
+%%DATADIR%%/tests/high_connection_count.xml
+%%DATADIR%%/tests/mix_thr_proc.xml
+%%DATADIR%%/tests/multi_proto_connect.xml
+%%DATADIR%%/tests/parse_err.xml
+%%DATADIR%%/tests/test-duration-process.xml
+%%DATADIR%%/tests/test-rate.xml
+%%DATADIR%%/tests/test-sendfile.xml
+%%DATADIR%%/tests/test-sendfilev-chunked.xml
+%%DATADIR%%/tests/test-sendfilev.xml
+%%DATADIR%%/tests/test-ssize-flowop-count-dur.xml
+%%DATADIR%%/tests/test-ssize-iperf.xml
+%%DATADIR%%/tests/test.rb
+%%DATADIR%%/tests/test.sh
+%%DATADIR%%/tests/test_4groups.xml
+%%DATADIR%%/tests/test_netperf.xml
+%%DATADIR%%/tests/test_rds.xml
+%%DATADIR%%/tests/test_send_recv.xml
+%%DATADIR%%/tests/test_udp.xml
+%%DATADIR%%/tests/throughput_sctp.xml
+%%DATADIR%%/tests/unknown_proto.xml
+%%PORTDOCS%%%%DOCSDIR%%/docs/index.html
+%%PORTDOCS%%%%DOCSDIR%%/docs/manual.css
+%%PORTDOCS%%%%DOCSDIR%%/docs/manual.html
+%%PORTDOCS%%%%DOCSDIR%%/docs/uperf.css
+%%PORTDOCS%%%%DOCSDIR%%/manual/bidirectional.xml
+%%PORTDOCS%%%%DOCSDIR%%/manual/design_notes.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual/netperf.xml.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual/rds.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual/throughput.xml
+%%PORTDOCS%%%%DOCSDIR%%/manual/uperf-default-output.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual/uperf-help.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual/uperf.css
+%%PORTDOCS%%%%DOCSDIR%%/manual/uperf.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/uperf.xml
+%%PORTDOCS%%%%DOCSDIR%%/manual/uperf.xsl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804021504.w32F4oEv013464>