You are not logged in.

#1 2023-08-04 14:41:12

Xenfo
Member
From: Montreal, QC
Registered: 2021-11-06
Posts: 39
Website

[SOLVED] Horrible internet speeds

I'm using `iwd` to connect to my WiFi with the builtin DHCP client and `systemd-resolved`. I'm getting very slow download speeds, consistently in the kilobytes while using Pacman, compared to Windows where I was getting around 3mbs (which I still think is low since my phone can do 5mbs download). In other applications, it's more random, sometimes a webpage will load instantly and then the next time I load one it takes a minute. Any suggestions?

/etc/iwd/main.conf

[General]
EnableNetworkConfiguration=true

[Network]
NameResolvingService=systemd

Last edited by Xenfo (2023-08-06 11:52:56)

Offline

#2 2023-08-04 15:33:35

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,446

Re: [SOLVED] Horrible internet speeds

Check and make sure you are only running one (1) and only one network manager. It's a common mistake to have competing network managers running. Also check your journal and dmesg for potential driver/connection issues that may be logged there. I do not run iwd, so I'm not sure, but shouldn't you have to configure a [Network] section in that config file?

Offline

#3 2023-08-04 15:44:29

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED] Horrible internet speeds

How many "kilobytes" is pacman showing for the speed?  You compare this to 3mb[p]s which would be in the kilobytes range - specifically 375 kBps.  Also pacman reports KiB/s as the speed, so 3mpbs would be equivalent to 366 KiB/s.  So if you are getting hundreds of kibibytes from pacman's speed report, then that sounds right.

Web pages taking a long time to start loading might more likely be a DNS issues.

Last edited by Trilby (2023-08-04 15:45:23)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2023-08-05 00:41:26

Xenfo
Member
From: Montreal, QC
Registered: 2021-11-06
Posts: 39
Website

Re: [SOLVED] Horrible internet speeds

twelveeighty wrote:

Check and make sure you are only running one (1) and only one network manager. It's a common mistake to have competing network managers running. Also check your journal and dmesg for potential driver/connection issues that may be logged there. I do not run iwd, so I'm not sure, but shouldn't you have to configure a [Network] section in that config file?

I have both iproute2 and iwd installed. Are both of them network managers?

Trilby wrote:

How many "kilobytes" is pacman showing for the speed?  You compare this to 3mb[p]s which would be in the kilobytes range - specifically 375 kBps.  Also pacman reports KiB/s as the speed, so 3mpbs would be equivalent to 366 KiB/s.  So if you are getting hundreds of kibibytes from pacman's speed report, then that sounds right.

Web pages taking a long time to start loading might more likely be a DNS issues.

63.3 KiB/s but I've seen it get down to 7 KiB/s. I just got 0.64 mbps/s on a speed test. I was trying to say I was getting 3 megabytes/s on Windows. I just got 3 megabytes/s on my phone, tested the speed a minute later than my Arch install.

Last edited by Xenfo (2023-08-05 00:42:27)

Offline

#5 2023-08-05 06:23:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] Horrible internet speeds

Are both of them network managers?

No.
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

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.


Please also post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#6 2023-08-05 13:47:50

Xenfo
Member
From: Montreal, QC
Registered: 2021-11-06
Posts: 39
Website

Re: [SOLVED] Horrible internet speeds

I completely wiped Windows so all good there.

Find command:

bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.resolve1.service    | system
display-manager.service                  | system
docker.service                           | multi-user.target.wants
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gnome-keyring-daemon.socket              | sockets.target.wants
iwd.service                              | multi-user.target.wants
p11-kit-server.socket                    | sockets.target.wants
pcscd.socket                             | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-resolved.service                 | sysinit.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants

Journal: http://0x0.st/H_rH.txt

Offline

#7 2023-08-05 15:45:17

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] Horrible internet speeds

There isn't much going on.
Is 30:23:03:0e:7a:d9 a 2.4GHz AP? Are you using any bluetooth devices?

Offline

#8 2023-08-05 15:45:42

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,446

Re: [SOLVED] Horrible internet speeds

These messages are puzzling, but they could be harmless/nuisance messages. It's weird that there appears to be an attempt to load two different firmwares:

Aug 05 09:41:59 arch kernel: iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-78.ucode failed with error -2
...
Aug 05 09:41:59 arch kernel: iwlwifi 0000:00:14.3: loaded firmware version 77.f92b5fed.0 so-a0-hr-b0-77.ucode op_mode iwlmvm

Also compare your system to what's discussed in https://bbs.archlinux.org/viewtopic.php?id=286551 :

Aug 05 09:42:00 arch kernel: iwlwifi 0000:00:14.3: WRT: Invalid buffer destination

Lastly, to better isolate the problem, I would recommend turning off Docker/containerd for the time being and see if that makes a difference. Docker injects itself into the network stack.

Last edited by twelveeighty (2023-08-05 15:48:41)

Offline

#9 2023-08-05 15:51:43

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] Horrible internet speeds

% errno 2
ENOENT 2 No such file or directory

The first two lines are normal and harmless, the WRT is mildly concerning (it previously showed up in cases where the chip didn't respond at all, but there're no further issues in this case)

wrt docker, @Xenfo, is your ethernet dongle also slower-than-expected?

Offline

#10 2023-08-06 11:52:41

Xenfo
Member
From: Montreal, QC
Registered: 2021-11-06
Posts: 39
Website

Re: [SOLVED] Horrible internet speeds

I'm not sure what I did but my internet seems to be doing much better now, thanks for the help.

Offline

#11 2023-08-13 02:47:39

Xenfo
Member
From: Montreal, QC
Registered: 2021-11-06
Posts: 39
Website

Re: [SOLVED] Horrible internet speeds

It came back and I ended up isolating the issue to Bluetooth. Turning it off fixed everything for me instantly.

Offline

#12 2023-08-13 05:56:40

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,288

Re: [SOLVED] Horrible internet speeds

systool -vm iwlwifi

It supports "bt_coex_active" (defaults to enable)

In general, usign a 5GHz AP will get you out of this as BT operates on 2.4GHz

Offline

Board footer

Powered by FluxBB