You are not logged in.

#1 2022-04-05 03:15:13

wesleynw
Member
Registered: 2018-09-01
Posts: 15

Significantly decreased WiFi speeds are installing NetworkManager/KDE

I was originally using a combination of iwd, systemd-networkd, and systemd-resolved on i3 where I would get downloads speeds of upwards of 100, upload speeds around 20. Albeit, this is after tuning a few module parameters.

I recently switched to KDE, with i3wm, and using NetworkManager I found that my speeds were around 25 down, 3 up. I tried switching back to my original setup, making sure to stop NetworkManager and wpa_supplicant, but the slow speeds are still there.

I would be happy to attach any relevant logs, but for now I'll just attach my module parameters:
options iwlwifi 11n_disable=8
options iwlmvm power_scheme=1

Is there anything I need to know when switching over between my two setups?

Last edited by wesleynw (2022-04-05 03:18:55)

Offline

#2 2022-04-05 06:48:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 16,501

Re: Significantly decreased WiFi speeds are installing NetworkManager/KDE

You primarily need to make sure you do not have any remnants of the old setup still running that could lead to a logical conflict between the network handlers. What's your output for

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

in code tags

Also how sure are you that this was the only change? did you also update the kernel in between?

Online

#3 2022-04-05 07:06:04

wesleynw
Member
Registered: 2018-09-01
Posts: 15

Re: Significantly decreased WiFi speeds are installing NetworkManager/KDE

The output is

dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service    | system
dbus-org.freedesktop.timesync1.service   | system
dirmngr.socket                           | sockets.target.wants
display-manager.service                  | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
paccache.timer                           | timers.target.wants
pipewire-media-session.service           | pipewire.service.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
plexmediaserver.service                  | multi-user.target.wants
pulseaudio.socket                        | sockets.target.wants
radarr.service                           | multi-user.target.wants
reflector.timer                          | timers.target.wants
remote-fs.target                         | multi-user.target.wants
sonarr.service                           | multi-user.target.wants
sshd.service                             | multi-user.target.wants
syncthing@wesley.service                 | multi-user.target.wants
systemd-resolved.service                 | multi-user.target.wants
systemd-timesyncd.service                | sysinit.target.wants
ufw.service                              | multi-user.target.wants
xdg-user-dirs-update.service             | default.target.wants

I previously had issues with slow speeds like this but fixed them by adding the 11n_disable=8 line. In this case, all I did was install plasma, disable my previous configuration, and make a new one on networkmanager.

Offline

#4 2022-04-05 07:32:19

seth
Member
Registered: 2012-09-03
Posts: 29,931

Re: Significantly decreased WiFi speeds are installing NetworkManager/KDE

speeds of upwards of 100, upload speeds around 20

my speeds were around 25 down, 3 up

Aha. "speeds" were "numbers" roll

How and against what did you measure those (we'll just assume it's Mbit/s)?
Did you make sure that there's no sideload from syncthing or your torrent client?
Or do you talk about the torrent client and the speeds suspiciously dropped along some recent events in eastern europe?
Can you measure the throughput against a host in the LAN? (after shutting down all possible sideloads)

Offline

#5 2022-04-05 09:26:29

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 10,158

Re: Significantly decreased WiFi speeds are installing NetworkManager/KDE

That output in post #3 indicates you're still using networkmanager, not systemd-networkd .

To switch NM from wpa-supplicant to iwd some configuration is needed, see https://wiki.archlinux.org/title/Networ … Fi_backend

Did you perform those steps ?

Last edited by Lone_Wolf (2022-04-05 09:27:39)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2022-04-05 18:07:38

wesleynw
Member
Registered: 2018-09-01
Posts: 15

Re: Significantly decreased WiFi speeds are installing NetworkManager/KDE

How and against what did you measure those (we'll just assume it's Mbit/s)?

I measured multiple times using speedtest-cli as well as iperf on my LAN with multiple different devices. The speeds from these tests vary wildly even without the torrent client, syncthing, or anything else running, compared to before the switch.

To switch NM from wpa-supplicant to iwd some configuration is needed

Yes, I performed this configuration. There seems to be a slight increase in speed but its still well below the speeds I was achieving before.

Offline

#7 2022-04-05 21:35:41

seth
Member
Registered: 2012-09-03
Posts: 29,931

Re: Significantly decreased WiFi speeds are installing NetworkManager/KDE

Did you ever reboot after restoring the status quo ante?
You should also inspect a system journal from before to one now to spot possible differences (and post them for inspection)

Also check your pacman log - plasma got an update on April 2nd and March 29th, so depending on how "recently" you switched, there's no way that there wasn't a newarby system update and you might have only noticed the impact after installing plasma (and maybe rebooting)

Offline

#8 2022-04-06 04:13:45

wesleynw
Member
Registered: 2018-09-01
Posts: 15

Re: Significantly decreased WiFi speeds are installing NetworkManager/KDE

I looked at my journactl and found an interesting message:

Apr 05 21:12:02 arch-desktop NetworkManager[2561]: <warn>  [1649218322.7790] platform-linux: do-add-ip6-address[4: fe80::aabc:ff7f:fe19:6dc2]: failure 95 (Operation not supported)

This seems odd as I've added ipv6.disable-=1 to my kernel parameters.

After turning off ipv6 for my NetworkManager profile and rebooting, I'm still getting very slow speeds though.

Offline

#9 2022-04-06 06:52:40

seth
Member
Registered: 2012-09-03
Posts: 29,931

Re: Significantly decreased WiFi speeds are installing NetworkManager/KDE

That's neither surprising nor significant - NM (I thought you had returned to the previous setup?) tries to add an IPv6 and the message is indicative of the fact that you've disabled the IPv6 stack in the kernel.
Again: don't just look at random journals for things that might look like errors. You'll have to match journals of comparable (same configuration) boots w/ good and bad behavior.

Also you haven't addressed the update/reboot situation.

Offline

#10 2022-04-07 06:27:07

wesleynw
Member
Registered: 2018-09-01
Posts: 15

Re: Significantly decreased WiFi speeds are installing NetworkManager/KDE

As an experiment, I completely uninstalled KDE, NM, and wpa supplicant, enabling my old setup. After a reboot, still the same slow speeds. In fact, iperf seems to be showing even slower speeds than before. I'm really at a loss as to what is happening here. I had previously had a lot of issues with my card, but it seemed to all be attributed to power saving of 11n being enabled.

Offline

#11 2022-04-07 07:16:21

seth
Member
Registered: 2012-09-03
Posts: 29,931

Re: Significantly decreased WiFi speeds are installing NetworkManager/KDE

I'm really at a loss as to what is happening here.

So are we.

seth wrote:

You should also inspect a system journal from before to one now to spot possible differences (and post them for inspection)

Also check your pacman log - plasma got an update on April 2nd and March 29th, so depending on how "recently" you switched, there's no way that there wasn't a newarby system update and you might have only noticed the impact after installing plasma (and maybe rebooting)

Offline

#12 2022-04-09 20:04:31

wesleynw
Member
Registered: 2018-09-01
Posts: 15

Re: Significantly decreased WiFi speeds are installing NetworkManager/KDE

Sorry for delayed response, I've been busy with school.

I just did a clean install, installing NM and wpa_supplicant immediately and adding my iwlwifi/iwlmvm parameters. Speed seems to be perfectly fine now. Not sure what was happening before.

Offline

Board footer

Powered by FluxBB