Chapter 5

iPerf3

A very lightweight server and client for testing network performance (throughput, bandwidth, etc) between the endpoints running the iPerf server and iPerf client.

iPerf’s home page, documentation, download, and credits can be found here: https://iperf.fr

Subsections of iPerf3

Running iPerf3 Commands


Likely helpful to disable firewall for the iperf3 host:

systemctl stop firewalld
systemctl disable firewalld

Start the iperf server on one of your endpoints:

iperf3 -s

Run the client on the other endpoint:

iperf3 -c <ip address of server>

Example iperf command with several options specified:

iperf3 -c <ip address of server> -i 20 -udp -b 10000M
SwitchDescription
-i 20meaning, “for 20 intervals of 1 second each”
-udpspecifically use UDP protocol for this test
-b 10000M“use bandwidth of 10,000 Mbits, or as much as possible