My Manjaro uses Ethernet, but the internet speed is very slow

I’m a Linux newbie

My laptop has a dual-boot setup with Manjaro and Windows 11. However, whenever I use Manjaro (connected via Ethernet), my internet speed is very slow, but when I switch back to Windows 11, the speed is fast. Here is my inxi output:

Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8852BE PCIe 802.11ax Wireless Network
    driver: rtw89_8852be
  IF: wlp4s0 state: down mac: <filter>

System:
  Kernel: 6.12.48-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.12-x86_64
    root=UUID=29917ba3-8571-4b80-b10d-6c081b647035 rw rootflags=subvol=@ quiet
    splash resume=UUID=1ea4b101-fefe-4194-804a-cbb8576c2e6c
    udev.log_priority=3
  Desktop: GNOME v: 48.5 tk: GTK v: 3.24.50 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 48.0 Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 21LF v: ThinkBook 14 G6+ AHP
    serial: <superuser required> Chassis: type: 10 v: ThinkBook 14 G6+ AHP
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76479 WIN
    serial: <superuser required> part-nu: LENOVO_MT_21LF_BU_idea_FM_ThinkBook 14
    G6+ AHP uuid: <superuser required> UEFI: LENOVO v: NLCN34WW
    date: 11/07/2024
Battery:
  ID-1: BAT1 charge: 75.9 Wh (94.7%) condition: 80.2/85 Wh (94.3%) volts: 16.73
    min: 15.6 model: ATL L23N4PG11L0 type: Unknown serial: <filter> charging:
    status: not charging cycles: 107
CPU:
  Info: model: AMD Ryzen 7 8845H w/ Radeon 780M Graphics bits: 64 type: MT MCP
    arch: Zen 4 gen: 4 level: v4 note: check built: 2022+ process: TSMC n5 (5nm)
    family: 0x19 (25) model-id: 0x75 (117) stepping: 2 microcode: 0xA705208
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB
    desc: 8x1024 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1384 min/max: 400/5137 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 1384 2: 1384 3: 1384
    4: 1384 5: 1384 6: 1384 7: 1384 8: 1384 9: 1384 10: 1384 11: 1384 12: 1384
    13: 1384 14: 1384 15: 1384 16: 1384 bogomips: 121428
  Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
    svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: indirect_target_selection status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional;
    STIBP: always-on; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsa mitigation: Clear CPU buffers
  Type: tsx_async_abort status: Not affected
  Type: vmscape mitigation: IBPB before exit to userspace
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] HawkPoint1 vendor: Lenovo
    driver: amdgpu v: kernel arch: RDNA-3 code: Phoenix process: TSMC n4 (4nm)
    built: 2023+ pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: eDP-1
    empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6, HDMI-A-1, Writeback-1
    bus-ID: 64:00.0 chip-ID: 1002:1900 class-ID: 0300 temp: 43.0 C
  Device-2: Luxvisions Innotech Integrated RGB Camera driver: uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-1:2
    chip-ID: 30c9:00c2 class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
    compositor: gnome-shell driver: X: loaded: radeon unloaded: modesetting
    alternate: fbdev,vesa gpu: amdgpu display-ID: 0
  Monitor-1: eDP-1 model: Lenovo 0x8aaf built: 2022 res: 3072x1920 dpi: 250
    gamma: 1.2 size: 312x195mm (12.28x7.68") diag: 368mm (14.5") ratio: 16:10
    modes: max: 3072x1920 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.2.3-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon 780M Graphics (radeonsi
    phoenix LLVM 20.1.8 DRM 3.61 6.12.48-1-MANJARO) device-ID: 1002:1900
    memory: 3.91 GiB unified: no display-ID: :0.0
  Info: Tools: api: eglinfo,glxinfo gpu: amdgpu_top,radeontop
    x11: xprop,xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Radeon High Definition Audio
    [Rembrandt/Strix] vendor: Lenovo driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 64:00.1 chip-ID: 1002:1640
    class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Audio Coprocessor vendor: Lenovo
    driver: snd_pci_ps v: kernel alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
    snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63, snd_sof_amd_acp70 pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 64:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Lenovo driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 64:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.12.48-1-MANJARO status: kernel-api tools: N/A
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.4.8 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 7000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8852BE PCIe 802.11ax Wireless Network vendor: Lenovo
    driver: rtw89_8852be v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 6000 bus-ID: 04:00.0 chip-ID: 10ec:b852 class-ID: 0280
  IF: wlp4s0 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:4 chip-ID: 0bda:4853
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 953.87 GiB used: 88.97 GiB (9.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZAL81T0HDLB-00BL2
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 5L1QKXD7 temp: 37.9 C
    scheme: GPT
Partition:
  ID-1: / raw-size: 470.64 GiB size: 470.64 GiB (100.00%)
    used: 88.91 GiB (18.9%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 63.7 MiB (21.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 470.64 GiB size: 470.64 GiB (100.00%)
    used: 88.91 GiB (18.9%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-4: /var/log raw-size: 470.64 GiB size: 470.64 GiB (100.00%)
    used: 88.91 GiB (18.9%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 6 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 51.4 C mobo: N/A gpu: amdgpu temp: 45.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 28 GiB available: 27.21 GiB used: 2.97 GiB (10.9%)
  Processes: 430 Power: uptime: 3m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 10.84 GiB services: gsd-power, power-profiles-daemon, upowerd
    Init: systemd v: 257 default: graphical tool: systemctl
  Packages: 1384 pm: pacman pkgs: 1373 libs: 337
    tools: gnome-software,pamac,yay pm: flatpak pkgs: 11 Compilers: clang: 20.1.8
    gcc: 15.2.1 Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.39

This is the output when I run mtr ``bing.com in the console under stable conditions:

cz (2408:8469:2ac0:25c:68ca:64b6:b7f9:b15) -> bing.com (2620:1ec:33:1::10)                                                                          2025-11-26T22:10:38+0800
Keys:  Help   Display mode   Restart statistics   Order of fields   quit
                                                                                                                                    Packets               Pings
 Host                                                                                                                             Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. 2408:8469:2ac0:25c::e4                                                                                                         0.0%    25    3.0  83.8   3.0 179.6  54.8
 2. (waiting for reply)
 3. 2408:8142:e000:400::a01                                                                                                       95.8%    25  387.2 387.2 387.2 387.2   0.0
 4. 2408:8142:e000:400::a90                                                                                                       79.2%    25  214.0 224.2 180.6 270.6  36.3
 5. 2408:8142:e000:4::3002                                                                                                        32.0%    25  173.6 151.7  33.8 295.7  79.9
 6. (waiting for reply)
 7. 2408:8000:2:26::                                                                                                              95.8%    25  368.7 368.7 368.7 368.7   0.0
 8. 2408:8000:2:804::                                                                                                             62.5%    25  286.0 191.1  59.5 310.6  90.4
 9. 2408:8000:2:793::                                                                                                              0.0%    24  144.4 230.3  58.5 365.5  86.1
10. 2408:8000:2:8042::1                                                                                                            0.0%    24  305.1 247.8 107.2 392.1  82.5
11. 2408:8000:3::491                                                                                                               0.0%    24  248.5 284.8 120.1 392.9  65.0
12. 2a01:111:0:133::586                                                                                                            0.0%    24  393.1 278.5 154.7 404.9  68.5
13. 2a01:111:224:6f::442                                                                                                           0.0%    24  337.3 271.0 133.0 377.3  68.7
14. (waiting for reply)
15. (waiting for reply)
16. (waiting for reply)
17. (waiting for reply)
18. 2620:1ec:33:1::10                                                                                                              0.0%    24  288.6 273.8  85.9 373.6  71.9

Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet might work better if r8168 driver is used instead of r8169 driver

Manjaro hardware detection tool can install kernel modules for r8168 driver and blacklist r8169 driver

sudo mhwd -i pci network-r8168

Or use Manjaro Settings Manager GUI:

manjaro-settings-manager -m msm_mhwd

enable option in bottom left corner - Show All Devices

Look in section Network controller > RTL8111/8168/8411 for network-r8168

Right click on network-r8168 and select Install

Wired connection keeps dropping
Network disconnects for a minute after sleep

3 Likes

An option to explore is disable fast startup in windows and/or fastboot in bios/uefi settings.

Some background:

1 Like

What is your default route configured as? (Are you sure it’s using Ethernet and not Wi-Fi?)

We can figure out what your default route is with:

ip address
ip route

or: ip a; ip r

1 Like

No effect, in fact I previously installed linux612-r8168, but it didn’t work.

I can confirm that I am using Ethernet

If r8168 driver is installed using Manjaro Settings Manager GUI or mhwd, r8169 driver is blacklisted automatically

$ cat /etc/modprobe.d/r8169_blacklist.conf
blacklist r8169

If linux612-r8168 was installed using a package manager, r8169 can be removed and replaced with r8168 with:

sudo modprobe -r r8169; sudo modprobe r8168

Still no effect

$ modinfo r8168
filename:       /lib/modules/6.12.48-1-MANJARO/extramodules/r8168.ko.zst
version:        8.055.00-NAPI
firmware:       rtl_nic/rtl8168fp-4.fw
firmware:       rtl_nic/rtl8168fp-3.fw
firmware:       rtl_nic/rtl8168h-4.fw
firmware:       rtl_nic/rtl8168h-3.fw
firmware:       rtl_nic/rtl8168h-2.fw
firmware:       rtl_nic/rtl8168h-1.fw
firmware:       rtl_nic/rtl8168ep-3.fw
firmware:       rtl_nic/rtl8168ep-2.fw
firmware:       rtl_nic/rtl8168ep-1.fw
firmware:       rtl_nic/rtl8168g-3.fw
firmware:       rtl_nic/rtl8168g-2.fw
firmware:       rtl_nic/rtl8411-2.fw
firmware:       rtl_nic/rtl8411-1.fw
firmware:       rtl_nic/rtl8168f-2.fw
firmware:       rtl_nic/rtl8168f-1.fw
firmware:       rtl_nic/rtl8168e-4.fw
firmware:       rtl_nic/rtl8168e-3.fw
firmware:       rtl_nic/rtl8168e-2.fw
firmware:       rtl_nic/rtl8168e-1.fw
firmware:       rtl_nic/rtl8168d-2.fw
firmware:       rtl_nic/rtl8168d-1.fw
license:        GPL
description:    RealTek RTL-8168 Gigabit Ethernet driver
author:         Realtek and the Linux r8168 crew <netdev@vger.kernel.org>
srcversion:     7C04AEBCFF8BCCECBFE3CB1
alias:          pci:v00001186d00004300sv00001186sd00004B10bc*sc*i*
alias:          pci:v000010ECd00002600sv*sd*bc*sc*i*
alias:          pci:v000010ECd00002502sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008161sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008168sv*sd*bc*sc*i*
depends:        
name:           r8168
retpoline:      Y
vermagic:       6.12.48-1-MANJARO SMP preempt mod_unload 
parm:           speed_mode:force phy operation. Deprecated by ethtool (8). (uint)
parm:           duplex_mode:force phy operation. Deprecated by ethtool (8). (uint)
parm:           autoneg_mode:force phy operation. Deprecated by ethtool (8). (uint)
parm:           advertising_mode:force phy operation. Deprecated by ethtool (8). (uint)
parm:           dynamic_aspm:int
parm:           aspm:Enable ASPM. (int)
parm:           s5wol:Enable Shutdown Wake On Lan. (int)
parm:           s5_keep_curr_mac:Enable Shutdown Keep Current MAC Address. (int)
parm:           use_dac:Enable PCI DAC. Unsafe on 32 bit PCI slot. (int)
parm:           timer_count:Timer Interrupt Interval. (int)
parm:           eee_enable:Enable Energy Efficient Ethernet. (int)
parm:           hwoptimize:Enable HW optimization function. (ulong)
parm:           s0_magic_packet:Enable S0 Magic Packet. (int)
parm:           dynamic_aspm_packet_threshold:Dynamic ASPM packet threshold. (int)
parm:           disable_wol_support:Disable PM support. (int)
parm:           eee_giga_lite:Enable Giga Lite. (int)
parm:           debug:Debug verbosity level (0=none, ..., 16=all) (int)

modinfo data confirms linux612-r8168 is installed

To confirm r8168 driver is loaded instead of r8169:

inxi -Nx

or

lspci -knnd 10ec:8168:0200
1 Like
$ lspci -knnd 10ec:8168:0200 
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: Lenovo Device [17aa:396f]
	Kernel driver in use: r8168
	Kernel modules: r8169, r8168
inxi -Nx
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8168 v: 8.055.00-NAPI port: 7000 bus-ID: 02:00.0
  Device-2: Realtek RTL8852BE PCIe 802.11ax Wireless Network vendor: Lenovo
    driver: rtw89_8852be v: kernel port: 6000 bus-ID: 04:00.0
1 Like

If r8168 driver works better than r8169 driver, r8169 can be blacklisted with:

sudo tee /etc/modprobe.d/r8169_blacklist.conf <<< 'blacklist r8169'

If r8168 driver does not work better system can be restarted to reload r8169 driver, or:

sudo modprobe -r r8168; sudo modprobe r8169