NAS (千兆网线)
笔记本电脑( WiFi 5G 频段,链接速率 2.4G )
台式机(千兆网线)
从笔记本上传到 NAS 只有约百兆的速度,用 iperf 测试连接速度:
再搞了个笔记本电脑,也是 5G 频段,上传到 NAS 也是只有百兆,问了 Gemini, Deepseek, Grok 都没有解决,来请教一下大佬们,这有可能是为什么?
1
EthanZC 2 天前
开启 SMB3.0 了没?
|
2
RichardPlus OP @EthanZC NAS 上确认开了 SMB3.0 了,windows 11 应该是默认就启用了 SMB3.0
|
![]() |
3
pjian 2 天前
wifi 5g 传输百 MB 是正常的吧
|
4
EthanZC 2 天前
@RichardPlus 在设备管理器,高级中,找到 802.11n/ac (或者带有 ax 的)无线模式选项(解释一下 n 代表 wifi4 ,ac 代表 wifi5 ,ax 代表 wifi6 )将值改为最好的那个。下拉找到“数据包合并”和“吞吐量助推器”把这两个打开。然后在“首选频带”中选择 5G (或者将路由器的 2.5G 与 5G 合并关掉,笔记本只选择 5Gwifi 进行连接)。5G 信道宽度选为自动。
以管理员身份打开 powershell ,在命令中输入: Set-SmbClientConfiguration -EnableBandwidthThrottling 0 -EnableLargeMtu 1 此命令表示启用大型 MTU 以提升大文件的传输速度,并关闭带宽限制。 若还不行,继续尝试在 powershell 敲以下两条命令,之后重启。 netsh int tcp set global autotuninglevel=restrictednetsh interface tcp set heuristics disabled |
![]() |
5
hailaz 2 天前
先对齐一下颗粒度,说的百兆是不是 10MB/s 左右,千兆是不是 100MB/s 左右(一般到 80 ),Linux 服务器指的是台式机?
目前看,没有说台式机到 nas 的传输到不到千兆,如果能到,代表路由的有线和 nas 的有线都是没有问题的。 剩下就是 wifi 的问题,wifi 有没有双频合并?笔记本距离 wifi 有多远,也顺便说下路由器型号。 或者给笔记本插个网线试试。 |
6
RichardPlus OP @hailaz 百兆千兆跟网口速率的说法是一样的哈兄弟, Linux 服务器就是说 Nas, 跟 AI 沟通的文本直接粘贴过来忘改了.
- wifi 双频合并了, 笔记本跟路由器的距离 1 米, 路由器就是华为的 TC7102, 运营商送的 - 笔记本插上网线以后就跟台式机一样了, 跟 nas 双向传输都是千兆水准了 如果说是笔记本的 wifi 的问题吧, 但是笔记本用 wifi 跟台式机又可以千兆互传, 唯独跟 nas 传输上传就只有百兆, 下载倒是有千兆, 非常令人费解. 拓扑上台式机跟 NAS 都是直连路由器的千兆口的. |
7
RichardPlus OP @EthanZC 我一回来试试, 谢谢大哥 XD
|
8
RichardPlus OP @pjian 是的, 跟台式机在局域网内互传都可以达到百 MB, 但是跟 NAS 在局域网内互传就不行, 上传到 NAS 是 10MB, 从 NAS 下载是 100MB :(
|
![]() |
9
hailaz 1 天前
@RichardPlus #6 这个情况应该是先关闭双频合并,测一遍。
|
10
RichardPlus OP @EthanZC 大佬, 谢谢你, 不过还是没有没有解决...
1. 双频关了只连接 5G 频段 √ 2. 网卡高级设置里选了 ax, 数据包合并+吞吐量助推器 enabled 3. Set-SmbClientConfiguration -EnableBandwidthThrottling 0 -EnableLargeMtu 1 (ok) 4. netsh int tcp set global autotuninglevel=restrictednetsh interface tcp set heuristics disabled 提示参数错误 PS C:\Users\richard> netsh int tcp set global autotuninglevel=restrictednetsh interface tcp set heuristics disabled 参数错误。 我贴一个 iperf 的结果给大伙瞧瞧(10.100 是 NAS, 10.10 是台式机) D:\Program Files\iperf-3.1.3-win64>iperf3.exe -c 192.168.10.100 Connecting to host 192.168.10.100, port 5201 [ 4] local 192.168.10.6 port 54230 connected to 192.168.10.100 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 12.6 MBytes 106 Mbits/sec [ 4] 1.00-2.00 sec 12.9 MBytes 108 Mbits/sec [ 4] 2.00-3.00 sec 12.0 MBytes 101 Mbits/sec [ 4] 3.00-4.00 sec 11.2 MBytes 94.5 Mbits/sec [ 4] 4.00-5.00 sec 10.2 MBytes 85.7 Mbits/sec [ 4] 5.00-6.01 sec 10.1 MBytes 84.3 Mbits/sec [ 4] 6.01-7.00 sec 10.1 MBytes 85.9 Mbits/sec [ 4] 7.00-8.00 sec 11.1 MBytes 93.1 Mbits/sec [ 4] 8.00-9.01 sec 11.8 MBytes 98.3 Mbits/sec [ 4] 9.01-10.00 sec 9.88 MBytes 83.3 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 112 MBytes 93.9 Mbits/sec sender [ 4] 0.00-10.00 sec 112 MBytes 93.8 Mbits/sec receiver iperf Done. (下面加了-R, 反向测速) D:\Program Files\iperf-3.1.3-win64>iperf3.exe -c 192.168.10.100 -R Connecting to host 192.168.10.100, port 5201 Reverse mode, remote host 192.168.10.100 is sending [ 4] local 192.168.10.6 port 54238 connected to 192.168.10.100 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 34.3 MBytes 287 Mbits/sec [ 4] 1.00-2.00 sec 43.5 MBytes 364 Mbits/sec [ 4] 2.00-3.00 sec 43.9 MBytes 369 Mbits/sec [ 4] 3.00-4.00 sec 45.1 MBytes 378 Mbits/sec [ 4] 4.00-5.00 sec 45.0 MBytes 378 Mbits/sec [ 4] 5.00-6.00 sec 44.7 MBytes 374 Mbits/sec [ 4] 6.00-7.00 sec 44.4 MBytes 373 Mbits/sec [ 4] 7.00-8.00 sec 44.1 MBytes 370 Mbits/sec [ 4] 8.00-9.00 sec 44.5 MBytes 373 Mbits/sec [ 4] 9.00-10.00 sec 44.9 MBytes 377 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-10.00 sec 436 MBytes 366 Mbits/sec 1 sender [ 4] 0.00-10.00 sec 435 MBytes 365 Mbits/sec receiver iperf Done. (下面是台式机跟笔记本) D:\Program Files\iperf-3.1.3-win64>iperf3.exe -c 192.168.10.10 Connecting to host 192.168.10.10, port 5201 [ 4] local 192.168.10.6 port 54251 connected to 192.168.10.10 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 29.9 MBytes 250 Mbits/sec [ 4] 1.00-2.00 sec 40.9 MBytes 343 Mbits/sec [ 4] 2.00-3.00 sec 42.8 MBytes 359 Mbits/sec [ 4] 3.00-4.00 sec 41.0 MBytes 344 Mbits/sec [ 4] 4.00-5.00 sec 39.1 MBytes 328 Mbits/sec [ 4] 5.00-6.00 sec 39.2 MBytes 329 Mbits/sec [ 4] 6.00-7.00 sec 38.5 MBytes 323 Mbits/sec [ 4] 7.00-8.00 sec 40.8 MBytes 342 Mbits/sec [ 4] 8.00-9.00 sec 40.4 MBytes 339 Mbits/sec [ 4] 9.00-10.00 sec 38.9 MBytes 326 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 391 MBytes 328 Mbits/sec sender [ 4] 0.00-10.00 sec 391 MBytes 328 Mbits/sec receiver iperf Done. D:\Program Files\iperf-3.1.3-win64>iperf3.exe -c 192.168.10.10 -R Connecting to host 192.168.10.10, port 5201 Reverse mode, remote host 192.168.10.10 is sending [ 4] local 192.168.10.6 port 54273 connected to 192.168.10.10 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 43.8 MBytes 368 Mbits/sec [ 4] 1.00-2.00 sec 44.6 MBytes 373 Mbits/sec [ 4] 2.00-3.00 sec 42.8 MBytes 359 Mbits/sec [ 4] 3.00-4.00 sec 46.9 MBytes 393 Mbits/sec [ 4] 4.00-5.00 sec 47.5 MBytes 398 Mbits/sec [ 4] 5.00-6.00 sec 47.3 MBytes 397 Mbits/sec [ 4] 6.00-7.00 sec 48.6 MBytes 408 Mbits/sec [ 4] 7.00-8.00 sec 46.4 MBytes 389 Mbits/sec [ 4] 8.00-9.00 sec 44.8 MBytes 376 Mbits/sec [ 4] 9.00-10.00 sec 46.2 MBytes 388 Mbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 459 MBytes 385 Mbits/sec sender [ 4] 0.00-10.00 sec 459 MBytes 385 Mbits/sec receiver iperf Done. (如果加了-P 4 参数, 速度会达到 700Mbps 以上) |
11
RichardPlus OP @hailaz 试了兄弟, 也不起作用, 实际上笔记本跟台式机的双向传输也是再双拼合并的条件下的, 结果是正常的
|
![]() |
12
hailaz 1 天前
@RichardPlus #10 这里看台式机到 NAS 只有百兆?反过来好像也没有千兆。这看着不只是 wifi 的问题
|
![]() |
13
hailaz 1 天前
是不是你描述错了,感觉几台设备混起来了。前后的描述对不上。
|
![]() |
14
hailaz 1 天前
@RichardPlus #10 我看错了,要不你再加个台式机到 NAS 的测试。
|
15
RichardPlus OP @hailaz 试过啦, 我开始说了台式机<->NAS, 台式机<->笔记本(无线), 都是双向千兆传输,
所以从我的测试中, NAS 出口到各个设备是千兆 OK 的, 台式机出口到各个设备千兆是 OK 的, 唯独, 笔记本出口到 NAS 是百兆, 到台式机是千兆 晕 |