V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
请不要把任何和邀请码有关的内容发到 NAS 节点。

邀请码相关的内容请使用 /go/in 节点。

如果没有发送到 /go/in,那么会被移动到 /go/pointless 同时账号会被降权。如果持续触发这样的移动,会导致账号被禁用。
RichardPlus
V2EX  ›  NAS

[求助]笔记本电脑上传到 NAS 只有百兆速度

  •  
  •   RichardPlus · 2 天前 · 780 次点击

    设备

    NAS (千兆网线)
    笔记本电脑( WiFi 5G 频段,链接速率 2.4G )
    台式机(千兆网线)

    症状

    从笔记本上传到 NAS 只有约百兆的速度,用 iperf 测试连接速度:

    • 从 linux 服务器到笔记本电脑速度有千兆,
    • 从笔记本电脑到 linux 服务器只有百兆,
    • 从台式机到笔记本电脑,和从台式机到 linux 服务器都能达到双向千兆

    更多

    再搞了个笔记本电脑,也是 5G 频段,上传到 NAS 也是只有百兆,问了 Gemini, Deepseek, Grok 都没有解决,来请教一下大佬们,这有可能是为什么?

    15 条回复    2025-04-28 19:10:42 +08:00
    EthanZC
        1
    EthanZC  
       2 天前
    开启 SMB3.0 了没?
    RichardPlus
        2
    RichardPlus  
    OP
       2 天前
    @EthanZC NAS 上确认开了 SMB3.0 了,windows 11 应该是默认就启用了 SMB3.0
    pjian
        3
    pjian  
       2 天前
    wifi 5g 传输百 MB 是正常的吧
    EthanZC
        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
    hailaz
        5
    hailaz  
       2 天前
    先对齐一下颗粒度,说的百兆是不是 10MB/s 左右,千兆是不是 100MB/s 左右(一般到 80 ),Linux 服务器指的是台式机?
    目前看,没有说台式机到 nas 的传输到不到千兆,如果能到,代表路由的有线和 nas 的有线都是没有问题的。
    剩下就是 wifi 的问题,wifi 有没有双频合并?笔记本距离 wifi 有多远,也顺便说下路由器型号。
    或者给笔记本插个网线试试。
    RichardPlus
        6
    RichardPlus  
    OP
       1 天前
    @hailaz 百兆千兆跟网口速率的说法是一样的哈兄弟, Linux 服务器就是说 Nas, 跟 AI 沟通的文本直接粘贴过来忘改了.
    - wifi 双频合并了, 笔记本跟路由器的距离 1 米, 路由器就是华为的 TC7102, 运营商送的
    - 笔记本插上网线以后就跟台式机一样了, 跟 nas 双向传输都是千兆水准了

    如果说是笔记本的 wifi 的问题吧, 但是笔记本用 wifi 跟台式机又可以千兆互传, 唯独跟 nas 传输上传就只有百兆, 下载倒是有千兆, 非常令人费解. 拓扑上台式机跟 NAS 都是直连路由器的千兆口的.
    RichardPlus
        7
    RichardPlus  
    OP
       1 天前
    @EthanZC 我一回来试试, 谢谢大哥 XD
    RichardPlus
        8
    RichardPlus  
    OP
       1 天前
    @pjian 是的, 跟台式机在局域网内互传都可以达到百 MB, 但是跟 NAS 在局域网内互传就不行, 上传到 NAS 是 10MB, 从 NAS 下载是 100MB :(
    hailaz
        9
    hailaz  
       1 天前
    @RichardPlus #6 这个情况应该是先关闭双频合并,测一遍。
    RichardPlus
        10
    RichardPlus  
    OP
       1 天前
    @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 以上)
    RichardPlus
        11
    RichardPlus  
    OP
       1 天前
    @hailaz 试了兄弟, 也不起作用, 实际上笔记本跟台式机的双向传输也是再双拼合并的条件下的, 结果是正常的
    hailaz
        12
    hailaz  
       1 天前
    @RichardPlus #10 这里看台式机到 NAS 只有百兆?反过来好像也没有千兆。这看着不只是 wifi 的问题
    hailaz
        13
    hailaz  
       1 天前
    是不是你描述错了,感觉几台设备混起来了。前后的描述对不上。
    hailaz
        14
    hailaz  
       1 天前
    @RichardPlus #10 我看错了,要不你再加个台式机到 NAS 的测试。
    RichardPlus
        15
    RichardPlus  
    OP
       1 天前
    @hailaz 试过啦, 我开始说了台式机<->NAS, 台式机<->笔记本(无线), 都是双向千兆传输,
    所以从我的测试中,
    NAS 出口到各个设备是千兆 OK 的,
    台式机出口到各个设备千兆是 OK 的,
    唯独,
    笔记本出口到 NAS 是百兆, 到台式机是千兆 晕
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3587 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 05:13 · PVG 13:13 · LAX 22:13 · JFK 01:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.