alizoed

网络性能到底受什么东西影响

  •  
  •   alizoed · Aug 10, 2024 · 3623 views
    This topic created in 642 days ago, the information mentioned may be changed or developed.

    有一台公网大带宽机器,想着中转一下自己的服务器

    前提,母机固定 IP 线路为 1Gbps 对等(教育网),测速服务器为 200Mbps 对等(电信)

    测速为从虚拟机向公网服务器上传的带宽

    固定 IP--Intel 网卡--桥接为 hyperv 虚拟网卡--windows 系统 40Mbps

    固定 IP--Intel 网卡--桥接为 hyperv 虚拟网卡--ubuntu 系统 80Mbps

    固定 IP--Intel 网卡--WSL2--ubuntu 系统 80Mbps

    固定 IP--Intel 网卡--VMware 桥接模式--windows 系统 60Mbps

    固定 IP--Intel 网卡--VMware NAT 模式--windows 系统 40Mbps

    固定 IP--Intel 网卡--VMware 桥接模式--ubuntu 系统 80Mbps

    固定 IP--Intel 网卡--VMware NAT 模式--ubuntu 系统 10Mbps

    固定 IP--硬件路由器--RealTek 网卡--桥接为 hyperv 虚拟网卡--windows 系统 20Mbps

    固定 IP--硬件路由器--RealTek 网卡--桥接为 hyperv 虚拟网卡--ubuntu 系统 150Mbps

    固定 IP--windows 母机 40Mbps

    因为最近硬路由天天死机,我想着换一种方案,结果实测下来每种损失都非常大。但是唯一能勉强跑满的方案实际上也过了非常多道的中转,RealTek 用的是最烂的那个,intel 网卡是 I210-T1 这到底是什么在影响网速,windows 和 ubuntu 之间的差距可以用驱动和开销解释,但是为什么接一道硬件路由器反而带宽变大了 看起来结果上就好像是绕最远路用最垃圾网卡反而带宽最大

    10 replies    2024-08-11 20:13:54 +08:00
    zealic
        1
    zealic  
       Aug 10, 2024
    1. Windows 要过防火墙
    2. 硬路由有专门的硬件加速
    3. 测试也分大小包,测试方法也会影响软硬解
    yufanwind
        2
    yufanwind  
       Aug 10, 2024
    测速服务是你独享的吗,也就是说只有你自己在用它测速吗?
    465456
        3
    465456  
       Aug 10, 2024
    虚拟机影响最大
    yyzh
        4
    yyzh  
       Aug 10, 2024 via Android
    你确定你用的线路没跨网 qos?
    A1188
        5
    A1188  
       Aug 10, 2024 via Android
    电信去教育网的路由貌似挺绕的(
    defunct9
        6
    defunct9  
       Aug 10, 2024 via iPhone
    你的所谓的硬路由具体是什么型号的
    pinerge
        7
    pinerge  
       Aug 10, 2024
    CPU 性能
    网卡性能
    服务器软件
    操作系统相关配置
    iijboom
        8
    iijboom  
       Aug 10, 2024
    笔记本电脑 linux-usb r8156b 网卡-n100 软路由-中兴 2.5g 光猫-广东移动家宽-北京教育网
    单线程 500mbps ,2 线程 1000mbps ,4 线程 1300mbps

    结论:你的网络有问题
    starinmars
        9
    starinmars  
       Aug 10, 2024
    @465456 看网卡吧,路由器 bcm 卡单独物理机,esxi 服务器 x520 ( CPU 频率 2.0g ),windows 也是 x520 ( cpu 频率 4.1g )。exit 下的虚拟机到路由器都能单线程跑满 10g 双向,windows 到路由器或者到虚拟机只能 7g 发送 4g 接收,除非用多线程。
    ayelky
        10
    ayelky  
       Aug 11, 2024
    给机器散散热吧,一看样子就是散热不足
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5954 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 67ms · UTC 02:06 · PVG 10:06 · LAX 19:06 · JFK 22:06
    ♥ Do have faith in what you're doing.