iperf service
1. About
iperf is a tool for network performance measurement and tuning. It can produce standardized performance measurements for any network. iperf has client and server functionality, and can create data streams to measure the throughput between the two ends in one or both directions. Typical iperf output contains a time-stamped report of the amount of data transferred and the throughput measured.
2. Systems
3. Features
iperf on iperf2.bfh.info runs on the default 5001 port. It allows multiple concurrent connections, hence multiple clients can connect to the same port concurrently.
iperf3 on iperf3.bfh.info runs on the default 5201 port. It allows one single connection only, so only one client can connect to one port exclusively. Therefore we run iperf3 on additional ports from 5202 to 5226, try with the ‘
-p $port’ option until you get a free one.
4. Operations
4.1 Iperf client, Version 2
# test upload (TCP) from client to iperf2.bfh.info
iperf -c iperf2.bfh.info -i 1
# test download (TCP) from iperf2.bfh.info to client
iperf -c iperf2.bfh.info -i 1 -R
# test upload (UDP) from client to iperf2.bfh.info
iperf -c iperf2.bfh.info -i 1 -b 0 -u
# test download (UDP) from iperf2.bfh.info to client
iperf -c iperf2.bfh.info -i 1 -b 0 -u -R
4.2 Iperf client, Version 3
# test upload (TCP) from client to iperf3.bfh.info
iperf3 -c iperf3.bfh.info --timestamps
# if the default port 5201 is busy, try with another port (5202-5226)
iperf3 -c iperf3.bfh.info -p 5202 --timestamps
# test download (TCP) from iperf3.bfh.info to client
iperf3 -c iperf3.bfh.info --timestamps -R
# if the default port 5201 is busy, try with another port (5202-5226)
iperf3 -c iperf3.bfh.info -p 5202 --timestamps -R
# test upload (UDP) from client to iperf3.bfh.info
iperf3 -c iperf3.bfh.info --timestamps -b 0 -u
# if the default port 5201 is busy, try with another port (5202-5226)
iperf3 -c iperf3.bfh.info -p 5202 --timestamps -b 0 -u
# test download (UDP) from iperf3.bfh.info to client
iperf3 -c iperf3.bfh.info --timestamps -b 0 -u -R
# if the default port 5201 is busy, try with another port (5202-5226)
iperf3 -c iperf3.bfh.info -p 5202 --timestamps -b 0 -u -R