运行 20.04.4 的 EB1033 上的 RTL8111/8168/8411 以太网速度达非千兆

运行 20.04.4 的 EB1033 上的 RTL8111/8168/8411 以太网速度达非千兆

我在旧 EB1033 上的 RTL8111/8168/8411 芯片组集成设备上始终获得 40 到 60 Mbps 左右的下载速度。上传速度约为 40 Mbps,这是预期的,但网络中的预期下载速度应约为 940 Mbps。

  • 我正在运行 Xubuntu 20.04.4(最终,它将是一台无头机器)
  • 内核 5.15.0-46-通用
  • 该设备配备 SSD 和 4GB RAM
  • 我尝试过多种 cat6 和 cat5 电缆
  • 我尝试了 Realtek 提供的驱动程序、通过 apt 的 r8168-dkms 包以及内置的 r8169 驱动程序,结果都一样
  • 使用 ethtool 手动设置速度、双工或自动协商似乎不会产生任何一致的差异;我的网速总是远低于 100mbps,更不用说达到网络上其他以太网设备所达到的 940 Mbps 左右了
  • 在 GRUB 下设置 pcie_aspm=off 不会产生不同的结果(尽管我不确定导致这种情况对某些人有帮助的错误是否仍然存在)
$ sudo lspci | grep RTL
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
$ sudo lshw -C network
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: enp2s0
       version: 06
       serial: 40:16:7e:0b:19:51
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.050.03-NAPI duplex=full ip=192.168.1.16 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:29 ioport:e000(size=256) memory:db104000-db104fff memory:db100000-db103fff
$ sudo ethtool enp2s0
Settings for enp2s0:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Full 
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Full 
    Advertised pause frame use: Symmetric Receive-only
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                         100baseT/Half 100baseT/Full 
                                         1000baseT/Half 1000baseT/Full 
    Link partner advertised pause frame use: Symmetric Receive-only
    Link partner advertised auto-negotiation: Yes
    Link partner advertised FEC modes: Not reported
    Speed: 1000Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    MDI-X: Unknown
    Supports Wake-on: pumbg
    Wake-on: g
    Current message level: 0x00000033 (51)
                   drv probe ifdown ifup
    Link detected: yes

任何帮助,将不胜感激!

相关内容