Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 iperf3 测试网速 #345

Open
Bpazy opened this issue Dec 22, 2024 · 0 comments
Open

使用 iperf3 测试网速 #345

Bpazy opened this issue Dec 22, 2024 · 0 comments

Comments

@Bpazy
Copy link
Owner

Bpazy commented Dec 22, 2024

Ubuntu 安装 iperf3:

$ sudo apt install -y iperf3

A 服务器启动 iperf3 服务端:

$ iperf3 -s

B 服务器启动 iperf3 客户端,并指定服务端地址:

$ iperf3 -c 192.168.31.31

Connecting to host 192.168.31.31, port 5201
[  5] local 192.168.31.41 port 53852 connected to 192.168.31.31 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  14.2 MBytes   120 Mbits/sec    0    600 KBytes       
[  5]   1.00-2.00   sec  10.8 MBytes  90.2 Mbits/sec    0   1.14 MBytes       
[  5]   2.00-3.00   sec  12.4 MBytes   104 Mbits/sec    0   1.70 MBytes       
[  5]   3.00-4.00   sec  10.9 MBytes  91.2 Mbits/sec    0   2.26 MBytes       
[  5]   4.00-5.00   sec  10.8 MBytes  90.2 Mbits/sec    0   2.82 MBytes       
[  5]   5.00-6.00   sec  10.9 MBytes  91.2 Mbits/sec    0   3.15 MBytes       
[  5]   6.00-7.00   sec  11.0 MBytes  92.3 Mbits/sec    0   3.15 MBytes       
[  5]   7.00-8.00   sec  11.0 MBytes  92.3 Mbits/sec    0   3.15 MBytes       
[  5]   8.00-9.00   sec  12.5 MBytes   105 Mbits/sec    0   3.15 MBytes       
[  5]   9.00-10.00  sec  11.0 MBytes  92.3 Mbits/sec    0   3.15 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   115 MBytes  96.8 Mbits/sec    0             sender
[  5]   0.00-10.31  sec   115 MBytes  93.4 Mbits/sec                  receiver

iperf Done.

这里可以看到约为 100M 带宽。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant