iperf
is a TCP and UDP bandwidth performance measurement tool. Its latest incarnation is hosted at https://code.google.com/p/iperf/. It can be built for various platforms, amongst them, Linux and RTEMS. 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.
To build iperf
, see the README
and INSTALL
files in the iperf
root directory. For Linux, I used the sequence:
Code Block | ||
---|---|---|
| ||
cd /afs/slac/g/cci/package/iperf
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.
For RTEMS, I used the sequence:
Code Block | ||
---|---|---|
| ||
cd /afs/slac/g/cci/package/iperf
mkdir rtems
cd rtems
../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-64.