Commit graph

21 commits

Author SHA1 Message Date
Marius Strobl
3e1f667a34 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
2023-04-15 21:01:48 +02:00
Marius Strobl
de35f156ca 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.
2018-03-04 19:50:05 +00:00
Mathieu Arnold
56bf85096c Cleanup patches, category benchmarks
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-27 15:09:11 +00:00
Marius Strobl
4cd4a90906 - 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]
2015-10-20 20:43:43 +00:00
Marius Strobl
e6a2ed54c5 - 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)
2013-01-30 22:10:17 +00:00
Munechika SUMIKAWA
552671c493 Upgrade to 2.6.0 2012-08-24 02:29:12 +00:00
Munechika SUMIKAWA
db38baefd0 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."
--------------

3) Add to default configure_args

--enable-dirty
--enable-demo
--enable-burst
--enable-intervals

Note: these just add additional command arguments and options, and are
not globally enabled in netperf so wont affect existing users/tests.

Submitted by:	koobs (No email address by the request)
2012-05-15 06:47:10 +00:00
Munechika SUMIKAWA
465c42effe Make UDP_STREAM work on IPv6 by transmitting and extracting IPv6
addresses correctly.  Otherwise bind(2) calls will fail, etc.

Submitted by: bz
2012-01-27 03:26:36 +00:00
Munechika SUMIKAWA
a2e88255c3 Upgrade to 2.5.0. 2011-07-20 03:51:02 +00:00
Munechika SUMIKAWA
aed75c36dd Upgrade to 2.4.5. 2009-06-16 06:41:57 +00:00
Munechika SUMIKAWA
ab9f89b62e Upgrade to 2.4.2. 2006-11-09 04:49:25 +00:00
Joseph Koshy
3cd8f9089f Turn off -DHISTOGRAM as it introduces considerable overhead. Bump portrevision.
Noticed by:	rwatson
Approved by:	sumikawa [MAINTAINER]
2005-10-14 03:33:07 +00:00
Munechika SUMIKAWA
9fc8308b46 Upgrade to 2.3pl1. 2004-11-18 23:37:41 +00:00
Munechika SUMIKAWA
a44999a297 Upgrade to 2.2pl3. 2003-02-22 08:35:31 +00:00
Munechika SUMIKAWA
9e8b88f9f1 Fix typo in patch-makefile. IPv6 was not enabled. 2003-01-21 01:14:06 +00:00
Munechika SUMIKAWA
460580a8a4 Upgrade to 2.2pl2. Almost of IPv6 patch was merged but netperf still
barks with -DDO_1644.
2003-01-21 01:02:54 +00:00
Bill Fenner
9727c7b6ec Fix up arr_script too; it's not installed by netperf but it is now
usable in case anyone grovels around in the work dir and finds it.
1999-09-08 23:07:53 +00:00
Bill Fenner
0b047e6895 Include RFC1644 tests. (ports/11581)
Allow ${PREFIX} setting. (ports/12213)
Clean up makefile a smidge.

PR:		ports/11581 and ports/12213
Submitted by:	Martin Kammerhofer dada@sbox.tu-graz.ac.at
	    and Nick Hibma nick.hibma@jrc.it
1999-09-08 23:06:01 +00:00
Bill Fenner
d4e995a817 Update to 2.1pl3
Found by:	distfile checker
1997-07-27 20:56:06 +00:00
Bill Fenner
5a5abdd89e Upgrade to 2.1pl2 1997-05-28 05:48:48 +00:00
Paul Traina
1472849a6e Re-import netperf package under benchmarks.
Requested by: asami
1996-08-03 19:51:05 +00:00