最近发现从 nas 上 smb 下载速度总是不稳定, 开始能有几 M/s ,很快就下滑,过段时间又好。但是网页测速又都是正常。 今天研究了下,好像是不同协议下的情况。 用 iperf3 , 上传开始几 M ,很快就限制了,但是同时用 librespeed 这种 http 的速度则仍然正常。同一个服务器 iperf(也测试过 5 线程)和 librespeed 结果如下。同一个服务器部署了 iperf3 和 librespeed-go iperf3 -c xxx
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 646 KBytes 5.29 Mbits/sec 29 16.3 KBytes
[ 5] 1.00-2.00 sec 125 KBytes 1.02 Mbits/sec 0 19.0 KBytes
[ 5] 2.00-3.00 sec 250 KBytes 2.05 Mbits/sec 0 16.3 KBytes
[ 5] 3.00-4.00 sec 125 KBytes 1.02 Mbits/sec 37 16.3 KBytes
[ 5] 4.00-5.00 sec 250 KBytes 2.05 Mbits/sec 5 16.3 KBytes
[ 5] 5.00-6.00 sec 125 KBytes 1.02 Mbits/sec 15 10.9 KBytes
[ 5] 6.00-7.00 sec 125 KBytes 1.02 Mbits/sec 2 16.3 KBytes
[ 5] 7.00-8.00 sec 250 KBytes 2.05 Mbits/sec 0 16.3 KBytes
[ 5] 8.00-9.00 sec 125 KBytes 1.02 Mbits/sec 19 16.3 KBytes
[ 5] 9.00-10.00 sec 125 KBytes 1.02 Mbits/sec 0 16.3 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 2.09 MBytes 1.76 Mbits/sec 107 sender
[ 5] 0.00-10.00 sec 1.94 MBytes 1.63 Mbits/sec receiver
librespeed-cli --local-json speed.json --server 7 --duration 5 --no-download
Using local JSON server list: speed.json
Selected server: 7
You're testing from: xxx -
Ping: 10.27 ms Jitter: 0.47 ms
Download test is disabled
Upload rate: 117.31 Mbps
![]() |
1
wy315700 19 天前
现在都有基于 DPI 的精准限速了。
|
4
a9k1n9 19 天前
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 512 KBytes 4.19 Mbits/sec [ 5] 1.00-2.00 sec 5.50 MBytes 46.1 Mbits/sec [ 5] 2.00-3.00 sec 5.62 MBytes 47.2 Mbits/sec [ 5] 3.00-4.00 sec 6.00 MBytes 50.3 Mbits/sec [ 5] 4.00-5.00 sec 6.50 MBytes 54.5 Mbits/sec [ 5] 5.00-6.00 sec 6.88 MBytes 57.7 Mbits/sec [ 5] 6.00-7.00 sec 8.25 MBytes 69.2 Mbits/sec [ 5] 7.00-8.00 sec 7.50 MBytes 62.9 Mbits/sec [ 5] 8.00-9.00 sec 7.00 MBytes 58.7 Mbits/sec [ 5] 9.00-10.00 sec 5.62 MBytes 47.2 Mbits/sec [ 5] 10.00-11.00 sec 4.25 MBytes 35.7 Mbits/sec [ 5] 11.00-12.00 sec 4.50 MBytes 37.7 Mbits/sec [ 5] 12.00-13.00 sec 6.62 MBytes 55.6 Mbits/sec [ 5] 13.00-14.00 sec 4.00 MBytes 33.6 Mbits/sec [ 5] 14.00-15.00 sec 6.25 MBytes 52.4 Mbits/sec [ 5] 15.00-16.00 sec 5.50 MBytes 46.1 Mbits/sec [ 5] 16.00-17.00 sec 6.50 MBytes 54.5 Mbits/sec [ 5] 17.00-18.00 sec 6.62 MBytes 55.6 Mbits/sec [ 5] 18.00-19.00 sec 6.88 MBytes 57.7 Mbits/sec [ 5] 19.00-20.00 sec 6.75 MBytes 56.6 Mbits/sec [ 5] 20.00-21.00 sec 5.50 MBytes 46.1 Mbits/sec [ 5] 21.00-22.00 sec 5.25 MBytes 44.0 Mbits/sec [ 5] 22.00-23.00 sec 5.38 MBytes 45.0 Mbits/sec [ 5] 23.00-24.00 sec 6.00 MBytes 50.4 Mbits/sec [ 5] 24.00-25.00 sec 4.50 MBytes 37.7 Mbits/sec [ 5] 25.00-26.00 sec 5.25 MBytes 44.0 Mbits/sec [ 5] 26.00-27.00 sec 7.12 MBytes 59.8 Mbits/sec [ 5] 27.00-28.00 sec 7.00 MBytes 58.7 Mbits/sec [ 5] 28.00-29.00 sec 6.88 MBytes 57.7 Mbits/sec [ 5] 29.00-30.00 sec 5.12 MBytes 43.0 Mbits/sec [ 5] 30.00-31.00 sec 6.75 MBytes 56.6 Mbits/sec [ 5] 31.00-32.00 sec 6.25 MBytes 52.4 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-32.23 sec 190 MBytes 49.6 Mbits/sec 3566 sender [ 5] 0.00-32.00 sec 189 MBytes 49.4 Mbits/sec receiver iperf Done. 本地 G 口,对端 G 口,没上过 20MB/s ,连 15MB/s 都很难稳住~ 美西 CMIN2 |
7
traffic 19 天前
|
9
jayhuuu 19 天前 via iPhone
上海移动,前段时间移机后发现 jellyfin 放大概 10s 左右就开始卡了,群晖网页上下载一开始能跑满上传,过几秒就卡到几百 k/s 。这个时候测速上传也只有 5-6Mbps/s ,是不是和 OP 情况一样?
|
![]() |
10
xcodeghost 19 天前
我们公司防火墙都可以根据不同协议进行限速,运营商估计更加厉害
|
11
CloudyKumori 19 天前
我 NAS 也是一样,不管是 easytier 还是 zerotier 还是 tailscale 都是限速限得很明显
|
![]() |
12
molezznet OP https://ex.noerr.eu.org/t/1118730
@jayhuuu 对, 我也是上海移动, 看到帖子了, 就是精准限制上传了,一般是 7M 带宽,狠点就是 1M 带宽,非常精确不是波动 @CloudyKumori 对,v6 直连也限速 不能愉快的玩 nas 了,只能消费白名单网盘 @xcodeghost 是啊, 但是技术用在这吃相太难看, 花钱就买了个下行带宽 …… |
13
rulagiti 19 天前
跨地域跨运营商了没
|
![]() |
15
Ipsum 18 天前
西南电信实测,https ,tls 不限速,其他 tcp ,udp ,http 均限速 5m 。wg 类的 udp 组网已死。现在同城组网,全靠 ovpn 的 tcp 苟活着。op 可以试试。
|
![]() |
18
thereone 18 天前
|
![]() |
19
thereone 18 天前
|
![]() |
22
stella 18 天前
尝试给你被限速的连接搞个 http 头,host 带 speedtest 字样?
|
![]() |
24
user100saysth 18 天前
@Ipsum #15 老哥 https tls 可解除限速吗,我开了 tls 和 https 还是不行,能描述一下你的配置吗
|
![]() |
25
Ipsum 18 天前
@user100saysth 你不如先描述你的配置。自签的证书用天翼云的域名
|
![]() |
26
user100saysth 17 天前
@Ipsum #25 老哥,借一步说话行不,base64 czEzMzk4NDAyNjM0
|
![]() |
28
molezznet OP |
![]() |
31
molezznet OP @traffic 上海移动, 试了架设 webdav tls 。https , 还是会有限速 。wget https://speedtest.123213.xyz/1.mp4 只有 1M/s , 不过 axel 多线程倒是能跑道 10M/s
@jayhuuu 上海移动 |
![]() |
33
onion83 17 天前
《 5G-A 时代智慧大脑——智算板》 https://mp.weixin.qq.com/s/z3mIaO5nqrc-rMUCjIHM_A
|
35
cjydawn 16 天前
山东联通也发现了这个问题。回老家想连一下家里 nas ,发现上传速度很慢,限制在 3Mbps 还一直丢包。测来测去只有是标准端口的 https 才行,而且不能用 http3 的 udp 协议。
|