From owner-svn-ports-all@freebsd.org Mon Apr 2 15:04:52 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E89D9F70306; Mon, 2 Apr 2018 15:04:51 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9640082397; Mon, 2 Apr 2018 15:04:51 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 90EE01741C; Mon, 2 Apr 2018 15:04:51 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w32F4poa013470; Mon, 2 Apr 2018 15:04:51 GMT (envelope-from krion@FreeBSD.org) Received: (from krion@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w32F4oEv013464; Mon, 2 Apr 2018 15:04:50 GMT (envelope-from krion@FreeBSD.org) Message-Id: <201804021504.w32F4oEv013464@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: krion set sender to krion@FreeBSD.org using -f From: Kirill Ponomarev Date: Mon, 2 Apr 2018 15:04:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466231 - in head/benchmarks: . uperf X-SVN-Group: ports-head X-SVN-Commit-Author: krion X-SVN-Commit-Paths: in head/benchmarks: . uperf X-SVN-Commit-Revision: 466231 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2018 15:04:52 -0000 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 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