./benchmarks/netperf, Rick Jones network performance benchmarking package

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 2.7.0, Package name: netperf-2.7.0, Maintainer: pkgsrc-users

Netperf is a serious networking performance evaluation tool being
distributed under GPL 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
* specification of send/recieve 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.

This port of netperf has been configured to support:

TCP and UDP via BSD sockets
Unix domain sockets

Master sites:

SHA1: 415ecd4877cf8e24cefe6943564e511e6f1e2215
RMD160: a3b9b89999362ae4077efcffa509140683d2982b
Filesize: 1000.42 KB

Version history: (Expand)

CVS history: (Expand)

   2016-03-30 15:24:12 by Jonathan Perkin | Files touched by this commit (3)
Log message:
Fix build on SunOS.
   2015-11-03 01:25:52 by Alistair G. Crooks | Files touched by this commit (43)
Log message:
Add SHA512 digests for distfiles for benchmarks category

Problems found with existing distfile for superpi:
No changes were made to the superpi/distinfo file.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-08-16 03:05:09 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
 - Drop patch-ab, the lines of code to patch deleted.
   (there are still ifdef __FreeBSD__ remaining at other files,
    need to watch, sorry and thanks)
 - Update 2.6.0 to 2.7.0
These are the Release Notes for Revision 2.7.0 of netperf:

*) Add bits/s (-f b) and Bytes/s (-f B) as selectable throughput
   units. This may make life easier for folks doing post-processing of
   things like interim results.

*) Miscelaneous fixes

*) Much of the now-seeming kruft for things peripheral to netperf's
   core mission - have been removed though the code itself remains in
   the repository.  So, things like looking-up egress interface,
   driver/slot information etc have been disabled in a manner
   requiring more than just a ./configure to bring-back.

   It wasn't clear those features were being used.  This is a test of
   that hypothesis.
   2014-09-23 15:55:00 by Jonathan Perkin | Files touched by this commit (2)
Log message:
SunOS needs sys/types.h too.
   2014-04-23 22:19:18 by Aleksej Saushev | Files touched by this commit (2)
Log message:
Fix build on FreeBSD.
   2014-04-01 13:13:28 by Adam Ciarcinski | Files touched by this commit (6)
Log message:
Changes 2.6.0:

*) Initial pass at support for --enable-intervals (WANT_INTERVALS) for
   Windows, courtesy of Jonathan Cook.

*) When in demo mode (./configure --enable-demo and a global -D
   <interval> option netperf will make sure it emits "one last
   interval result" when the test is terminated.  This should assist
   when post-processing results through the likes of rrdtool when
   there is a slow-down in the performance just at the end that would
   have stretched the interval to beyond the test termination.

*) A fix to have the AF_UNIX tests realize that the value for "take
   the system default" socket buffer size became -1 years ago.  Bug
   found by Eric Dumazet.

*) Include a patch from Dave Taht to enable symbolic manipulation of
   IP_TOS values.

*) Include a patch from Sachar Raindel to enable the omni tests to get
   ENOBUFS under Linux when the socket buffer is larger than the tx
   queue of the egress interface.  This will help preclude netperf's
   reporting a larger than link-rate send-side figure.

*) Fix a problem with late checking of the return from select() in
   src/netserver.c. Reported by Waqar Sheikh.

*) A new global -Z option has been added to netperf and netserver.
   This takes as an argument a passphrase.  In the case of netserver
   it will expect a control message with the passphrase as the first
   thing it receives on the control connection.  If netserver does not
   receive a control message with the passphrase it will close the
   control connection and move-on.  If the netserver receives a
   control message with a passprhase when it is not lookign for one,
   it will be ignored. There is at present a 20 second timeout on the
   attempted receipt of the request message. In the case of netperf,
   the passphrase will be the first thing sent on the control
   connection.  There is no response to a passphrase control message.

*) Demo mode output format will now track the omni output format. So,
   if the omni ouput format is CSV then the interim results will be
   emitted in csv. Likewise for keyval.  If the mode is human (default
   and test-specific -O) then the output remains unchanged.  Keyval
   output includes the count of interval, with a mind towards being
   able to source it in shells and whatnot.  Subject to change without

*) A patch to correctly handle IPv6 addresses in the control messages,
   courtesy of Bjoern Zeeb.

*) The global -F option can now be used specify a local and/or remote
   fill file.

*) It is now possible to set/get the TCP congestion control algorithm
   being used by either end of the test connection when using the omni
   code.  The output selectors are LOCAL_CONG_CONTROL and
   REMOTE_CONG_CONTROL and setting is via the test-specific -K option.

*) Stop leaking file descriptors when looking-up probable egress
   interface names and I/O slot numbers.

*) The global -Y option can be used to set IP_TOS on those platforms
   which support it.  Since this is specific to IP (v4 or v6) it may
   move to a test-specific otion in the future.  It is presently
   global for foolish consistency with the -y option to set

*) The global -y option can be used to set SO_PRIORITY on those
   platforms which support it.  Based on patches from Amir Vidai.

*) The control message size has been increased from 256 bytes to 512
   NETPERF. However, we need more room on the pinhead on which the
   angels dance.

*) Make the "sum" field of the histogram structure a 64 bit int to
   avoid having it wrap-around on tests where the sum of all the
   measured latencies was larger than 31 bits. This was causing
   statistics like stddev to go negative in some cases.

*) If the time delta between two events is negative, do not bother
   doing any math with it in the histogram/statistics code, just
   increment the ridiculous count and move-on.

*) Fixed a bug which caused local transport retransmissions to be
   reported as -1 even though the getsockopt() call was
   successful. (Linux).  Later included remote transport

*) The src/nettest_omni.c and re-written src/netserver.c code are now
   known to have compiled under Windows 7 x64 with the Microsoft
   WDK. There remains a timing issue with confidence intervals which
   is yet to be addressed, and may have been there for ages. Netserver
   has been run as a non-spawning (-f) server, netperf has been run,
   both have run "classic" and "omni" tests.
   2012-09-12 00:37:15 by Aleksej Saushev | Files touched by this commit (42)
Log message:
"user-destdir" is default these days
   2010-12-30 09:05:18 by OBATA Akio | Files touched by this commit (2)
Log message:
Fixes build on DragonFly.
sendfile(2) of DragonFly is FreeBSD in origin.