You are not logged in.

#1 2021-06-07 22:25:46

kongus_bongus
Member
Registered: 2020-07-08
Posts: 11

after upgrading, internet is slow except right after rebooting

I Syu-ed on the 5th (after not upgrading for admittedly an overly long time), and now I am having a quite puzzling problem with my internet (wireless on an HP envy amd edition). When I reboot my laptop, internet is as fast as it always was, but sometime from an hour to several hours after rebooting, my internet suddenly gets really slow. I can generally access pages composed predominately of text like the arch wiki or search engine results, but youtube or image results are almost impossible to get.

Offline

#2 2021-06-07 22:46:54

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,782

Re: after upgrading, internet is slow except right after rebooting

Do you have multiple paths to the same router?  Maybe a wired and a wireless?
Any chance you have a network (switching) loop? https://en.wikipedia.org/wiki/Switching_loop


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2021-06-07 23:20:38

kongus_bongus
Member
Registered: 2020-07-08
Posts: 11

Re: after upgrading, internet is slow except right after rebooting

I don't think so, I only ever connect by wireless.

Offline

#4 2021-06-08 07:38:04

seth
Member
Registered: 2012-09-03
Posts: 21,155

Re: after upgrading, internet is slow except right after rebooting

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

and a complete system journal after TheInternet™ turned slow (or from a previous boot where that happened)

Offline

#5 2021-06-08 16:05:10

kongus_bongus
Member
Registered: 2020-07-08
Posts: 11

Re: after upgrading, internet is slow except right after rebooting

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

acpid.service                            | multi-user.target.wants
bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dhcpcd.service                           | multi-user.target.wants
dirmngr.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
iwd.service                              | multi-user.target.wants
notif-english.timer                      | timers.target.wants
ntpd.service                             | multi-user.target.wants
p11-kit-server.socket                    | sockets.target.wants
paccache.timer                           | timers.target.wants
pdnsd.service                            | multi-user.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants

journalctl -b: http://ix.io/3pec

Offline

#6 2021-06-08 17:01:08

seth
Member
Registered: 2012-09-03
Posts: 21,155

Re: after upgrading, internet is slow except right after rebooting

So there's only iwd and dhcpcd (iwd has btw. also built-in dhcp support) and an unspectacularily boring journal.
Does this cover "really slow" internet?
The one thing that sticks a bit out is pdnsd - do you also get SlowInternet™ w/o it?

Speaking of which:
- Is this a 2.4 or 5GHz connection?
- ping IP/domain performance when fast/slow?
- ping LAN when fast/slow?

Offline

#7 2021-06-08 23:27:12

kongus_bongus
Member
Registered: 2020-07-08
Posts: 11

Re: after upgrading, internet is slow except right after rebooting

- I saw on other threads that pdnsd fixed certain slow internet problems, so I installed it and attempted to configure it after I started having these problems. Even if I did configure it correctly, which I am not sure of, it has not helped.
- 2.4 GHz
- ping -c 20 archlinux.org (before slow)

20 packets transmitted, 20 received, 0% packet loss, time 19021ms
rtt min/avg/max/mdev = 195.898/251.142/411.318/51.753 ms

- ping -c 20 192.168.1.254 (my router) (before slow)

20 packets transmitted, 20 received, 0% packet loss, time 19030ms
rtt min/avg/max/mdev = 2.421/4.192/7.032/1.269 ms

- curl https://svs.gsfc.nasa.gov/vis/a030000/a … 0x6200.png >> /dev/null (before slow)

Total  Received Average Time     Time  
                Dload   Total    Spent 
78.9M  78.9M     879k   0:01:31  0:01:31

- ping -c 20 archlinux.org (after slow)

20 packets transmitted, 17 received, 15% packet loss, time 23641ms
rtt min/avg/max/mdev = 302.157/383.190/591.337/67.098 ms

- ping -c 20 192.168.1.254 (my router) (after slow)

20 packets transmitted, 20 received, 0% packet loss, time 19035ms
rtt min/avg/max/mdev = 5.548/15.979/158.603/32.978 ms

- curl https://svs.gsfc.nasa.gov/vis/a030000/a … 0x6200.png >> /dev/null (after slow) (I interrupted it because I have better things to do)

% Total Received Average   Time    Time     Time  Current
                 Dload     Total   Spent    Left  Speed
9 78.9M 7656k    22540   1:01:12  0:05:47  0:55:25 21036

Offline

#8 2021-06-09 00:03:56

kongus_bongus
Member
Registered: 2020-07-08
Posts: 11

Re: after upgrading, internet is slow except right after rebooting

After my last post, the internet remained slow even after rebooting several times in a row. I downgraded linux, linux-firmware, and linux-api-headers to the versions they were before the upgrade, rebooted, and the internet seems to be fine. We'll see if it's still fine in several hours.

Offline

#9 2021-06-09 05:53:32

seth
Member
Registered: 2012-09-03
Posts: 21,155

Re: after upgrading, internet is slow except right after rebooting

You can test the lts kernel w/o a kernel downgrade.
2.4GHz collides w/ bluetooth - the signal would become noisy, but this won't show in the logs - https://wiki.archlinux.org/title/Networ … _interface

There're quite some AX200 related recent threads, but they face µcode errors and appeared w/ 5.9
This one throws everything at the wall to stabilize the connection, but there're no microcode errors in your journal.
https://bbs.archlinux.org/viewtopic.php … 1#p1918191

Offline

#10 2021-06-11 13:01:10

kongus_bongus
Member
Registered: 2020-07-08
Posts: 11

Re: after upgrading, internet is slow except right after rebooting

The downgraded kernel has worked perfectly for the past several days.

Offline

#11 2021-06-11 13:28:17

seth
Member
Registered: 2012-09-03
Posts: 21,155

Re: after upgrading, internet is slow except right after rebooting

What version did you downgrade to?

Offline

#12 2021-06-13 12:58:02

kongus_bongus
Member
Registered: 2020-07-08
Posts: 11

Re: after upgrading, internet is slow except right after rebooting

I downgraded to 5.11.16, where it was before the upgrade.

Offline

#13 2021-06-13 15:43:28

seth
Member
Registered: 2012-09-03
Posts: 21,155

Re: after upgrading, internet is slow except right after rebooting

Return to present kernel & firmware and add the lts kernel so you can compare them directly.
If you get the bad behavior again (w/ either kernel), only downgrade the firmware and see whether that is the critical part.

Offline

Board footer

Powered by FluxBB