Fix sluggish r8169 by disaling ASPM L1.2

Bug #1942830 reported by Kai-Heng Feng
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Invalid
Medium
Unassigned
Focal
Invalid
Undecided
Unassigned
linux-oem-5.13 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Medium
Unassigned
linux-oem-5.14 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Medium
Unassigned

Bug Description

[Impact]
Realtek r8169 has abysmal network speed.

[Fix]
Disable ASPM L1.2 because the device takes a long time to exit from
L1.2.

[Test]
Use `iperf` to test network speed.
When ASPM L1.2 gets disabled, TX and RX and reach ~700Mbps and ~900Mbps
respectively.

[Where problems could occur]
Disabling ASPM L1.2 can slightly increase power consumption. The CPU
package C-State seems to be unaffected so the increase is rather minor.

CVE References

Changed in linux (Ubuntu Focal):
status: New → Invalid
Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux-oem-5.13 (Ubuntu):
status: New → Invalid
Changed in linux-oem-5.14 (Ubuntu):
status: New → Invalid
Changed in linux-oem-5.13 (Ubuntu Focal):
status: New → Confirmed
Changed in linux-oem-5.14 (Ubuntu Focal):
status: New → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Medium
Changed in linux-oem-5.13 (Ubuntu Focal):
importance: Undecided → Medium
Changed in linux-oem-5.14 (Ubuntu Focal):
importance: Undecided → Medium
tags: added: oem-priority originate-from-1934257 somerville
Revision history for this message
koba (kobako) wrote : Re: [Bug 1942830] [NEW] Fix sluggish r8169 by disaling ASPM L1.2

@KaiHeng,
with aspm 1.2 enabled, can't observe the issue on JSL machine.
Could you narrow down to one Realtek's model?

Revision history for this message
koba (kobako) wrote :
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.13 (Ubuntu Focal):
status: Confirmed → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-focal' to 'verification-done-focal'. If the problem still exists, change the tag 'verification-needed-focal' to 'verification-failed-focal'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-focal
tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-oem-5.13 - 5.13.0-1012.16

---------------
linux-oem-5.13 (5.13.0-1012.16) focal; urgency=medium

  * focal/linux-oem-5.13: 5.13.0-1012.16 -proposed tracker (LP: #1942861)

  * Fix sluggish r8169 by disaling ASPM L1.2 (LP: #1942830)
    - SAUCE: r8169: Disable ASPM L1.2

  * CVE-2021-3609
    - can: bcm: delay release of struct bcm_op after synchronize_rcu()
    - can: j1939: j1939_sk_init(): set SOCK_RCU_FREE to call sk_destruct() after
      RCU is done

 -- Timo Aaltonen <email address hidden> Tue, 07 Sep 2021 11:49:54 +0300

Changed in linux-oem-5.13 (Ubuntu Focal):
status: Fix Committed → Fix Released
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.14 (Ubuntu Focal):
status: Confirmed → Fix Committed
Timo Aaltonen (tjaalton)
Changed in linux-oem-5.14 (Ubuntu Focal):
status: Fix Committed → Fix Released
Timo Aaltonen (tjaalton)
Changed in linux (Ubuntu):
status: Confirmed → Invalid
Timo Aaltonen (tjaalton)
Changed in hwe-next:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.