Introduction to iperf and download and installation

1.iperf

Iperf is a network performance testing tool. Iperf can test TCP and UDP bandwidth quality. Iperf can measure the maximum TCP bandwidth, with various parameters and UDP characteristics. Iperf can report bandwidth, latency jitter and packet loss. Using this feature of Iperf, it can be used to test the performance of some network devices such as routers, firewalls, switches, etc.

Iperf official document address: https://iperf.fr/iperf-doc.php

2. Iperf download and install

There are many ways to install Iperf, you can download the source code to compile and install, or you can directly use the compiled binary version.

Install under ubuntu

apt-get install iperf 

2.1.yum method

yum update -y

yum install iperf -y

2.2 tar mode 

Iperf2 official website, you can download different versions of iperf 

IPerf2 - Browse Files at SourceForge.net

 Download the 2.09 version installation package

https://iperf.fr/download/source/iperf-2.0.9-source.tar.gz

Install 

tar -zxvf  iperf-2.0.9-source.tar.gz

cd iperf-2.0.9/

make clean

make

This method requires a gcc compilation environment.

2.3 rpm mode

Download the rpm package of iperf2 

wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/i/iperf-2.0.13-1.el7.x86_64.rpm

 Install

rpm  -ivh  iperf-2.0.13-1.el7.x86_64.rpm

 

2.4 iperf3 yum installation method

yum -y install iperf3

 View version iperf3 -v

Guess you like

Origin blog.csdn.net/lovebaby1689/article/details/126317122