iperf3 网速测试¶
概要: 利用iperf3工具测试网速
创建时间: 2023.03.16 00:04:13
更新时间: 2023.07.28 23:09:42
安装iperf3¶
OpenWrt¶
直接离线方式安装(x86架构)
Bash | |
---|---|
macOS¶
Bash | |
---|---|
Debian 11¶
Bash | |
---|---|
Fedora 37¶
Bash | |
---|---|
机器一览¶
下面的机器均在PVE虚拟化平台下的两台物理机中,同个物理机的虚机使用虚拟网卡通信
机器 | IP | 物理机 |
---|---|---|
OpenWrt | 192.168.2.1 | 3965U |
Debian 11 | 192.168.2.215 | 10400 |
Fedora 37 | 192.168.2.182 | 10400 |
启动Server端¶
分别以OpenWrt和Fedora作为服务端,利用Debian作为客户端测试
Bash | |
---|---|
测试TCP吞吐量¶
Bash | |
---|---|

测试结果 Debian -> Fedora

测试UDP吞吐量¶
Bash | |
---|---|

测试结果 Debian -> Fedora

测试上下行带宽¶
使用UDP方式,指定带宽,看能否跑到理想的速率
Bash | |
---|---|

测试结果 Debian -> Fedora

可以看到跨物理机丢包严重,同个物理机丢包率较低