Terribly slow network speeds

Hello! I've been using Garuda for some time now, and my biggest issue is that of networking. With and without the performance-tweaks package installed, I can never get any higher than 11.7MiB/s download, however my upload speed is not hindered. I have verified in BIOS that there's no limitation, and the garuda-inxi reports my Ethernet port being gigabit-capable. There have been times, about once or twice, when it worked spontaneously and my download speed was around where it should be, ~500MiB/s as reported by speedtest.net.

garuda-inxi:

System:
Kernel: 5.17.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=7515bff1-e307-4dbb-be1e-cefc4d561599 rw [email protected]
quiet
cryptdevice=UUID=059d40fd-3acb-4cc8-bb41-53132f1d6f3f:luks-059d40fd-3acb-4cc8-bb41-53132f1d6f3f
root=/dev/mapper/luks-059d40fd-3acb-4cc8-bb41-53132f1d6f3f quiet splash
rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
Console: pty pts/0 wm: kwin_x11 DM: SDDM Distro: Garuda Linux
base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: TUF GAMING X570-PLUS (WI-FI) v: Rev X.0x
serial: <filter> UEFI: American Megatrends v: 4005 date: 07/13/2021
CPU:
Info: model: AMD Ryzen 7 5800X socket: AM4 bits: 64 type: MT MCP
arch: Zen 3 family: 0x19 (25) model-id: 0x21 (33) stepping: 0
microcode: 0xA201016
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 32 MiB desc: 1x32 MiB
Speed (MHz): avg: 2325 high: 4200 min/max: 2200/5361 boost: enabled
base/boost: 4200/4850 scaling: driver: acpi-cpufreq governor: schedutil
volts: 1.1 V ext-clock: 100 MHz cores: 1: 2200 2: 2200 3: 4200 4: 2200
5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200
13: 2200 14: 2200 15: 2200 16: 2200 bogomips: 134402
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
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: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M]
vendor: Tul / PowerColor driver: amdgpu v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 ports: active: DP-2,DP-3,HDMI-A-1 empty: DP-1
bus-ID: 0c:00.0 chip-ID: 1002:73df class-ID: 0300
Device-2: Logitech HD Pro Webcam C920 type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-1.2:4 chip-ID: 046d:082d
class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting,radeon
alternate: fbdev,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 5760x1080 s-dpi: 96 s-size: 1524x285mm (60.00x11.22")
s-diag: 1550mm (61.04")
Monitor-1: DP-2 mapped: DisplayPort-1 pos: primary,left
model: LG (GoldStar) FULL HD built: 2016 res: 1920x1080 hz: 60 dpi: 102
gamma: 1.2 size: 480x270mm (18.9x10.63") diag: 551mm (21.7") ratio: 16:9
modes: max: 1920x1080 min: 720x400
Monitor-2: DP-3 mapped: DisplayPort-2 pos: right
model: LG (GoldStar) FULL HD built: 2014 res: 1920x1080 hz: 60 dpi: 102
gamma: 1.2 size: 480x270mm (18.9x10.63") diag: 551mm (21.7") ratio: 16:9
modes: max: 1920x1080 min: 720x400
Monitor-3: HDMI-A-1 mapped: HDMI-A-0 pos: primary,center
model: HP OMEN by 25 serial: <filter> built: 2017 res: 1920x1080 dpi: 90
gamma: 1.2 size: 543x302mm (21.38x11.89") diag: 621mm (24.5") ratio: 16:9
modes: max: 1920x1080 min: 720x400
OpenGL: renderer: AMD Radeon RX 6700 XT (navy_flounder LLVM 13.0.1 DRM
3.44 5.17.9-zen1-1-zen)
v: 4.6 Mesa 22.1.0 direct render: Yes
Audio:
Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel
pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0c:00.1 chip-ID: 1002:ab28
class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0e:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: C-Media Blue Snowball type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-1.1.3:6
chip-ID: 0d8c:0005 class-ID: 0300 serial: <filter>
Device-4: Astro Gaming MixAmp Pro type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-1.1.4:7
chip-ID: 9886:0038 class-ID: 0300
Device-5: Logitech HD Pro Webcam C920 type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-1.2:4 chip-ID: 046d:082d
class-ID: 0102 serial: <filter>
Sound Server-1: ALSA v: k5.17.9-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.51 running: yes
Network:
Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2526 class-ID: 0280
IF: wlp5s0 state: down mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 06:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
v: 0.8 bus-ID: 3-5:2 chip-ID: 8087:0025 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 13.71 TiB used: 803.01 GiB (5.7%)
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B
speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter> rev: 4B2QGXA7
temp: 42.9 C scheme: GPT
SMART: yes health: PASSED on: 2 hrs cycles: 7
read-units: 257,672 [131 GB] written-units: 747,581 [382 GB]
ID-2: /dev/nvme1n1 maj-min: 259:3 vendor: Samsung
model: SSD 970 EVO Plus 500GB size: 465.76 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 2B2QEXM7 temp: 49.9 C scheme: GPT
SMART: yes health: PASSED on: 63 hrs cycles: 152
read-units: 6,024,442 [3.08 TB] written-units: 10,966,019 [5.61 TB]
ID-3: /dev/sda maj-min: 8:0 vendor: SanDisk model: SDSSDH3 512G
size: 476.94 GiB block-size: physical: 512 B logical: 512 B sata: 3.3
speed: 6.0 Gb/s type: SSD serial: <filter> rev: 1000 temp: 47 C
scheme: GPT
SMART: yes state: enabled health: PASSED on: 81d 6h cycles: 644
read: 2.6 MiB written: 2.8 MiB
ID-4: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD4004FZWX-00GBGB0 family: Black size: 3.64 TiB block-size:
physical: 4096 B logical: 512 B sata: 3.1 speed: 6.0 Gb/s type: HDD
rpm: 7200 serial: <filter> rev: 0A81 temp: 49 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 1y 204d 6h cycles: 3489
ID-5: /dev/sdc maj-min: 8:32 vendor: Toshiba model: DT01ACA200
family: 3.5" DT01ACA... Desktop HDD size: 1.82 TiB block-size:
physical: 4096 B logical: 512 B sata: 3.0 speed: 6.0 Gb/s type: HDD
rpm: 7200 serial: <filter> rev: ABB0 temp: 42 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 1y 360d 20h cycles: 4813
Pre-Fail: reallocated sector: 100 threshold: 5
ID-6: /dev/sdd maj-min: 8:48 type: USB vendor: Western Digital
model: WD easystore 25FB drive model: WD40EZRZ-00GXCB0 family: Blue
size: 3.64 TiB block-size: physical: 4096 B logical: 512 B sata: 3.1
speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
drive serial: <filter> rev: 3004 drive rev: 80.00A80 temp: 37 C
scheme: GPT
SMART: yes state: enabled health: PASSED on: 333d 6h cycles: 11941
ID-7: /dev/sde maj-min: 8:64 type: USB vendor: Western Digital
model: WD My Book 25EE drive model: WD30EZRZ-00Z5HB0 family: Blue
size: 2.73 TiB block-size: physical: 4096 B logical: 512 B sata: 3.0
speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
drive serial: <filter> rev: 4003 drive rev: 80.00A80 temp: 45 C
scheme: GPT
SMART: yes state: enabled health: PASSED on: 102d 8h cycles: 10748
ID-8: /dev/sdf maj-min: 8:80 type: USB vendor: SanDisk model: Ultra
size: 57.28 GiB block-size: physical: 512 B logical: 512 B type: N/A
serial: <filter> rev: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
used: 227.1 GiB (24.4%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
maj-min: 254:0 mapped: luks-059d40fd-3acb-4cc8-bb41-53132f1d6f3f
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 720 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:1
ID-3: /home raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
used: 227.1 GiB (24.4%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
maj-min: 254:0 mapped: luks-059d40fd-3acb-4cc8-bb41-53132f1d6f3f
ID-4: /var/log raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
used: 227.1 GiB (24.4%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
maj-min: 254:0 mapped: luks-059d40fd-3acb-4cc8-bb41-53132f1d6f3f
ID-5: /var/tmp raw-size: 931.21 GiB size: 931.21 GiB (100.00%)
used: 227.1 GiB (24.4%) fs: btrfs block-size: 4096 B dev: /dev/dm-0
maj-min: 254:0 mapped: luks-059d40fd-3acb-4cc8-bb41-53132f1d6f3f
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.32 GiB used: 2.2 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 51.0 C
mem: 54.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Info:
Processes: 497 Uptime: 3m wakeups: 0 Memory: 31.32 GiB used: 2.9 GiB (9.3%)
Init: systemd v: 251 tool: systemctl Compilers: gcc: 12.1.0 Packages:
pacman: 1491 lib: 396 Shell: garuda-inxi (sudo) default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.16
Garuda (2.6.3-2):
System install date:     2022-05-22
Last full system update: 2022-05-24
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Yes
Snapshots:               Snapper
Failed units:

Do you have any other devices that reach a higher download rate?

Yes, I have a RHEL server on my network that achieves the speed I should be getting. (500MiB/s according to speedtest.net)

Could you boot a RHEL live installer environment and check whether that makes a difference?

Do you mean a Garuda live environment?

No.

It's running at 100Mbps, which is about 10MB/s, so that would be correct.

So interestingly enough, I didn't end up booting my server from the RHEL live environment since it's currently being used for hosting and other stuff, however, I did manage to fix it by unplugging and replugging my ethernet cable. I guess it's some sort of hardware / firmware issue then. :person_shrugging:

Up your speed in Network Manager.

4 Likes

Likely the autonegotiation picking up the wrong speed; could well be down to the cable oe EM interference.

5 Likes

Update your BIOS. Most of the problems with the integrated network card are caused by a buggy BIOS, which is very common with new hardware these days (except servers). I have not seen any problems with networking due to BIOS in linux only on expensive supermicro boards. A friend of mine had a similar problem only the connection went down after a while instead of speeding incorrectly (gigabyte x570 motherboard). As practice shows, the most problematic boards on the AM4 socket from gigabyte and asus.

1 Like