Bug 214307

Summary: Realtek ethernet NIC has suboptimal TX/RX speed when ASPM L1 is enabled
Product: Drivers Reporter: Kai-Heng Feng (kai.heng.feng)
Component: NetworkAssignee: drivers_network (drivers_network)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: mainline, linux-next Subsystem:
Regression: No Bisected commit-id:
Attachments: lspci-vv from affected system (Intel Jasper Lake)
lspci-vv from working system (AMD Renoir)

Description Kai-Heng Feng 2021-09-03 15:48:31 UTC
On an Intel Jasper Lake system, if ASPM L1 is enabled for Realteak r8169 device, the TX/RX speed becomes abysmal. Use the "dynamic ASPM" mechanism from vendor driver [1] can workaround the issue. The mechanism switches ASPM on and off based on the network traffic, so it probably mitigates the rather long ASPM L1 exit latency.

[1] https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
Comment 1 Kai-Heng Feng 2021-09-03 15:49:24 UTC
Created attachment 298663 [details]
lspci-vv from affected system (Intel Jasper Lake)
Comment 2 Kai-Heng Feng 2021-09-03 15:49:49 UTC
Created attachment 298665 [details]
lspci-vv from working system (AMD Renoir)