2014-03-31 18:52:23 +00:00
|
|
|
iperf3 Development
|
|
|
|
==================
|
|
|
|
|
|
|
|
The iperf3 project is hosted on GitHub at:
|
|
|
|
|
|
|
|
http://github.com/esnet/iperf
|
|
|
|
|
|
|
|
This site includes the source code repository, issue tracker, and
|
|
|
|
wiki.
|
|
|
|
|
|
|
|
Mailing Lists
|
|
|
|
-------------
|
|
|
|
|
2014-04-07 18:02:32 +00:00
|
|
|
The developer list for iperf3 is: iperf-dev@googlegroups.com.
|
2014-03-31 18:52:23 +00:00
|
|
|
Information on joining the mailing list can be found at:
|
|
|
|
|
|
|
|
http://groups.google.com/group/iperf-dev
|
|
|
|
|
|
|
|
There is, at the moment, no mailing list for user questions, although
|
|
|
|
a low volume of inquiries on the developer list is probably
|
|
|
|
acceptable. If necessary, a user-oriented mailing list might be
|
|
|
|
created in the future.
|
|
|
|
|
|
|
|
Bug Reports
|
|
|
|
-----------
|
|
|
|
|
|
|
|
Before submitting a bug report, try checking out the latest version of
|
2017-04-11 00:39:04 +00:00
|
|
|
the code, and confirm that it's not already fixed. Also see the :doc:`faq`.
|
|
|
|
Then submit to the iperf3 issue tracker on GitHub:
|
2014-03-31 18:52:23 +00:00
|
|
|
|
|
|
|
https://github.com/esnet/iperf/issues
|
|
|
|
|
2014-04-07 18:02:32 +00:00
|
|
|
**Note:** Issues submitted to the old iperf3 issue tracker on Google
|
|
|
|
Code (or comments to existing issues on the Google Code issue tracker)
|
|
|
|
will be ignored.
|
2014-03-31 18:52:23 +00:00
|
|
|
|
|
|
|
Changes from iperf 2.x
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
New options (not necessarily complete, please refer to the manual page
|
|
|
|
for a complete list of iperf3 options)::
|
|
|
|
|
|
|
|
-V, --verbose more detailed output than before
|
|
|
|
-J, --json output in JSON format
|
|
|
|
-Z, --zerocopy use a 'zero copy' sendfile() method of sending data
|
|
|
|
-O, --omit N omit the first n seconds (to ignore slowstart)
|
|
|
|
-T, --title str prefix every output line with this string
|
|
|
|
-F, --file name xmit/recv the specified file
|
|
|
|
-A, --affinity n/n,m set CPU affinity (Linux and FreeBSD only)
|
|
|
|
-k, --blockcount #[KMG] number of blocks (packets) to transmit (instead
|
|
|
|
of -t or -n)
|
|
|
|
-L, --flowlabel set IPv6 flow label (Linux only)
|
|
|
|
|
|
|
|
Changed flags::
|
|
|
|
|
|
|
|
-C, --linux-congestion set congestion control algorithm (Linux only)
|
|
|
|
(-Z in iperf2)
|
|
|
|
|
|
|
|
|
|
|
|
Deprecated flags (currently no plans to support)::
|
|
|
|
|
|
|
|
-d, --dualtest Do a bidirectional test simultaneously
|
|
|
|
-r, --tradeoff Do a bidirectional test individually
|
|
|
|
-T, --ttl time-to-live, for multicast (default 1)
|
|
|
|
-x, --reportexclude [CDMSV] exclude C(connection) D(data) M(multicast)
|
|
|
|
S(settings) V(server) reports
|
|
|
|
-y, --reportstyle C report as a Comma-Separated Values
|
|
|
|
|
|
|
|
Also deprecated is the ability to set the options via environment
|
|
|
|
variables.
|
|
|
|
|
|
|
|
Known Issues
|
|
|
|
------------
|
|
|
|
|
|
|
|
The following problems are notable known issues, which are probably of
|
|
|
|
interest to a large fraction of users or have high impact for some
|
|
|
|
users, and for which issues have already been filed in the issue
|
|
|
|
tracker. These issues are either open (indicating no solution
|
|
|
|
currently exists) or closed with the notation that no further attempts
|
|
|
|
to solve the problem are currently being made:
|
|
|
|
|
2014-05-01 20:32:45 +00:00
|
|
|
* The ``-Z`` flag sometimes causes the iperf3 client to hang on OSX.
|
|
|
|
(Issue #129)
|
2014-03-31 18:52:23 +00:00
|
|
|
|
|
|
|
* When specifying the TCP buffer size using the ``-w`` flag on Linux,
|
2014-04-07 18:02:32 +00:00
|
|
|
the Linux kernel automatically doubles the value passed in to
|
|
|
|
compensate for overheads. (This can be observed by using
|
|
|
|
iperf3's ``--debug`` flag.) However, CWND does not actually ramp up
|
2014-03-31 18:52:23 +00:00
|
|
|
to the doubled value, but only to about 75% of the doubled
|
2014-04-07 18:02:32 +00:00
|
|
|
value. Some part of this behavior is documented in the tcp(7)
|
2017-02-24 23:32:21 +00:00
|
|
|
manual page.
|
|
|
|
|
|
|
|
* Although the ``-w`` flag is documented as setting the (TCP) window
|
|
|
|
size, it is also used to set the socket buffer size. This has been
|
|
|
|
shown to be helpful with high-bitrate UDP tests.
|
2014-03-31 18:52:23 +00:00
|
|
|
|
2014-04-17 15:48:28 +00:00
|
|
|
* On some platforms (observed on at least one version of Ubuntu
|
|
|
|
Linux), it might be necessary to invoke ``ldconfig`` manually after
|
|
|
|
doing a ``make install`` before the ``iperf3`` executable can find
|
|
|
|
its shared library. (Issue #153)
|
|
|
|
|
2017-02-24 23:32:21 +00:00
|
|
|
* The results printed on the server side at the end of a test do not
|
|
|
|
correctly reflect the client-side measurements. This is due to the
|
|
|
|
ordering of computing and transferring results between the client
|
|
|
|
and server. (Issue #293)
|
|
|
|
|
|
|
|
* The server could have a very short measurement reporting interval at
|
|
|
|
the end of a test (particularly a UDP test), containing few or no
|
|
|
|
packets. This issue is due to an artifact of timing between the
|
|
|
|
client and server. (Issue #278)
|
|
|
|
|
2014-03-31 18:52:23 +00:00
|
|
|
There are, of course, many other open and closed issues in the issue
|
|
|
|
tracker.
|
|
|
|
|
|
|
|
Versioning
|
|
|
|
----------
|
|
|
|
|
2014-04-07 18:02:32 +00:00
|
|
|
iperf3 version numbers use (roughly) a `Semantic Versioning
|
|
|
|
<http://semver.org/>`_ scheme, in which version numbers consist of
|
|
|
|
three parts: *MAJOR.MINOR.PATCH*
|
2014-03-31 18:52:23 +00:00
|
|
|
|
|
|
|
The developers increment the:
|
|
|
|
|
|
|
|
* *MAJOR* version when making incompatible API changes,
|
|
|
|
|
|
|
|
* *MINOR* version when adding functionality in a backwards-compatible manner, and
|
|
|
|
|
|
|
|
* *PATCH* version when making backwards-compatible bug fixes.
|
|
|
|
|
|
|
|
Release Engineering Checklist
|
|
|
|
-----------------------------
|
|
|
|
|
|
|
|
1. Update the ``README`` and ``RELEASE_NOTES`` files to be accurate. Make sure
|
2017-05-18 21:55:02 +00:00
|
|
|
that the "Known Issues" section of the ``README`` file and in this document
|
|
|
|
are up to date.
|
2014-03-31 18:52:23 +00:00
|
|
|
|
|
|
|
2. Compose a release announcement. Most of the release announcement
|
2014-06-16 18:59:36 +00:00
|
|
|
can be written before tagging. Usually the previous version's
|
|
|
|
announcement can be used as a starting point.
|
2014-03-31 18:52:23 +00:00
|
|
|
|
2014-06-16 18:59:36 +00:00
|
|
|
3. Preferably starting from a clean source tree (be sure that ``git
|
2014-07-28 19:21:33 +00:00
|
|
|
status`` emits no output), make the changes necessary to produce
|
|
|
|
the new version, such as bumping version numbers::
|
2014-03-31 18:52:23 +00:00
|
|
|
|
2014-06-16 18:59:36 +00:00
|
|
|
vi RELEASE_NOTES # update version number and release date
|
2014-03-31 18:52:23 +00:00
|
|
|
vi configure.ac # update version parameter in AC_INIT
|
|
|
|
vi src/iperf3.1 # update manpage revision date if needed
|
|
|
|
vi src/libiperf.3 # update manpage revision date if needed
|
2014-06-16 18:59:36 +00:00
|
|
|
git commit -a # commit changes to the local repository only
|
2014-03-31 18:52:23 +00:00
|
|
|
./bootstrap.sh # regenerate configure script, etc.
|
2014-06-16 18:59:36 +00:00
|
|
|
git commit -a # commit changes to the local repository only
|
2014-03-31 18:52:23 +00:00
|
|
|
|
2014-06-16 18:59:36 +00:00
|
|
|
# Assuming that $VERSION is the version number to be released...
|
|
|
|
./make_release tag $VERSION # this creates a tag in the local repo
|
|
|
|
./make_release tar $VERSION # create tarball and compute SHA256 hash
|
|
|
|
|
2014-05-02 18:35:59 +00:00
|
|
|
These steps should be done on a platform with a relatively recent
|
|
|
|
version of autotools / libtools. Examples are MacOS / MacPorts or
|
|
|
|
FreeBSD. The versions of these tools in CentOS 6 are somewhat
|
|
|
|
older and probably should be avoided.
|
2014-03-31 18:52:23 +00:00
|
|
|
|
2014-07-28 19:21:33 +00:00
|
|
|
The result will be a release artifact that should be used for
|
|
|
|
pre-testing.
|
|
|
|
|
2014-03-31 18:52:23 +00:00
|
|
|
4. Stage the tarball (and a file containing the SHA256 hash) to the
|
2014-06-10 23:05:33 +00:00
|
|
|
download site. Currently this is located on ``downloads.es.net``.
|
2014-03-31 18:52:23 +00:00
|
|
|
|
|
|
|
5. From another host, test the link in the release announcement by
|
|
|
|
downloading a fresh copy of the file and verifying the SHA256
|
2014-06-16 18:59:36 +00:00
|
|
|
checksum. Checking all other links in the release announcement is
|
|
|
|
strongly recommended as well.
|
2014-03-31 18:52:23 +00:00
|
|
|
|
|
|
|
6. Also verify (with file(1)) that the tarball is actually a gzipped
|
|
|
|
tarball.
|
|
|
|
|
|
|
|
7. For extra points, actually try downloading, compiling, and
|
|
|
|
smoke-testing the results of the tarball on all supported
|
|
|
|
platforms.
|
|
|
|
|
|
|
|
8. Plug the SHA256 checksum into the release announcement.
|
|
|
|
|
2014-09-30 21:04:30 +00:00
|
|
|
9. PGP-sign the release announcement text using ``gpg --clearsign``.
|
2014-06-16 18:59:36 +00:00
|
|
|
The signed announcement will be sent out in a subsequent emails,
|
|
|
|
but could also be archived. Decoupling the signing from emailing
|
|
|
|
allows a signed release announcement to be resent via email or sent
|
|
|
|
by other, non-email means.
|
|
|
|
|
2014-07-28 19:21:33 +00:00
|
|
|
10. At this point, the release can and should be considered
|
|
|
|
finalized. To commit the release-engineering-related changes to
|
|
|
|
GitHub and make them public, push them out thusly::
|
|
|
|
|
|
|
|
git push # Push version changes
|
|
|
|
git push --tags # Push the new tag to the GitHub repo
|
|
|
|
|
|
|
|
11. Send the PGP-signed release announcement to the following
|
2014-08-28 22:38:23 +00:00
|
|
|
addresses. Remember to turn off signing in the MUA, if
|
|
|
|
applicable. Remember to check the source address when posting to
|
|
|
|
lists, as "closed" list will reject posting from all from
|
|
|
|
registered email addresses.
|
2014-06-16 18:59:36 +00:00
|
|
|
|
|
|
|
* iperf-dev@googlegroups.com
|
2014-03-31 18:52:23 +00:00
|
|
|
|
2014-06-16 18:59:36 +00:00
|
|
|
* iperf-users@lists.sourceforge.net
|
2014-03-31 18:52:23 +00:00
|
|
|
|
2014-06-16 18:59:36 +00:00
|
|
|
* perfsonar-user@internet2.edu
|
2014-03-31 18:52:23 +00:00
|
|
|
|
2014-06-16 18:59:36 +00:00
|
|
|
* perfsonar-developer@internet2.edu
|
2014-03-31 18:52:23 +00:00
|
|
|
|
2014-06-16 18:59:36 +00:00
|
|
|
Note: Thunderbird sometimes mangles the PGP-signed release
|
|
|
|
announcement so that it does not verify correctly. This could be
|
|
|
|
due to Thunderbird trying to wrap the length of extremely long
|
|
|
|
lines (such as the SHA256 hash). Apple Mail and mutt seem to
|
|
|
|
handle this situation correctly. Testing the release announcement
|
|
|
|
sending process by sending a copy to oneself first and attempting
|
|
|
|
to verify the signature is highly encouraged.
|
2014-03-31 18:52:23 +00:00
|
|
|
|
2014-07-28 19:21:33 +00:00
|
|
|
12. Update the iperf3 Project News section of the documentation site
|
2014-06-16 18:59:36 +00:00
|
|
|
to announce the new release (see ``docs/news.rst`` and
|
|
|
|
``docs/conf.py`` in the source tree) and deploy a new build of the
|
|
|
|
documentation to GitHub Pages.
|
2014-04-07 18:02:32 +00:00
|
|
|
|
2016-11-10 22:23:42 +00:00
|
|
|
13. If an update to the on-line manual page is needed, it can be
|
2016-11-10 22:28:14 +00:00
|
|
|
generated with this sequence of commands (tested on CentOS 7) and
|
|
|
|
import the result into ``invoking.rst``::
|
|
|
|
|
2016-11-10 22:23:42 +00:00
|
|
|
TERM=
|
|
|
|
export TERM
|
|
|
|
nroff -Tascii -c -man src/iperf3.1 | ul | sed 's/^/ /' > iperf3.txt
|
|
|
|
|
2014-06-09 17:18:50 +00:00
|
|
|
Code Authors
|
|
|
|
------------
|
|
|
|
|
|
|
|
The main authors of iperf3 are (in alphabetical order): Jon Dugan,
|
|
|
|
Seth Elliott, Bruce A. Mah, Jeff Poskanzer, Kaustubh Prabhu.
|
|
|
|
Additional code contributions have come from (also in alphabetical
|
2015-01-05 23:19:57 +00:00
|
|
|
order): Mark Ashley, Aaron Brown, Aeneas Jaißle, Susant Sahani,
|
|
|
|
Bruce Simpson, Brian Tierney.
|
2014-06-09 17:18:50 +00:00
|
|
|
|
|
|
|
iperf3 contains some original code from iperf2. The authors of iperf2
|
|
|
|
are (in alphabetical order): Jon Dugan, John Estabrook, Jim Ferbuson,
|
|
|
|
Andrew Gallatin, Mark Gates, Kevin Gibbs, Stephen Hemminger, Nathan
|
|
|
|
Jones, Feng Qin, Gerrit Renker, Ajay Tirumala, Alex Warshavsky.
|