Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux iperf Network Transmission performance Test tool

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Iperf is a network performance testing tool. Iperf can test maximum TCP and UDP bandwidth performance. Iperf has a variety of parameters and UDP features that can be adjusted as needed. Iperf can report bandwidth, delay jitter and packet loss. The testing is divided into the server and the client. Installation method yum install iperf-y is suitable for scenarios

1: test the maximum network performance from a virtual machine to another virtual machine under the same host

2: test the maximum network performance of the common cloud private network

3: test the maximum transmission performance of LAN wifi

4: test the bandwidth between two points

Iperf parameter introduction # Common parameter-I 2 # indicates that the report is displayed every 2 seconds-w 80k # for TCP mode, this setting is the TCP window size. For UDP mode, this is set to accept the buffer size of UDP packets, limiting the maximum acceptable packet value-B 192.168.122.1 # bound to one of the multiple addresses of the host. For the client, this parameter sets the de-stack interface. For the server side, this parameter sets the stack interface. This parameter is only used for hosts with multiple network interfaces. # in the UDP mode of Iperf, this parameter is used to bind and join a multicast group. Use Multicast addresses in the range from 224.0.0.0 to 239.255.255.255 # Common client parameters-b 100m # when used in udp testing, set the bandwidth sent by the test (in bit/ seconds). Default is: 1Mbit/ seconds-c # specify server ip address-d # test both uplink and downlink-t 10 # set transmission time Specify 5 threads for 10 seconds-P 5 # to initiate the UDP mode test server iperf-u-s #-u to run in udp mode, and-s to represent the server client iperf-u-c 192.168.122.1-b 100m-t 60-I to explain: in udp mode, the client uploads the bandwidth test to the server 192.168.1.1 with 100Mbps as the data transmission rate The test time is 60 seconds iperf-u-c 192.168.122.1 5m-P 30-t 6 # client initiates 30 connection threads to the server at the same time, using 5Mbps as the data transmission rate iperf-u-c 192.168.122.1-b 100m-d-t 60 # 100m-d-t 60 # Upstream and downlink bandwidth test TCP mode test server iperf-s client iperf-c 192.168.122.1-t 60 # in tcp mode, client to server 192.168.1.1 upload bandwidth test, test time is 60 seconds. Iperf-c 192.168.122.1-P 30-t 60 # client initiates 30 connection threads to the server at the same time. Iperf-c 192.168.122.1-d-t 60-I 2 # to test the upstream and downlink bandwidth.

Original address: https://www.linuxprobe.com/iperf-network-test.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report