Netperf is a serious networking performance evaluation tool being
distributed under BSD-1-clause by HP's Information Networks Division.
Testing is done using a pair of programs: `netserver' (the server) and
`netperf' (the measurement tool).
Netperf allows control over a large number of test `variables'.
Some of these are:
* specification of desired confidence levels for the tests
Netperf will warn the user if these levels were not achieved.
* filling send buffers with specified data (to beat compression schemes)
* specification of send/receive buffer alignments and data offsets
* requesting CPU utilization and service demand calculations
* specification of sizes of data to send
Netperf can be used for measuring stream performance as well as
round-trip performance.
===> The following configuration options are available for netperf-2.7.1.p20210121_2:
EXAMPLES=on: Build and/or install examples
EXS=on: Enable ICSC async socket support
HISTOGRAM=on: Enable histogram output
INFO=on: Build and/or install GNU info pages
OMNI=on: Enable OMNI tests (disable for aio(4) support)
SCTP=on: Enable SCTP support
SOCKETS=on: Enable Unix Domain socket support
===> Use 'make config' to modify these settings
benchmarks/netperf: Update to 20210121 version
For the most part, this complicates the build, moves the debug log from
/tmp to /var/log and changes debugging to default to off. Also:
- Don't let netserver chmod(2) /dev/null to 644 when debug log is off.
- Take back port.
Approved by: netchild
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
benchmarks: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Alexander Logvinov <ports@logvinov.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey V. Degtyarev
* Andreas Kohn <andreas@syndrom23.de>
* Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
* Andrey Zakhvatov <andy@FreeBSD.org>
* Andy Clark <andrewclarkii@gmail.com>
* Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
* Bill Fumerola <billf@chc-chimes.com>
* Brad Davis <brd@FreeBSD.org>
* Bruce A. Mah <bmah@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.
Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.
Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them
Bump revision of all impacted ports
PR: 232907
exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D17816
Given that the netperf project hasn't rolled a release in quite some time,
switch to snapshots directly obtained from the github repository (currently
at version 2.7.1). Generally, there aren't that many changes since the 2.7.0
release version of netperf, the most noteworthy changes are in the area of
FreeBSD support, though:
- FreeBSD-specific code for letting netperf/netserver bind to CPUs, e. g.
via the global "-T" option, has been added.
- The nettest_bsd back-end now can take advantage of aio(4) via the newly
added test-specific "-a" and "-A" options, which in turn allows zero-copy
send and receive with e. g. cxgbe(4). Note that this requires the netperf
port to be built with its default-on OMNI option disabled, as otherwise
the nettest_omni back-end and the migration to it from legacy back-ends
(also the upstream default since netperf 2.5.0) will be used instead.
Apart from that, some test scripts missing in the published releases but
referenced by test scripts already part of e. g. netperf 2.7.0 are now
included.
- Update to 2.7.0.
- Add an EXAMPLES knob.
- Unbreak CPU utilization measurement support for FreeBSD >= 10 [1], unbreak
SCTP support for FreeBSD >= 10.
PR: 203752 [1]
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3412?
Enable OMNI by default; this matches what vanilla netperf does since
version 2.5 and restores bidirectional compatibility with other OS
distributions following suit.
PR: 197137
- Given that we always build netperf with --enable-demo, remove an
irritating remark from the manual page suggesting it hasn't been.
- Grab
Approved by: bapt (mentor)
- Fix build with clang [1]
- Use standard header
- Convert spaces to tabs in options and descriptions
- Spelling fixes in pkg-descr
PR: ports/174887 [1]
Reported by: Garrett Cooper <yanegomi@gmail.com> [1]
1) Add OPTIONS support for:
- SOCKETS - Unix domain socket support and tests
- SCTP - Stream Control Transmission Protocol support and tests
- EXS - ICSC async socket support
- HISTOGRAM - Optional histogram output
- OMNI - Enable OMNI tests
2) Patch to $WRKSRC/configure which fixes CPU measurement and ROUTE
lookup routines in netperf, which result in this output:
-------------
checking which CPU utilization measurement type to use... "none.
Consider teaching configure about your platform."
checking which route lookup type to use... "none. Consider teaching
configure about your platform."
--------------
(Only the first 15 lines of the commit message are shown above )
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
Add a MASTER_SITE_SUBDIR to unbreak fetching. The checksum had also changed,
but it seems only the tarball was rerolled - a comparison against an 'old'
archive from ftp.freebsd.org showed no differences in content.