V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
sorasyl
V2EX  ›  宽带症候群

请问各位大佬,为什么 40g 网卡测速不对等

  •  
  •   sorasyl · 42 天前 · 1137 次点击
    这是一个创建于 42 天前的主题,其中的信息可能已经有所发展或是发生改变。

    1 台 arch linux 10305t 和 8 + 32 GB 3200mhz 内存 和 mcx314a-bcct 网卡

    1 台 windows 14700kf 和 32 + 32 GB 6400mhz 内存 和 hp 764285-b21 网卡

    使用光纤直连,都是 IPoIB 模式,确认运行在 40g 模式下,使用 iperf3 测速

    命令 iperf3 -c 192.168.0.1 -P4 -t 60

    linux -> windows 能有 28.5 Gbits/sec

    windows -> linux 只有 6.65 Gbits/sec

    求解为啥

    12 条回复    2024-08-10 07:24:02 +08:00
    mobobye
        1
    mobobye  
       42 天前 via iPhone
    别用 iperf3 ,用 ethr
    bobryjosin
        2
    bobryjosin  
       42 天前
    windows 的 iperf3 有问题,打不满,直接起个 http 文件服务器,多线程下载测试,或者用 smb 。
    sorasyl
        3
    sorasyl  
    OP
       42 天前
    @mobobye 一样的效果,[ SUM] TCP 029-030 sec 5.91G

    linux ./ethr -s

    windows .\ethr.exe -c 192.168.0.100 -n 4 -d 30s
    xinge666
        4
    xinge666  
       42 天前 via iPhone
    巨型帧开了吗,MTU 开 9000 ,然后 iperf3 吃单核性能,加个`-P 4`开个 4 线程试试
    miyuki
        5
    miyuki  
       42 天前 via iPhone
    火绒?
    sorasyl
        6
    sorasyl  
    OP
       42 天前
    @miyuki 没有火绒
    sorasyl
        7
    sorasyl  
    OP
       42 天前
    @xinge666 window 的 mtu 最高只能设置到 4078
    yyzh
        8
    yyzh  
       42 天前 via Android
    @sorasyl 你用的网卡驱动太旧?刚看了一下小主机自带 realtek 2.5g 双网口的巨帧支持到 16128
    datou
        9
    datou  
       42 天前
    什么版本的 windows ?

    win10 ,win11 ,ws2022 还是 ws2025 ?
    sorasyl
        10
    sorasyl  
    OP
       42 天前
    @datou win11 最新的 build
    sorasyl
        11
    sorasyl  
    OP
       42 天前
    @yyzh mcx3 最新的驱动了
    datou
        12
    datou  
       41 天前
    @sorasyl win10 和 win11 只有 pro for ws 版支持 RDMA ,看看是不是这个原因
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5126 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 109ms · UTC 07:24 · PVG 15:24 · LAX 00:24 · JFK 03:24
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.