我的 2 个地址(简称 A 和 B )都是同城电信千兆宽带(百兆上传),之前发现 A 地址的上传被限速到 10M (上传 1MB/s ) 然后打 10000 后和 it 后台人员理论后,先说找不到问题,然后我发了 A 和 B 宽带互测的 iperf 的截图和理论当前电信官网的测试白名单机制后,过了一周多,直接收到工单完成的短信。
于是我用之前被限速的测速网站后,发现上传是恢复了……(吗?)
在 B 宽带处用 iperf 通过 tailscale 测试连接的速度后。发现 A 宽带还是被限速到 10M 。
然后我用 iperf 通过公网 ip 来测(要开高位端口才行,默认端口连不通),发现 tcp 的限速有时候被取消了。但是 udp 的还是一直被限速。 之所以说有时候,是因为测了一会,就可能会触发限速
通过公网直接从 B 宽带的测试结果(反向模式,A 传输给 B ,测试 A 的上传):
> iperf3.exe -c {public ip} -p 25021 -u -b 100M
[ 4] local {lan ip} port 53674 connected to {public ip} port 25021
[ ID] Interval Transfer Bandwidth Total Datagrams
[ 4] 0.00-1.01 sec 10.9 MBytes 90.2 Mbits/sec 1395
[ 4] 1.01-2.00 sec 12.0 MBytes 102 Mbits/sec 1535
[ 4] 2.00-3.01 sec 12.0 MBytes 100 Mbits/sec 1534
[ 4] 3.01-4.01 sec 11.7 MBytes 98.3 Mbits/sec 1503
[ 4] 4.01-5.01 sec 11.9 MBytes 99.9 Mbits/sec 1527
[ 4] 5.01-6.00 sec 12.0 MBytes 102 Mbits/sec 1538
[ 4] 6.00-7.00 sec 11.9 MBytes 100 Mbits/sec 1529
[ 4] 7.00-8.00 sec 11.9 MBytes 100 Mbits/sec 1529
[ 4] 8.00-9.01 sec 11.8 MBytes 98.4 Mbits/sec 1506
[ 4] 9.01-10.01 sec 11.9 MBytes 99.7 Mbits/sec 1527
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 4] 0.00-10.01 sec 118 MBytes 99.0 Mbits/sec 0.362 ms 6548/15101 (43%)
[ 4] Sent 15101 datagrams
> iperf3.exe -c {public ip} -p 25021 -u -b 100M -R
Connecting to host {public ip}, port 25021
Reverse mode, remote host 218.78.176.224 is sending
[ 4] local {lan ip} port 49192 connected to {public ip} port 25021
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 4] 0.00-1.01 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%)
[ 4] 1.01-2.00 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%)
[ 4] 2.00-3.02 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%)
[ 4] 3.02-4.01 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%)
[ 4] 4.01-5.01 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%)
[ 4] 5.01-6.01 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%)
[ 4] 6.01-7.01 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%)
[ 4] 7.01-8.01 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%)
[ 4] 8.01-9.01 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%)
[ 4] 9.01-10.01 sec 0.00 Bytes 0.00 bits/sec 0.000 ms 0/0 (0%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 4] 0.00-10.01 sec 120 MBytes 100 Mbits/sec 0.000 ms 0/0 (0%)
[ 4] Sent 0 datagrams
测了几次以后,在继续通过公网测试就会这样:
Reverse mode, remote host {public ip} is sending
[ 4] local {lan ip} port 5913 connected to {public ip} port 25021
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 1.67 MBytes 14.0 Mbits/sec
[ 4] 1.00-2.01 sec 589 KBytes 4.82 Mbits/sec
[ 4] 2.01-3.02 sec 588 KBytes 4.77 Mbits/sec
[ 4] 3.02-4.00 sec 595 KBytes 4.95 Mbits/sec
[ 4] 4.00-5.00 sec 592 KBytes 4.84 Mbits/sec
[ 4] 5.00-6.01 sec 581 KBytes 4.74 Mbits/sec
[ 4] 6.01-7.00 sec 608 KBytes 5.01 Mbits/sec
[ 4] 7.00-8.00 sec 591 KBytes 4.82 Mbits/sec
[ 4] 8.00-9.00 sec 593 KBytes 4.87 Mbits/sec
[ 4] 9.00-10.00 sec 586 KBytes 4.81 Mbits/sec
[ 4] 10.00-11.00 sec 603 KBytes 4.94 Mbits/sec
[ 4] 11.00-12.00 sec 592 KBytes 4.85 Mbits/sec
[ 4] 12.00-13.00 sec 592 KBytes 4.85 Mbits/sec
[ 4] 13.00-14.00 sec 593 KBytes 4.85 Mbits/sec
[ 4] 14.00-15.00 sec 592 KBytes 4.85 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-15.00 sec 10.2 MBytes 5.73 Mbits/sec 823 sender
[ 4] 0.00-15.00 sec 9.90 MBytes 5.53 Mbits/sec receiver
Server output:
-----------------------------------------------------------
Server listening on 25021 (test #3)
-----------------------------------------------------------
Accepted connection from {public ip}, port 5912
[ 5] local 172.16.1.2 port 25021 connected to 58.35.163.121 port 5913
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 2.12 MBytes 17.8 Mbits/sec 450 7.03 KBytes
[ 5] 1.00-2.00 sec 512 KBytes 4.19 Mbits/sec 19 7.03 KBytes
[ 5] 2.00-3.00 sec 512 KBytes 4.20 Mbits/sec 22 8.44 KBytes
[ 5] 3.00-4.00 sec 640 KBytes 5.24 Mbits/sec 28 7.03 KBytes
[ 5] 4.00-5.00 sec 640 KBytes 5.25 Mbits/sec 19 7.03 KBytes
[ 5] 5.00-6.00 sec 640 KBytes 5.24 Mbits/sec 23 7.03 KBytes
[ 5] 6.00-7.00 sec 512 KBytes 4.19 Mbits/sec 34 5.62 KBytes
[ 5] 7.00-8.00 sec 512 KBytes 4.19 Mbits/sec 24 7.03 KBytes
[ 5] 8.00-9.00 sec 768 KBytes 6.30 Mbits/sec 27 8.44 KBytes
[ 5] 9.00-10.00 sec 512 KBytes 4.19 Mbits/sec 37 7.03 KBytes
[ 5] 10.00-11.00 sec 512 KBytes 4.19 Mbits/sec 28 5.62 KBytes
[ 5] 11.00-12.00 sec 640 KBytes 5.25 Mbits/sec 30 7.03 KBytes
[ 5] 12.00-13.00 sec 768 KBytes 6.29 Mbits/sec 23 8.44 KBytes
[ 5] 13.00-14.00 sec 512 KBytes 4.19 Mbits/sec 24 7.03 KBytes
[ 5] 14.00-15.00 sec 512 KBytes 4.19 Mbits/sec 35 7.03 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-15.01 sec 10.1 MBytes 5.66 Mbits/sec 823 sender
如果是在 B 宽带处通过 tailscale 测试就一直这样,限速 10M: UDP
iperf3.exe -c 172.16.1.2 -R -u -b 100M -t 15 --get-server-output
Connecting to host 172.16.1.2, port 5201
Reverse mode, remote host 172.16.1.2 is sending
[ 4] local 100.88.112.34 port 59706 connected to 172.16.1.2 port 5201
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 4] 0.00-1.00 sec 1.89 MBytes 15.8 Mbits/sec 19284.648 ms 0/242 (0%)
[ 4] 1.00-2.01 sec 0.00 Bytes 0.00 bits/sec 19284.648 ms 0/0 (0%)
[ 4] 2.01-3.01 sec 0.00 Bytes 0.00 bits/sec 19284.648 ms 0/0 (0%)
[ 4] 3.01-4.00 sec 0.00 Bytes 0.00 bits/sec 19284.648 ms 0/0 (0%)
[ 4] 4.00-5.01 sec 0.00 Bytes 0.00 bits/sec 19284.648 ms 0/0 (0%)
[ 4] 5.01-6.00 sec 0.00 Bytes 0.00 bits/sec 19284.648 ms 0/0 (0%)
[ 4] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 19284.648 ms 0/0 (0%)
[ 4] 7.00-8.01 sec 0.00 Bytes 0.00 bits/sec 19284.648 ms 0/0 (0%)
[ 4] 8.01-9.01 sec 0.00 Bytes 0.00 bits/sec 19284.648 ms 0/0 (0%)
[ 4] 9.01-10.01 sec 0.00 Bytes 0.00 bits/sec 19284.648 ms 0/0 (0%)
[ 4] 10.01-11.00 sec 0.00 Bytes 0.00 bits/sec 19284.648 ms 0/0 (0%)
[ 4] 11.00-12.01 sec 0.00 Bytes 0.00 bits/sec 19284.648 ms 0/0 (0%)
[ 4] 12.01-13.00 sec 32.0 KBytes 264 Kbits/sec 14913.186 ms 18911/18915 (1e+02%)
[ 4] 13.00-14.01 sec 1.15 MBytes 9.57 Mbits/sec 7.996 ms 1270/1417 (90%)
[ 4] 14.01-15.01 sec 1.30 MBytes 10.9 Mbits/sec 4.413 ms 762/929 (82%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 4] 0.00-15.01 sec 179 MBytes 100 Mbits/sec 2.946 ms 22171/22927 (97%)
[ 4] Sent 22927 datagrams
Server output:
-----------------------------------------------------------
Server listening on 5201 (test #2)
-----------------------------------------------------------
Accepted connection from 172.16.2.1, port 5903
[ 5] local 172.16.1.2 port 5201 connected to 172.16.2.1 port 59706
[ ID] Interval Transfer Bitrate Total Datagrams
[ 5] 0.00-1.00 sec 11.9 MBytes 99.9 Mbits/sec 1529
[ 5] 1.00-2.00 sec 11.9 MBytes 100 Mbits/sec 1527
[ 5] 2.00-3.00 sec 11.9 MBytes 100 Mbits/sec 1526
[ 5] 3.00-4.00 sec 11.9 MBytes 99.9 Mbits/sec 1524
[ 5] 4.00-5.00 sec 11.9 MBytes 100 Mbits/sec 1525
[ 5] 5.00-6.00 sec 11.9 MBytes 99.9 Mbits/sec 1525
[ 5] 6.00-7.00 sec 11.9 MBytes 100 Mbits/sec 1528
[ 5] 7.00-8.00 sec 11.9 MBytes 99.9 Mbits/sec 1526
[ 5] 8.00-9.00 sec 11.9 MBytes 100 Mbits/sec 1526
[ 5] 9.00-10.00 sec 11.9 MBytes 100 Mbits/sec 1525
[ 5] 10.00-11.00 sec 11.9 MBytes 100 Mbits/sec 1525
[ 5] 11.00-12.00 sec 11.9 MBytes 99.9 Mbits/sec 1527
[ 5] 12.00-13.00 sec 11.9 MBytes 100 Mbits/sec 1525
[ 5] 13.00-14.00 sec 11.9 MBytes 99.9 Mbits/sec 1525
[ 5] 14.00-15.00 sec 11.9 MBytes 99.9 Mbits/sec 1526
[ 5] 15.00-15.03 sec 336 KBytes 105 Mbits/sec 41
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-15.03 sec 179 MBytes 100 Mbits/sec 0.000 ms 0/22930 (0%) sender
TCP
iperf3.exe -c 172.16.1.2 -R -P 4 -b 100M -t 15 --get-server-output
Connecting to host 172.16.1.2, port 5201
Reverse mode, remote host 172.16.1.2 is sending
[ 4] local 100.88.112.34 port 6007 connected to 172.16.1.2 port 5201
[ 6] local 100.88.112.34 port 6008 connected to 172.16.1.2 port 5201
[ 8] local 100.88.112.34 port 6009 connected to 172.16.1.2 port 5201
[ 10] local 100.88.112.34 port 6010 connected to 172.16.1.2 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 597 KBytes 4.88 Mbits/sec
[ 6] 0.00-1.00 sec 550 KBytes 4.49 Mbits/sec
...
[SUM] 14.00-15.00 sec 1006 KBytes 8.23 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-15.00 sec 3.88 MBytes 2.17 Mbits/sec 258 sender
[ 4] 0.00-15.00 sec 3.88 MBytes 2.17 Mbits/sec receiver
[ 6] 0.00-15.00 sec 4.50 MBytes 2.52 Mbits/sec 303 sender
[ 6] 0.00-15.00 sec 4.42 MBytes 2.47 Mbits/sec receiver
[ 8] 0.00-15.00 sec 5.00 MBytes 2.80 Mbits/sec 347 sender
[ 8] 0.00-15.00 sec 4.96 MBytes 2.77 Mbits/sec receiver
[ 10] 0.00-15.00 sec 3.00 MBytes 1.68 Mbits/sec 230 sender
[ 10] 0.00-15.00 sec 2.97 MBytes 1.66 Mbits/sec receiver
[SUM] 0.00-15.00 sec 16.4 MBytes 9.16 Mbits/sec 1138 sender
[SUM] 0.00-15.00 sec 16.2 MBytes 9.07 Mbits/sec receiver
Server output:
-----------------------------------------------------------
Server listening on 5201 (test #3)
-----------------------------------------------------------
Accepted connection from 172.16.2.1, port 6006
[ 5] local 172.16.1.2 port 5201 connected to 172.16.2.1 port 6007
[ 8] local 172.16.1.2 port 5201 connected to 172.16.2.1 port 6008
[ 10] local 172.16.1.2 port 5201 connected to 172.16.2.1 port 6009
[ 12] local 172.16.1.2 port 5201 connected to 172.16.2.1 port 6010
...
[SUM] 14.00-15.00 sec 1.12 MBytes 9.45 Mbits/sec 89
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-15.01 sec 3.75 MBytes 2.10 Mbits/sec 258 sender
[ 8] 0.00-15.01 sec 4.38 MBytes 2.44 Mbits/sec 303 sender
[ 10] 0.00-15.01 sec 5.00 MBytes 2.79 Mbits/sec 347 sender
[ 12] 0.00-15.01 sec 3.00 MBytes 1.68 Mbits/sec 230 sender
[SUM] 0.00-15.01 sec 16.1 MBytes 9.01 Mbits/sec 1138 sender
应该是 tailscale 的隧道是走的 UDP ,所以不管什么流量都会被封装在 tailscale 的 UDP 里。 另外好奇为什么公网直接 UDP 传输速度全部是 0 ?
![]() |
1
renchong 1 天前
我是成都电信,之前限速过
具体表现就是,ip 段被拉入一个特殊的网段,无论怎么重新拨号都无法跳出这个网段 然后上传下载速度极度不稳定,延迟巨高,ping 成都本地 dns 延迟都会超过 100ms ,这样也就没法打任何网络游戏,延迟基本都在 100 多 |
2
sir283 1 天前
继续投诉啊,电信就是要投诉才行,我当时在深圳城中村,就电信卡一直没信号,投诉过去当天,就好了半小时,半小时后,又变差了,然后过了一会,收到短信,说什么我这边电信信号没问题,就给我完成工单闭环了,靠,后来我一直叼它们,给他们客服打电话,结果一直不给我搞,后来应该是知道我要搬走了,才跟我说,已经处理好了,特别恶心人。
|
4
zyt5876 1 天前
我 UDP 和 HTTTPS 都被限速了,http 正常。
|
5
mayli 1 天前 via Android
Udp qos 是国内常规操作了
|
![]() |
6
pcitme 1 天前
孤陋寡闻,国内运营商 qos udp 都十多年了
|
![]() |
11
P945 1 天前 via iPhone
|
12
isnullstring 1 天前
UDP 本来就被歧视,所以才会说 http3 在国内走不通
|
![]() |
13
SenLief 1 天前 via iPhone
udp 国内一直不太行,经常限速的。
|
14
1423 1 天前
这个帖子给楼主 61 分
楼主击败了 90%的弱智用户,他们张口闭口 udp 啊 qos 啊, 连 iperf3 怎么用都不会 可惜楼主也不太会,人至少应该自己学会怎么在公网测 udp 吧? “宽带症候群”是给懂网络的人用的,结果全都是一群网络不及格用户 |
15
hallieastem 1 天前
iperf3 -c x.x.x.x -p xxxx -u -b 100K -t 600
iperf3 -c x.x.x.x -p xxxx -u -b 100M -t 600 跑了看看结果 |
16
cnbatch 12 小时 3 分钟前 ![]() OP 测速有点“狂暴”
怎么说呢,UDP 一上来就 100M ,明显不妥,须知道 UDP 测速是没有拥塞控制的,流量远超签约带宽被中间节点一刀切地丢包都不奇怪 正确做法是从小流量往大流量逐个试,比如试 5 次,100K 、1M 、3M 、10M 、20M 慢慢来,这样才可以试出真实的速度,同时看得出网络通畅情况 |
18
1423 4 小时 47 分钟前 ![]() @w568w 上面 cnbatch 提过的一点是对的,起步速率应该是两端最小签约带宽,一般建议从 10Mbits/s 开始,要在接收端看丢包率,发送端一般没有瓶颈,不需要发日志出来
从楼主 tailscale 测速看,udp 似乎是被限速在 10Mbits/s 了, 应该测试公网下 -b 5m -b 10m -b 20m, 你跑 100m 防火墙干你就对了 楼主说 “另外好奇为什么公网直接 UDP 传输速度全部是 0” 这显然是要自己解决的,可能原因有 1. MTU 问题, 测 udp 应该 -l 比如 500, 测试小包通不通 2. udp 源地址选择问题, -s -B 加 IP, 绑定到你要测试的 IP 上 3. 有问题应该自己 tcpdump 抓包看 iperf3 tcp -b 100M 只能约束,不能摆脱拥塞,流量控制. 只用于在高速网络上低速测速,比如双 1G 直接跑丢包多, 可以测 -b 800m 看是不是 0 丢包,楼主这个场景 tcp -b 没有用,不需要. 如果 udp 小速率也丢包严重,那是网络质量真的差,电信的网一般小速率不会丢包,这也是为什么说电信适合打游戏 如果 udp 大速率固定丢包率,那是限速在起作用 |
![]() |
19
Tucao OP |
![]() |
20
Tucao OP @hallieastem @1423 谢谢指出-l 参数, 是这台电脑的问题设置以后就可以了, 另一台不设置-l 也可以.
公网 ip 和 tailscale 的 UDP,都是被限制在 10M ``` Reverse mode, remote host --- is sending [ 4] local --- port 56271 connected to {public ip} port 25021 [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 4] 0.00-1.00 sec 2.38 MBytes 20.0 Mbits/sec 0.073 ms 17/4176 (0.41%) [ 4] 1.00-2.00 sec 1.13 MBytes 9.48 Mbits/sec 0.267 ms 2189/4163 (53%) [ 4] 2.00-3.00 sec 1.14 MBytes 9.55 Mbits/sec 0.207 ms 2194/4183 (52%) [ 4] 3.00-4.00 sec 1.13 MBytes 9.49 Mbits/sec 0.306 ms 2184/4166 (52%) [ 4] 4.00-5.00 sec 1.14 MBytes 9.57 Mbits/sec 0.176 ms 2178/4167 (52%) - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams [ 4] 0.00-5.00 sec 12.0 MBytes 20.1 Mbits/sec 0.133 ms 8777/20885 (42%) [ 4] Sent 20885 datagrams ``` |