You are not logged in.

#1 2021-09-05 22:55:55

basie
Member
Registered: 2017-09-28
Posts: 17

[SOLVED] Slow wifi on Arch laptop (other devices fine)

Most devices in the household get around 350 Mbps download, 60-ish upload. However, my main arch work laptop is more like 13 Mbps down, 38 up. (Just Google speed test, but enough to establish that something odd is happening.)

This is an Asus G14 using the custom kernel linux-g14.5.14.1.arch1-2-x86_64.

So far, I've tried adding the following config:

options iwlwifi bt_coex_active=0 swcrypto=1 11n_disable=8

to no avail. Edit: I notice the following in journalctl which I guess makes those a bit useless:

Sep 06 10:34:56 fitzgerald kernel: iwlwifi 0000:02:00.0: iwlmvm doesn't allow to disable HW crypto, check swcrypto module parameter
Sep 06 10:34:56 fitzgerald kernel: iwlwifi 0000:02:00.0: iwlmvm doesn't allow to disable BT Coex, check bt_coex_active module parameter

Haven't tried turning off power management, or disabling 802.11n yet. Are these likely culprits? What else should I try?

λ lspci | rg Network
02:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
λ iwconfig wlan0
wlan0     IEEE 802.11  ESSID:"LANHolmFast"
          Mode:Managed  Frequency:5.745 GHz  Access Point: 34:0A:33:B9:01:98
          Bit Rate=626.9 Mb/s   Tx-Power=22 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=56/70  Signal level=-54 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:137   Missed beacon:0
λ sudo lshw -C network
  *-network
       description: Wireless interface
       product: Wi-Fi 6 AX200
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlan0
       version: 1a
       serial: 08:d2:3e:23:b9:3c
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.13.12-arch1-1 firmware=63.c04f3485.0 cc-a0-63.ucode ip=192.168.0.198 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:80 memory:fc800000-fc803fff
λ sudo resolvectl
Global
           Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
    resolv.conf mode: stub
Fallback DNS Servers: 1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10 2001:4860:4860::8888

Link 3 (wlan0)
    Current Scopes: DNS LLMNR/IPv4
         Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.0.1
       DNS Servers: 192.168.0.1

Link 4 (br-0a0638b3c3b0)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 5 (br-25e4afdcc693)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 6 (br-9d12b731ec2d)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 7 (br-ae82f1e37e9c)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 8 (br-c14a6f54e202)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 9 (br-fac04ea5e169)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 10 (br-1d981eb61e62)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 11 (docker0)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 12 (br-4f1cbda0be20)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
λ sysctl net.ipv4.tcp_ecn
net.ipv4.tcp_ecn = 2

Journalctl: https://pastebin.com/uTb4e3i1

Last edited by basie (2021-09-06 00:03:34)

Offline

#2 2021-09-05 23:27:03

basie
Member
Registered: 2017-09-28
Posts: 17

Re: [SOLVED] Slow wifi on Arch laptop (other devices fine)

Oh, and if it matters we have a wifi 6 mesh network (D-Link COVR-X1870).

Offline

#3 2021-09-06 00:02:29

basie
Member
Registered: 2017-09-28
Posts: 17

Re: [SOLVED] Slow wifi on Arch laptop (other devices fine)

Going to mark this solved for now, a chance search lead me to `iwlwvm` config and the following seems to make a dramatic difference:

options iwlmvm power_scheme=1

Offline

Board footer

Powered by FluxBB