iperf
is a TCP and UDP bandwidth performance measurement tool. Its
iperf3
iperf3
is the latest incarnation of the iperf
tool, and is hosted at https://code.google.com/p/iperf/. It can nominally be built for various platforms, amongst them, Linux and RTEMS. Unfortunately, iperf3
requires a more modern networking stack than that is currently (Dec. 2013) included with 4.11 RTEMS distribution. So, for RTEMS, see iperf2
, below.
The Linux build is installed in the DAT group space at /afs/slac/g/cci/
, with the source code in packages/
. The binary and library can be found in /afs/slac/g/cci/bin
and lib
, resp.
...
Code Block | ||
---|---|---|
| ||
cd /afs/slac/g/cci/package/iperfiperf3 mkdir linux cd linux ../configure --prefix /afs/slac/g/cci make make install |
The choice of the prefix argument indicates that the results should be installed in the /afs/slac/g/cci
area, rather than in the /usr/local
area. In /afs/slac/g/cci/bin
you can find the main program iperf3
, for example. Run iperf3 --help
to see the choice of options, but basically, the idea is to run one instance on one machine in server mode (iperf3 -s
), and another instance on a different machine in client mode (iperf3 -c
).
iperf2
This older version of the iperf
tool is hosted at http://iperf.sourceforge.net/. It doesn't seem to be entirely dead, since the latest version (2.0.5) was placed there on June 12, 2013.
For Linux, the sequence is the same as for iperf3
For RTEMS, I used the sequence:
Code Block | ||
---|---|---|
| ||
cd /afs/slac/g/cci/package/iperfiperf2 mkdir rtemslinux cd rtemslinux ../configure --prefix /afs/slac/g/cci --build=arm-unknown-rtems4.11 --host=arm-rtems4.11 make make install |
But, the above doesn't work. While the configure looks to run correctly and identifies the correct cross compiler to use, make
uses the default gcc
and the results end up targeted for an AMD X86-64For RTEMS, TBD.