Cmnt: [SRU] [Unstable/OEM-5.13/OEM-5.14] [PATCH 0/1] Fix sluggish r8169 by disaling ASPM L1.2

Koba Ko koba.ko at canonical.com
Tue Sep 7 06:11:04 UTC 2021


On Tue, Sep 7, 2021 at 2:04 PM Kai-Heng Feng
<kai.heng.feng at canonical.com> wrote:
>
> Hi Koba,
>
> On Tue, Sep 7, 2021 at 2:00 PM Koba Ko <koba.ko at canonical.com> wrote:
> >
> > with aspm 1.2 enabled, can't observe the issue on JSL machine.
>
> Strangely, I am seeing the issue on JSL.
>
> > Could you narrow down to one Realtek's model?
>
> It's 8168h, XID 541.

My realtek ethernet is  8168h xid 541.
My iperf setting is these
1. iperf3 server, intel i219v.
2. iperf3 client, realtek 8168h xid 541

>
> > Please check logs in here
> > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1942830/comments/1
>
> The ASPM setting is identical to the affected one.
>
> Kai-Heng
>
> >
> > On Tue, Sep 7, 2021 at 12:15 PM Kai-Heng Feng
> > <kai.heng.feng at canonical.com> wrote:
> > >
> > > BugLink: https://bugs.launchpad.net/bugs/1942830
> > >
> > > [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.
> > >
> > > Kai-Heng Feng (1):
> > >   UBUNTU: SAUCE: r8169: Disable ASPM L1.2
> > >
> > >  drivers/net/ethernet/realtek/r8169_main.c | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > --
> > > 2.32.0
> > >
> > >
> > > --
> > > kernel-team mailing list
> > > kernel-team at lists.ubuntu.com
> > > https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list