Technical Tip: How to test the bandwidth of a link
| Description | This article describes how to test the bandwidth of a link. |
| Scope | FortiGate. |
| Solution | UDP testing is preferred when it comes to link bandwidth testing, like a WAN link.
Packet loss is not considered when using UDP. Data payload can be sent at a very high rate over UDP. The bandwidth value over UDP is raw, and it is not limited by latency or packet loss.
Latency for acknowledgment or flow control could reduce the observed bandwidth when the test is done over TCP.
The following is an example of how to test from the server side:
iperf3 -s -p 5201
The following is an example of how to test from the client side 1G bandwidth with iperf3 over UDP:
iperf3 -c <IP_server_address> -u -b 1G -t 20 -p 5201 |
