在两台不同的笔记本电脑上,都是 HP OMEN 笔记本电脑 15-dc1xxx SKU 7TK52UA#ABA,从 18.04.3 LTS 升级到 18.04.5 打破了千兆速度。千兆速度在 18.04.3 中运行良好 在运行内核 5.4.0-42-generic 时更新了几周,RTL8111/8168/8411 PCI Express 千兆以太网控制器的下载速度。下载速度现在被限制在大约 100-130 Mbps 并且上传仍然能够达到 1 Gbps (1000 Mbps)。
有AT&T Gigapower (gigabit up and down),并更换了网关认为这是最初的问题。这已被证明不是问题的根源。
试图让 Gigabit 速度恢复而不得不回滚内核版本。
以下是更多系统信息:
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
$ sudo grep -e [0-9] -e [A-Z] /sys/class/dmi/id/{chassis_{type,vendor,version,serial},product_{family,name,serial,sku,uuid,version}}
/sys/class/dmi/id/chassis_type:10
/sys/class/dmi/id/chassis_vendor:HP
/sys/class/dmi/id/chassis_version:Chassis Version
/sys/class/dmi/id/chassis_serial:xxxxxxxxxx
/sys/class/dmi/id/product_family:103C_5335KV HP OMEN
/sys/class/dmi/id/product_name:OMEN by HP Laptop 15-dc1xxx
/sys/class/dmi/id/product_serial:xxxxxxxxx
/sys/class/dmi/id/product_sku:7TK52UA#ABA
/sys/class/dmi/id/product_uuid:39444335-3833-5a36-5a4c-040e3c8a6d6c
$ lspci -nn | grep -i ethernet
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 16)
$ 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:03:00.0
logical name: eno1
version: 16
serial: 04:0e:3c:8a:6d:6c
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.80 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:17 ioport:3000(size=256) memory:84404000-84404fff memory:84400000-84403fff
*-network DISABLED
description: Wireless interface
product: Intel Corporation
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlo1
version: 1a
serial: 50:e0:85:f2:b5:ca
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.4.0-42-generic firmware=48.4fa0041f.0 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:18 memory:84300000-84303fff
$ ethtool eno1
Settings for eno1:
Supported ports: [ TP MII ]
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/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
$ nmcli -g 802-3-ethernet -m multiline con show "Wired connection 1"
802-3-ethernet.port:
802-3-ethernet.speed:0
802-3-ethernet.duplex:
802-3-ethernet.auto-negotiate:yes
802-3-ethernet.mac-address:04:0E:3C:xx:xx:xx
802-3-ethernet.cloned-mac-address:
802-3-ethernet.generate-mac-address-mask:
802-3-ethernet.mac-address-blacklist:
802-3-ethernet.mtu:auto
802-3-ethernet.s390-subchannels:
802-3-ethernet.s390-nettype:
802-3-ethernet.s390-options:
802-3-ethernet.wake-on-lan:default
802-3-ethernet.wake-on-lan-password:
$ sudo dmidecode -s bios-version
F.12
更新: 测试了 Ubuntu 20.04.1 LTS Live。
- 实时速度 - 123.7 Mbps/下行和 321.6 Mbps/上行
- 在 18.04.3 和 18.04.5 上,上传速度为 850-950 Mbps/up。
更新:将其中一台笔记本电脑升级到 20.04.1 LTS 以重新确认
- 升级后的有线速度 125 Mbps/下 & 884.7 Mbps/上
- 将“链接协商”设置为忽略、自动或 1Gb/s 完整时的结果相同
- 无线速度 (fyi) 196 Mbps/下 & 370 Mbps/上
更新:升级系统信息
root@hpomenlpt02:/var/log# dmidecode -s bios-version
F.13
root@hpomenlpt02:/var/log# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
Sep 2 00:04:21 hpomenlpt02 kernel: [ 125.750914] Generic FE-GE Realtek PHY r8169-300:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-300:00, irq=IGNORE)
Sep 2 00:04:21 hpomenlpt02 kernel: [ 125.862804] r8169 0000:03:00.0 eno1: Link is Down
Sep 2 00:04:21 hpomenlpt02 kernel: [ 125.883048] iwlwifi 0000:04:00.0: Applying debug destination EXTERNAL_DRAM
Sep 2 00:04:21 hpomenlpt02 kernel: [ 126.068202] iwlwifi 0000:04:00.0: FW already configured (0) - re-configuring
Sep 2 00:04:21 hpomenlpt02 kernel: [ 126.084566] iwlwifi 0000:04:00.0: BIOS contains WGDS but no WRDS
Sep 2 00:04:24 hpomenlpt02 kernel: [ 128.849144] r8169 0000:03:00.0 eno1: Link is Up - 1Gbps/Full - flow control off
Sep 2 00:04:24 hpomenlpt02 kernel: [ 128.849172] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
Sep 2 00:04:25 hpomenlpt02 kernel: [ 129.456614] wlo1: authenticate with a6:98:13:e4:9d:e3
Sep 2 00:04:25 hpomenlpt02 kernel: [ 129.461971] wlo1: send auth to a6:98:13:e4:9d:e3 (try 1/3)
Sep 2 00:04:25 hpomenlpt02 kernel: [ 129.497916] wlo1: authenticated
Sep 2 00:04:25 hpomenlpt02 kernel: [ 129.501195] wlo1: associate with a6:98:13:e4:9d:e3 (try 1/3)
Sep 2 00:04:25 hpomenlpt02 kernel: [ 129.506221] wlo1: RX AssocResp from a6:98:13:e4:9d:e3 (capab=0x511 status=0 aid=91)
Sep 2 00:04:25 hpomenlpt02 kernel: [ 129.508531] wlo1: AP has invalid WMM params (AIFSN=1 for ACI 2), will use 2
Sep 2 00:04:25 hpomenlpt02 kernel: [ 129.508535] wlo1: AP has invalid WMM params (AIFSN=1 for ACI 3), will use 2
Sep 2 00:04:25 hpomenlpt02 kernel: [ 129.514155] wlo1: associated
Sep 2 00:04:25 hpomenlpt02 kernel: [ 129.527588] wlo1: Limiting TX power to 127 (127 - 0) dBm as advertised by a6:98:13:e4:9d:e3
Sep 2 00:04:25 hpomenlpt02 kernel: [ 129.628042] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
更新:笔记本电脑型号
- Sku 在顶部:7TK52UA#ABA
- 型号:HP Omen 15-dc1057nr
- 内核:5.4.0-45-generic
- 惠普最新固件:F.18 Rev.A
- https://support.hp.com/us-en/drivers/selfservice/omen-by-hp-15-dc1000-laptop-pc-series/26122182/model/30206210?sku=7TK52UA
更新:固件从 F.12 升级到 F.18 Rev. A
提醒:拥有两台 HP Omen 15-dc1057nr 笔记本电脑
- 一个在测试期间从 Ubuntu 18.04.5 LTS 升级到 20.04.1 LTS。
在 Ubuntu 20.04.1 LTS 上测试
- 状态:成功;千兆速度再次使用 BIOS F.18 Rev. A
在 Ubuntu 18.04.5 LTS 上测试
- 状态:失败;在 BIOS F.18 和使用 r8169 或 r8168 时
- 光纤/千兆连接仍然变慢
- 130.2 Mbps/下行和 868.6 Mbps/上行
有关 20.04.1 LTS,请参阅下面关于 r8168 的评论中的注释。
按照链接how-to中的“使用 USB 恢复驱动器恢复 BIOS”->“创建 USB 恢复驱动器”过程进行操作。
这个特殊的 HP Omen 15-dc1057nr 在 BIOS 菜单中没有用于更新 BIOS 或从本地媒体更新 BIOS 的选项。要强制 HP Omen 访问 HP BIOS 更新屏幕,请执行以下操作:
- 同时按住Windows键和B键。
- 在继续按住这些键的同时,按住电源按钮 2 到 3 秒。
- 松开电源按钮并继续按下Windows和B键,直到出现 HP BIOS 更新屏幕。(注意:有几次我不得不在此步骤中松开 Windows 和 B 键才能显示屏幕;请看 HP)
- 如果遇到任何问题,请参阅上面“使用按键组合恢复 BIOS”部分下的相同链接以进行检查。
更新:之前运行 Ubuntu 18.04.5 LTS 的第二台笔记本电脑升级了 20.04.1 LTS
从 18.04.5 LTS 升级到 20.04.1 LTS 没有问题
千兆下载速度仍限制在 ~ 130 Mbps/下
上传速度仍然 ~ 800+ Mbps/up
使用“忽略、自动和手动 1 Gb/s Full”对有线千兆连接进行测试 - 仍然不超过 ~ 130 Mbps/down
创建了现场 USB 并测试了以下内容:
- Ubuntu 18.04.3 LTS Live - 结果:850+ Mbps/下 & 900+ Mbps/上
- Ubuntu 18.04.5 LTS Live - 结果:不确定
- 速度测试 1:907 Mbps/下行和 886 Mbps/上行
- 速度测试 2:126 Mbps/下行和 864 Mbps/上行
- 速度测试 3:122 Mbps/下行和 880 Mbps/上行
- syslog 内核消息报告链接以 1 Gbps/全流控制关闭
- Ubuntu 20.04.1 LTS Live - 结果:130~ Mbps/down & 850+ Mbps/up
经验证的 BIOS 固件位于 F18:
$ sudo cat /sys/class/dmi/id/bios_version F.18
可以肯定的是,已验证 DMI 信息等同于第 2 台 HP Omen dc-1057nr
$ sudo grep -e [0-9] -e [A-Z] /sys/class/dmi/id/{chassis_{type,vendor,version,serial},product_{family,name,serial,sku,uuid,version}} /sys/class/dmi/id/chassis_type:10 /sys/class/dmi/id/chassis_vendor:HP /sys/class/dmi/id/chassis_version:Chassis Version /sys/class/dmi/id/chassis_serial:xxxxxxxxxxx /sys/class/dmi/id/product_family:103C_5335KV HP OMEN /sys/class/dmi/id/product_name:OMEN by HP Laptop 15-dc1xxx /sys/class/dmi/id/product_serial:xxxxxxxxxxx /sys/class/dmi/id/product_sku:7TK52UA#ABA /sys/class/dmi/id/product_uuid:39444335-3833-5a36-5a4c-040e3c8a6d6c