View | Details | Raw Unified | Return to bug 226649
Collapse All | Expand All

(-)benchmarks/Makefile (+1 lines)
Lines 88-93 Link Here
88
    SUBDIR += typometer
88
    SUBDIR += typometer
89
    SUBDIR += ubench
89
    SUBDIR += ubench
90
    SUBDIR += unixbench
90
    SUBDIR += unixbench
91
    SUBDIR += uperf
91
    SUBDIR += vegeta
92
    SUBDIR += vegeta
92
    SUBDIR += webbench
93
    SUBDIR += webbench
93
    SUBDIR += wrk
94
    SUBDIR += wrk
(-)benchmarks/uperf/Makefile (+45 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	uperf
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	1.0.6.20180221
6
CATEGORIES=	benchmarks
7
8
MAINTAINER=	0mp@FreeBSD.org
9
COMMENT=	Network performance tool to model and replay of networking patterns
10
11
LICENSE=	GPLv3
12
LICENSE_FILE=	${WRKSRC}/COPYING
13
14
USES=	ssl
15
16
USE_GITHUB=	yes
17
GH_TAGNAME=	25ad9ff
18
19
GNU_CONFIGURE=	yes
20
CONFIGURE_ARGS+=--datadir=${DATADIR}/workloads
21
22
OPTIONS_DEFINE=	DOCS
23
24
PORTDOCS=	AUTHORS \
25
		README.md
26
27
post-install:
28
	${MKDIR} ${STAGEDIR}${DATADIR}/tests
29
	(cd ${WRKSRC}/tests && \
30
	${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tests \
31
	"! -name Makefile.in ! -name Makefile.am ! -name Makefile")
32
33
post-install-DOCS-on:
34
	${MKDIR} ${STAGEDIR}${DOCSDIR}
35
.for doc in ${PORTDOCS}
36
	${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
37
.endfor
38
	${MKDIR} ${STAGEDIR}${DOCSDIR}/docs
39
	(cd ${WRKSRC}/docs && \
40
	${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/docs "! -name CNAME")
41
	${MKDIR} ${STAGEDIR}${DOCSDIR}/manual
42
	(cd ${WRKSRC}/manual && \
43
	${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/manual "! -name Makefile")
44
45
.include <bsd.port.mk>
(-)benchmarks/uperf/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1521153670
2
SHA256 (uperf-uperf-v1.0.6.20180221-25ad9ff_GH0.tar.gz) = 4810a74f6e48483efd8d93016c35c50e01833f48799c1933940833629b7c79a8
3
SIZE (uperf-uperf-v1.0.6.20180221-25ad9ff_GH0.tar.gz) = 234092
(-)benchmarks/uperf/pkg-descr (+24 lines)
Added Link Here
1
Unified Performance Tool (or uperf for short) is a network performance tool
2
that supports modelling and replay of various networking patterns.
3
It represents a new kind of benchmarking tool (like filebench) where instead of
4
running a fixed benchmark or workload, a description (or model) of the workload
5
is provided and the tool generates the load according to the model.
6
By distilling the benchmark or workload into a model, you can now do various
7
things like change the scale of the workload, change different parameters,
8
change protocols, etc and analyse the effect of these changes on your model.
9
You can also study the effect of interleaving CPU activity, or think times or
10
the use of SSL instead of TCP among many other things.
11
12
Some of the questions you could answer using uperf are:
13
 * Bandwidth and latency (unidirectional and bi-directional) with different
14
   protocols like TCP, UDP, SCTP, SSL
15
 * Connection setup and teardown scalability for different protocols
16
 * Effect of noise on ongoing network connections
17
 * Does it matter if I use processes instead of threads to do network
18
   communication?
19
 * What is the L2 cache miss rate for connection setup?
20
 * Is sendfilev(3EXT) (with one file) equivalent to sendfilev(3EXT)?
21
 * Understand TCP, UDP, SCTP, SSL performance under a variety of conditions
22
 * Test various TCP Congestion control algorithms
23
24
WWW: http://uperf.org/
(-)benchmarks/uperf/pkg-plist (+61 lines)
Added Link Here
1
bin/uperf
2
%%DATADIR%%/workloads/connect.xml
3
%%DATADIR%%/workloads/iperf.xml
4
%%DATADIR%%/workloads/ldap.xml
5
%%DATADIR%%/workloads/netperf.xml
6
%%DATADIR%%/workloads/oltpnet.xml
7
%%DATADIR%%/workloads/oraclerac.xml
8
%%DATADIR%%/workloads/sctp.xml
9
%%DATADIR%%/workloads/specweb.xml
10
%%DATADIR%%/workloads/ssl.xml
11
%%DATADIR%%/workloads/telnet.xml
12
%%DATADIR%%/workloads/two-hosts.xml
13
%%DATADIR%%/tests/01simple_sctp.xml
14
%%DATADIR%%/tests/01simple_ssl.xml
15
%%DATADIR%%/tests/01simple_tcp.xml
16
%%DATADIR%%/tests/01simple_udp.xml
17
%%DATADIR%%/tests/02_2proto1group.xml
18
%%DATADIR%%/tests/02two_groups.xml
19
%%DATADIR%%/tests/3proto.xml
20
%%DATADIR%%/tests/a.xml
21
%%DATADIR%%/tests/accept-connect.xml
22
%%DATADIR%%/tests/accept-sctp.xml
23
%%DATADIR%%/tests/accept-tcp.xml
24
%%DATADIR%%/tests/canfail.xml
25
%%DATADIR%%/tests/disconnect_iter.xml
26
%%DATADIR%%/tests/friendliness.xml
27
%%DATADIR%%/tests/high_connection_count.xml
28
%%DATADIR%%/tests/mix_thr_proc.xml
29
%%DATADIR%%/tests/multi_proto_connect.xml
30
%%DATADIR%%/tests/parse_err.xml
31
%%DATADIR%%/tests/test-duration-process.xml
32
%%DATADIR%%/tests/test-rate.xml
33
%%DATADIR%%/tests/test-sendfile.xml
34
%%DATADIR%%/tests/test-sendfilev-chunked.xml
35
%%DATADIR%%/tests/test-sendfilev.xml
36
%%DATADIR%%/tests/test-ssize-flowop-count-dur.xml
37
%%DATADIR%%/tests/test-ssize-iperf.xml
38
%%DATADIR%%/tests/test.rb
39
%%DATADIR%%/tests/test.sh
40
%%DATADIR%%/tests/test_4groups.xml
41
%%DATADIR%%/tests/test_netperf.xml
42
%%DATADIR%%/tests/test_rds.xml
43
%%DATADIR%%/tests/test_send_recv.xml
44
%%DATADIR%%/tests/test_udp.xml
45
%%DATADIR%%/tests/throughput_sctp.xml
46
%%DATADIR%%/tests/unknown_proto.xml
47
%%PORTDOCS%%%%DOCSDIR%%/docs/index.html
48
%%PORTDOCS%%%%DOCSDIR%%/docs/manual.css
49
%%PORTDOCS%%%%DOCSDIR%%/docs/manual.html
50
%%PORTDOCS%%%%DOCSDIR%%/docs/uperf.css
51
%%PORTDOCS%%%%DOCSDIR%%/manual/bidirectional.xml
52
%%PORTDOCS%%%%DOCSDIR%%/manual/design_notes.txt
53
%%PORTDOCS%%%%DOCSDIR%%/manual/netperf.xml.txt
54
%%PORTDOCS%%%%DOCSDIR%%/manual/rds.txt
55
%%PORTDOCS%%%%DOCSDIR%%/manual/throughput.xml
56
%%PORTDOCS%%%%DOCSDIR%%/manual/uperf-default-output.txt
57
%%PORTDOCS%%%%DOCSDIR%%/manual/uperf-help.txt
58
%%PORTDOCS%%%%DOCSDIR%%/manual/uperf.css
59
%%PORTDOCS%%%%DOCSDIR%%/manual/uperf.html
60
%%PORTDOCS%%%%DOCSDIR%%/manual/uperf.xml
61
%%PORTDOCS%%%%DOCSDIR%%/manual/uperf.xsl

Return to bug 226649