You are not logged in.

#1 2023-06-03 06:30:55

sgp
Member
Registered: 2023-06-02
Posts: 19

[SOLVED] Slow wireless internet speed

I'm having a trouble with my internet connection.

I run the following command to measure my connection speed:

curl -L "https://speed.hetzner.de/1GB.bin" > /dev/null

And I'm getting 2MB/s on average
But if I run the exact same command while booted from installation medium I get a stable 20MB/s so I guess it's a configuration issue

I followed Network configuration page but it seems like I'm missing something

No other OS are present besides Arch.

Here are ip link, ip a and ip r if it may be useful:

ip link show wlan0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether f8:9e:94:5c:48:60 brd ff:ff:ff:ff:ff:ff
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f8:9e:94:5c:48:60 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.16/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
       valid_lft 82341sec preferred_lft 82341sec
    inet6 fe80::a37b:3fc1:e103:c7d9/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
ip r
default via 192.168.1.1 dev wlan0 proto dhcp src 192.168.1.16 metric 600
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.16 metric 600

Last edited by sgp (2023-06-05 17:43:41)

Offline

#2 2023-06-03 14:43:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,238

Re: [SOLVED] Slow wireless internet speed

Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
lspci -k
pacman -Qs firmware

Online

#3 2023-06-03 16:14:20

sgp
Member
Registered: 2023-06-02
Posts: 19

Re: [SOLVED] Slow wireless internet speed

seth wrote:

Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
lspci -k
pacman -Qs firmware
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
bluetooth.service                        | bluetooth.target.wants
cronie.service                           | multi-user.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
getty@tty1.service                       | getty.target.wants
iwd.service                              | multi-user.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
lspci -k
00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01)
	Subsystem: Intel Corporation Wi-Fi 6E AX211 160MHz
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

Doubt that it's needed but there's the full lspci output: pastebin.com

pacman -Qs firmware
local/alsa-firmware 1.2.4-3
    Firmware binaries for loader programs in alsa-tools and hotplug firmware
    loader
local/linux-firmware 20230404.2e92a49f-1
    Firmware files for Linux
local/linux-firmware-whence 20230404.2e92a49f-1
    Firmware files for Linux - contains the WHENCE license file which documents
    the vendor license details
local/sof-firmware 2.2.5-1
    Sound Open Firmware

Offline

#4 2023-06-03 16:32:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,238

Re: [SOLVED] Slow wireless internet speed

Disable iwd, if you want to use it as ckend for NM, see the NM wiki article.

Online

#5 2023-06-03 17:20:10

sgp
Member
Registered: 2023-06-02
Posts: 19

Re: [SOLVED] Slow wireless internet speed

seth wrote:

Disable iwd, if you want to use it as ckend for NM, see the NM wiki article.

Actually I was already using iwd as a backend, I removed it but nothing changed and I'm still getting 1-2MB/s

Offline

#6 2023-06-03 19:15:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,238

Re: [SOLVED] Slow wireless internet speed

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'f:1=<-' ix.io

Online

#7 2023-06-03 20:00:14

sgp
Member
Registered: 2023-06-02
Posts: 19

Re: [SOLVED] Slow wireless internet speed

seth wrote:

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'f:1=<-' ix.io

http://ix.io/4xpv

Offline

#8 2023-06-03 20:14:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,238

Re: [SOLVED] Slow wireless internet speed

There're no firmware crashes or connection losses.
What if you actually try wpa_supplicant (in any event it'll log more stuff)?
Also try to limit the device to 802.11n

iwlwifi.disable_11ax=true iwlwifi.disable_11ac=true

https://wiki.archlinux.org/title/Kernel_parameters

Online

#9 2023-06-03 20:25:34

sgp
Member
Registered: 2023-06-02
Posts: 19

Re: [SOLVED] Slow wireless internet speed

seth wrote:

There're no firmware crashes or connection losses.
What if you actually try wpa_supplicant (in any event it'll log more stuff)?
Also try to limit the device to 802.11n

iwlwifi.disable_11ax=true iwlwifi.disable_11ac=true

https://wiki.archlinux.org/title/Kernel_parameters

Like this? http://ix.io/4xpy

Offline

#10 2023-06-03 20:51:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,238

Re: [SOLVED] Slow wireless internet speed

Yes, did any of this have impact on the throughput?

Online

#11 2023-06-03 20:53:09

sgp
Member
Registered: 2023-06-02
Posts: 19

Re: [SOLVED] Slow wireless internet speed

seth wrote:

Yes, did any of this have impact on the throughput?

No, everything stays the same

Offline

#12 2023-06-03 20:55:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,238

Re: [SOLVED] Slow wireless internet speed

You could try
1. the LTS kernel in case there's some regression
2. using iwd (closest to install iso) or wifi-menu (from netctl, using wpa_supplicant) to get rid of NM's scanning patterns.

Online

#13 2023-06-03 22:16:06

sgp
Member
Registered: 2023-06-02
Posts: 19

Re: [SOLVED] Slow wireless internet speed

seth wrote:

You could try
1. the LTS kernel in case there's some regression
2. using iwd (closest to install iso) or wifi-menu (from netctl, using wpa_supplicant) to get rid of NM's scanning patterns.

None of those seem to work
I tried iwd+dhcpcd or wpa_supplicant on both 6.3.5.arch1-1 and 6.1.31-1-lts

Offline

#14 2023-06-04 05:25:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,238

Re: [SOLVED] Slow wireless internet speed

Did you remove "iwlwifi.disable_11ax=true iwlwifi.disable_11ac=true" for those tests?
Did you at any point repeat the test w/ the install iso?

Online

#15 2023-06-04 06:50:53

sgp
Member
Registered: 2023-06-02
Posts: 19

Re: [SOLVED] Slow wireless internet speed

seth wrote:

Did you remove "iwlwifi.disable_11ax=true iwlwifi.disable_11ac=true" for those tests?

I tried disabling it now but the problem is still present
But these parameters give me an additional 500KB/s, don't know if it's a sign

seth wrote:

Did you at any point repeat the test w/ the install iso?

Yes, several times, and another one right now to be sure, and they all have 15-20MB/s

Last edited by sgp (2023-06-04 07:02:45)

Offline

#16 2023-06-04 09:52:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,238

Re: [SOLVED] Slow wireless internet speed

don't know if it's a sign

That's 25% of what you get and 2.5% of what you'd expect, so probably just variance?

I didn't see any of that in the journal but do you use power management tools like TLP, powertop autotune or maybe https://wiki.archlinux.org/title/Power_ … interfaces ?

Online

#17 2023-06-04 10:21:41

sgp
Member
Registered: 2023-06-02
Posts: 19

Re: [SOLVED] Slow wireless internet speed

seth wrote:

don't know if it's a sign

That's 25% of what you get and 2.5% of what you'd expect, so probably just variance?

I didn't see any of that in the journal but do you use power management tools like TLP, powertop autotune or maybe https://wiki.archlinux.org/title/Power_ … interfaces ?

No, none of them, but I used TLP a little while ago

Offline

#18 2023-06-04 11:48:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,238

Re: [SOLVED] Slow wireless internet speed

Let's see whether there's some stale config:

systool -vm iwlwifi
systool -vm iwlmvm
systool -vm iwldvm
iw dev wlp0s20f3 get power_save

Are you btw. running the tests from the multi-user.target or some graphical session (though if there was sideload, the throughput would likely fluctuate more)

Online

#19 2023-06-04 12:01:10

sgp
Member
Registered: 2023-06-02
Posts: 19

Re: [SOLVED] Slow wireless internet speed

seth wrote:

Let's see whether there's some stale config:

systool -vm iwlwifi
systool -vm iwlmvm
systool -vm iwldvm
iw dev wlp0s20f3 get power_save

Are you btw. running the tests from the multi-user.target or some graphical session (though if there was sideload, the throughput would likely fluctuate more)

systool -vm iwlwifi
Module = "iwlwifi"

  Attributes:
    coresize            = "548864"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "1"
    srcversion          = "5309898BCF2E615488FCDC8"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    11n_disable         = "0"
    amsdu_size          = "0"
    bt_coex_active      = "Y"
    debug               = "0"
    disable_11ac        = "Y"
    disable_11ax        = "Y"
    disable_11be        = "N"
    fw_restart          = "Y"
    led_mode            = "0"
    nvm_file            = "(null)"
    power_level         = "0"
    power_save          = "N"
    remove_when_gone    = "N"
    swcrypto            = "0"
    uapsd_disable       = "3"

I run curl from X, but I also tried it just from tty

Offline

#20 2023-06-05 17:43:06

sgp
Member
Registered: 2023-06-02
Posts: 19

Re: [SOLVED] Slow wireless internet speed

Well, I completely reinstalled the system and now everything's fine, somehow I messed it up...

Offline

Board footer

Powered by FluxBB