Public bug reported:

Running Ubuntu Server 21.04 (kernel 5.11.0-34-generic) and have run into
a serious network issue where the internet download speed is around
25Mbps on a 150Mbps connection!

My setup:

    Lenovo Ideapad 300S with a wired Ethernet connection.
    Running Ubuntu Server 21.04 (kernel version 5.11.0-34-generic).
    Wired Ethernet connection with RTL8111/8168/8411 PCI Express Gigabit 
Ethernet Controller (r8169) driver.
    My contract with the ISP is for a 150Mbps download speed.

My problem:

The download speed is extremely low, around 25Mbps whereas my upload
speed is 'normal' around 80-90Mbps. I use 'speedtest-cli' for measuring
the bandwidth, by the way.

This problem does not happen on an Acer Aspire One laptop running the
same kernel and connected to the same router.

After scouring through countless articles, I noticed that there were lot
of issues with the r8169 driver and the RTL8111/8168/8411 PCI Express
Gigabit Ethernet Controller subsystem.

What eventually fixed the issue for me was setting the "pcie_aspm=off"
kernel parameter during boot. But I strongly feel that is a 'workaround'
and not a solution to the real problem, which is the r8169 driver has
regression with newer kernels, hence filing this bug.

Thanks in advance for all your support! I'm a big fan of Ubuntu!!!

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: linux-image-5.11.0-34-generic 5.11.0-34.36
ProcVersionSignature: Ubuntu 5.11.0-34.36-generic 5.11.22
Uname: Linux 5.11.0-34-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 
k5.11.0-34-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/hwC0D0', 
'/dev/snd/pcmC0D10p', '/dev/snd/pcmC0D9p', '/dev/snd/pcmC0D8p', 
'/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D0c', 
'/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
CasperMD5CheckResult: pass
Date: Tue Sep 14 12:17:49 2021
InstallationDate: Installed on 2021-09-05 (9 days ago)
InstallationMedia: Ubuntu-Server 21.04 "Hirsute Hippo" - Release amd64 
(20210421)
MachineType: LENOVO 80Q4
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 TERM=xterm-256color
 PATH=(custom, no user)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-34-generic 
root=UUID=b3938b06-c0f7-4342-b99c-94888f030a99 ro pcie_aspm=off
RelatedPackageVersions:
 linux-restricted-modules-5.11.0-34-generic N/A
 linux-backports-modules-5.11.0-34-generic  N/A
 linux-firmware                             1.197.3
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/26/2018
dmi.bios.release: 1.39
dmi.bios.vendor: LENOVO
dmi.bios.version: D3CN39WW
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Lenovo ideapad 300S-14ISK
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40709 WIN
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo ideapad 300S-14ISK
dmi.ec.firmware.release: 1.26
dmi.modalias: 
dmi:bvnLENOVO:bvrD3CN39WW:bd06/26/2018:br1.39:efr1.26:svnLENOVO:pn80Q4:pvrLenovoideapad300S-14ISK:skuLENOVO_MT_80Q4_BU_idea_FM_Lenovoideapad300S-14ISK:rvnLENOVO:rnLenovoideapad300S-14ISK:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrLenovoideapad300S-14ISK:
dmi.product.family: IDEAPAD
dmi.product.name: 80Q4
dmi.product.sku: LENOVO_MT_80Q4_BU_idea_FM_Lenovo ideapad 300S-14ISK
dmi.product.version: Lenovo ideapad 300S-14ISK
dmi.sys.vendor: LENOVO

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug hirsute uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1943624

Title:
  Driver r8169 causes very slow download speed due to ASPM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1943624/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to