1. Introduction to iPerf3iPerf3 is a widely used network performance testing tool, mainly used to measure the bandwidth quality of TCP, UDP and SCTP. It is not only suitable for network administrators to detect network performance bottlenecks, but also suitable for developers to use when developing and debugging network applications. This tutorial will introduce in detail how to install, configure and use iPerf3 for network bandwidth testing. 2. Installation of iPerf31. Install on LinuxIn most Linux distributions, iPerf3 can be installed directly through the package manager. For example, in Ubuntu or Debian systems, you can use the following command: On CentOS or RHEL systems, you can use the following command: 2. Install on macOSmacOS users can easily install iPerf3 via Homebrew: 3. Install on WindowsAfter downloading the iPerf3 installation package from the official website, unzip the file, open the cmd terminal, cd to the unzipped directory, you can find the iperf3.exe program and use it normally. Windows users can download the iPerf3 executable file from the official GitHub repository [1], then unzip it and run it directly. 3. Basic usage of iPerf3The use of iPerf3 requires a server and a client. The server is responsible for listening and receiving data, and the client is responsible for sending data and measuring performance. 1. Start the serverRun the following command on the server to start the iPerf3 server: This command starts the iPerf3 service. A successful startup is shown in the following figure: 2. Start the client and testOn the client, run the following command to connect to the server and perform a bandwidth test: For example: The client will send data to the server and display the network bandwidth results. As shown in the figure below: The results of the iPerf3 test include the following key indicators:
IV. Advanced usage tips for iPerf31. Customize test timeBy default, the iPerf3 test time is 10 seconds. You can customize the test time by using the -t option: This command will measure the network bandwidth within 30 seconds. The output is shown in the figure below: 2. Test UDP bandwidthBy default, iPerf3 uses TCP for testing. To test UDP bandwidth, use the -u option: This command will test the bandwidth of UDP and limit the bandwidth to 10Mbps. 3. Simultaneous multi-threaded testingiPerf3 supports multi-threaded testing. The number of threads can be specified using the -P option: This command will use 5 concurrent threads for bandwidth testing. 4. Test reverse bandwidthIn some cases, you may want to test the bandwidth from the server to the client, which can be achieved with the -R option: This command will receive data on the client side and measure the bandwidth from the server to the client. SummarizeiPerf3 is a powerful network performance testing tool. Its easy-to-use command line interface can quickly help users evaluate network performance. Through the introduction of this article, you should have mastered how to install, configure and use iPerf3 for basic and advanced network bandwidth testing. I hope this tutorial can help you understand and use iPerf3. Reference Documentation [1]Official GitHub repository: https://github.com/esnet/iperf |
The latest generation of Wi-Fi technology, Wi-Fi ...
[[423414]] This article mainly talks about puppet...
Introduction to Wireless Networks Wi-Fi is a tech...
The digital divide is a term used to describe the...
NexusBytes describes itself as a one-person compa...
DiyVM is a Chinese hosting company founded in 200...
On September 4, 2017, the Chinese government offi...
On December 24, 2020, at a press conference held ...
Faconhost is a relatively new foreign hosting com...
[[188584]] When it comes to Internet companies in...
Frank Scalzo, network director at data center ope...
While the Internet of Things has the potential to...
Faced with the sudden outbreak of the COVID-19 pa...
UDP (User Datagram Protocol) protocol, translated...
As the business tentacles of enterprises in vario...