1
hxsf 14 小时 16 分钟前
1. 先试试纯连接的速度。知道 openwrt 的 ip 后。
两边使用 iperf3 分别测试下 tcp/udp (重点,wg 使用 udp )的单/多线程速度。 合理怀疑运营商 udp 限速。 2. 看看 openwrt 的内核版本,是否原生 wg 还是用户态的。然后测 wg 速的时候看看 cpu 占用。 |
2
zhjh0521 OP @hxsf 能详细解释下嘛。#1 怎么使用 iperf3 测试 tcp/udp 嘛,我知道 openwrt 的 ip 。#2 如何看是原生 wg 还是用户态的?
|
3
zhjh0521 OP @hxsf 用 iperf 测了一下 tcp ,速度是正常的。测了一下 udp ,完全没数据。server 打印的信息:
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams [ 5] 0.00-1.00 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%) [ 5] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%) [ 5] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%) [ 5] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%) |