CentOS 8.x iperf3

From Notes_Wiki
Revision as of 04:56, 11 November 2020 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb self="iperf3">CentOS 8.x Desktop tools or applications|Desktop tools or applications</yambe:breadcrumb> =CentOS 8.x iperf3= We can use iperf3 tool to check...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb self="iperf3">CentOS 8.x Desktop tools or applications|Desktop tools or applications</yambe:breadcrumb>

CentOS 8.x iperf3

We can use iperf3 tool to check bandwidth between two nodes. For this on source node install iperf3 (yum -y install iperf3) from epel repository. Then run it usng:

iperf3 -s -V

This way iperf will listen on port 5001 for incoming connections from other node for performance testing.

There is -p option to specify different port than 5001, if required.


Then on the other node install iperf to send connections and check TCP throughput using:

sudo iperf3 -c <remote-ip> -P 20 -w 128K -V
sudo iperf3 -c <remote-ip> -P 20 -w 512K -V
sudo iperf3 -c <remote-ip> -P 20 -w 1024K -V

Note that higher windows sizes might require jumbo frames to be enabled. Only 128K and 256K window sizes might work with default 1500 MTU.


If more higher UDP bandwidth (without throttling) needs to be checked without worrying about fairness (TCP) then use:

iperf3 -c <remote-ip> -u -b 200M -t 30
iperf3 -c <remote-ip> -u -b 500M -t 30
iperf3 -c <remote-ip> -u -b 1G -t 30


This is for checking bandwidth speed when you have access and can install iperf3. If you do not have access to the remote server but fortunately it is a HTTP server, then we can use tools such as aria2 to do parallel download and check the bandwidth using TCP, quite similar to what iperf3 is doing above.


Refer: