内网网速测试
- 内网网速测试主要用于测试网络设备的性能.
- 目前可以使用 iperf3 这个软件官方网站.
- 该软件支持Linux和Windows,Mac OS等操作系统
- Linux端可以使用如下命令安装
sudo apt install iperf3
iperf3 -s
joe@Joe:~$ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 172.17.176.1, port 57088
[ 5] local 172.17.181.231 port 5201 connected to 172.17.176.1 port 57089
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 1.29 GBytes 11.1 Gbits/sec
[ 5] 1.00-2.00 sec 1.39 GBytes 12.0 Gbits/sec
[ 5] 2.00-3.00 sec 1.44 GBytes 12.4 Gbits/sec
[ 5] 3.00-4.00 sec 1.29 GBytes 11.1 Gbits/sec
[ 5] 4.00-5.00 sec 1.22 GBytes 10.5 Gbits/sec
[ 5] 5.00-6.00 sec 1.12 GBytes 9.60 Gbits/sec
[ 5] 6.00-7.00 sec 1.20 GBytes 10.3 Gbits/sec
[ 5] 7.00-8.00 sec 1.24 GBytes 10.7 Gbits/sec
[ 5] 8.00-9.00 sec 1.32 GBytes 11.3 Gbits/sec
[ 5] 9.00-10.00 sec 1.35 GBytes 11.6 Gbits/sec
[ 5] 10.00-10.05 sec 45.4 MBytes 7.96 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.05 sec 12.9 GBytes 11.0 Gbits/sec receiver
iperf3 -c 172.17.181.231 -p 5201
C:\Users\Joe>iperf3 -c 172.17.181.231 -p 5201
Connecting to host 172.17.181.231, port 5201
[ 4] local 172.17.176.1 port 57089 connected to 172.17.181.231 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 1.35 GBytes 11.6 Gbits/sec
[ 4] 1.00-2.00 sec 1.39 GBytes 12.0 Gbits/sec
[ 4] 2.00-3.00 sec 1.43 GBytes 12.2 Gbits/sec
[ 4] 3.00-4.00 sec 1.31 GBytes 11.3 Gbits/sec
[ 4] 4.00-5.00 sec 1.22 GBytes 10.5 Gbits/sec
[ 4] 5.00-6.00 sec 1.12 GBytes 9.61 Gbits/sec
[ 4] 6.00-7.00 sec 1.18 GBytes 10.1 Gbits/sec
[ 4] 7.00-8.00 sec 1.26 GBytes 10.8 Gbits/sec
[ 4] 8.00-9.00 sec 1.29 GBytes 11.1 Gbits/sec
[ 4] 9.00-10.00 sec 1.35 GBytes 11.6 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 12.9 GBytes 11.1 Gbits/sec sender
[ 4] 0.00-10.00 sec 12.9 GBytes 11.1 Gbits/sec receiver
iperf Done.
- Windows端的需要自己下载二进制文件然后配置环境变量后再使用命令行工具运行上述命令.