IPerf3

Measuring network bandwidth using IPerf3

Measuring network bandwidth using iperf3

Install on both the client and the server:

sudo apt install iperf3

Run on the server:

iperf3 --server --port <port>

For example:

iperf3 --server --port 1234

Run on the client:

iperf3 --client <host> --port <port>

For example:

iperf3 --client 192.168.1.233 --port 1234

Example output on the client side:

Connecting to host 192.168.1.2, port 1234
[  5] local 192.168.1.3 port 56760 connected to 192.168.1.2 port 1234
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   114 MBytes   955 Mbits/sec    0    413 KBytes       
[  5]   1.00-2.00   sec   112 MBytes   943 Mbits/sec    0    436 KBytes       
[  5]   2.00-3.00   sec   112 MBytes   941 Mbits/sec    0    436 KBytes       
[  5]   3.00-4.00   sec   112 MBytes   942 Mbits/sec    0    455 KBytes       
[  5]   4.00-5.00   sec   112 MBytes   943 Mbits/sec    0    455 KBytes       
[  5]   5.00-6.00   sec   112 MBytes   939 Mbits/sec    0    481 KBytes       
[  5]   6.00-7.00   sec   113 MBytes   950 Mbits/sec    0    549 KBytes       
[  5]   7.00-8.00   sec   112 MBytes   942 Mbits/sec    0    549 KBytes       
[  5]   8.00-9.00   sec   112 MBytes   939 Mbits/sec    0    576 KBytes       
[  5]   9.00-10.00  sec   112 MBytes   937 Mbits/sec    0    576 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.10 GBytes   943 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1.10 GBytes   941 Mbits/sec                  receiver

iperf Done.

References

https://www.sevarg.net/2019/04/14/nvidia-jetson-nano-desktop-use-kernel-builds/

https://github.com/esnet/iperf

https://software.es.net/iperf/

Content Licensed under CC BY-SA 4.0. Code licensed under the MIT License.