You are not logged in.

#1 2023-04-29 23:55:26

Eysse
Member
Registered: 2022-04-16
Posts: 62

Internet acting really slow on desktop

I have a desktop with a LAN conenction and since this evening, my internet is acting really really slow. It can't be hardware, as my windows dual boot is enjoying full speeds as well as my phone. I don't know what else to add, really.

Last edited by Eysse (2023-05-10 19:06:43)

Offline

#2 2023-04-30 06:11:36

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: Internet acting really slow on desktop

So your internet™ is acting™ slow™ - we need less specific and maybe a bit more generically meaningless information about the situation…

Start by posting your complete system journal for the boot:

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

Qualify "internet" (your browser or is it everything, does it only affecting the (GUI) desktop, some pages, …) and run a speedtest and ideally try a local https://archlinux.org/packages/?q=iperf run.


my windows dual boot

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

Online

#3 2023-04-30 12:26:42

Eysse
Member
Registered: 2022-04-16
Posts: 62

Re: Internet acting really slow on desktop

I'm sorry, I had done all that, but didn't think to put it here. Speedtest is the terminal takes forever to find an appropriate server, as well as the ping command and the speedtest in the browser. Discord does some RTC connecting stuiff and updating the system gives some errors about connecting to servers taking to long otherwise just take very long. Also tried running ` sudo sysctl net.ipv4.tcp_ecn=0`, as someone with a similar problem said it worked for them. It seems to work really well, but only for a few applications, and not for long.
I also installed iperf now, what command do I need to run with it? The command itself is whining about fields being required.
Thanks for helping me!

Offline

#4 2023-04-30 14:19:26

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: Internet acting really slow on desktop

https://man.archlinux.org/man/community … iperf.1.en
https://man.archlinux.org/man/community … perf3.1.en

You need that on two hosts for a meaningful test.

does some RTC connecting stuiff … gives some errors

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855


Please post your complete system journal for the boot:

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

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

Online

#5 2023-05-05 14:06:44

Eysse
Member
Registered: 2022-04-16
Posts: 62

Re: Internet acting really slow on desktop

Sorry for the late response, I was on vacation big_smile

Discord says it is "RTC connecting" when you want to join a call, but your internet is shit. Thought you would've known.
Here is

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

output:

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

gives:

dbus-org.freedesktop.nm-dispatcher.service | system
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gnome-keyring-daemon.socket              | sockets.target.wants
libvirtd-ro.socket                       | sockets.target.wants
libvirtd.service                         | multi-user.target.wants
libvirtd.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
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
virtlockd.socket                         | sockets.target.wants
virtlogd.socket                          | sockets.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants
iperf -c 1.1

gave:

------------------------------------------------------------
Client connecting to 1.1, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------

but never actually finished.

Last edited by Eysse (2023-05-05 14:09:01)

Offline

#6 2023-05-05 14:18:32

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: Internet acting really slow on desktop

1.1 is 1.0.0.1 is some cloudflare server that doesn't listen on 5001 (and probably runs no iperf instance either) - where did you get that idea?

Discord says it is "RTC connecting" when you want to join a call, but your internet is shit. Thought you would've known.

What would require
1. my internet to be shit™
2. me using discord

Both being unfounded assumptions.

There're no conflicting services, but dnsmasq might be misconfigured.
Does the problem exists w/o dnsmasq and libvirtd?

nb. also

Speedtest is the terminal takes forever to find an appropriate server

SO it takes "forever" to *find* the server, but what about the subsequent download pace?

Online

#7 2023-05-05 14:55:10

Eysse
Member
Registered: 2022-04-16
Posts: 62

Re: Internet acting really slow on desktop

I had seen a reddit post discussing the fastest way of pinging a server, that's how I came to 1.1
Rerunning with

archlinux.org

, I get

------------------------------------------------------------
Client connecting to archlinux.org, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------

What does dnsmasq mean?
I tried stopping libvirtd with

systemctl stop libvirtd

, but it doesn't fix anything.
With "forever", I mean it never actually found one. I got impatient and stopped the process.
Rerunning (after stopping libvirtd), gets me an output after a long while:

Retrieving speedtest.net configuration...
Testing from T-Mobile Netherlands (87.208.94.105)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Starry, Inc. (Ashburn, VA) [6184.83 km]: 1200200.679 ms
Testing download speed................................................................................
Download: 0.00 Mbit/s
Testing upload speed......................................................................................................
Upload: 0.00 Mbit/s

Offline

#8 2023-05-05 15:00:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Internet acting really slow on desktop


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

#9 2023-05-05 15:04:53

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: Internet acting really slow on desktop

You cannot run iperf against some random host on the interwebz.
Read the manpage, you need a client and a server and preferably they're on the same subnet (your LAN)

Also that's not the speedtest I linked,

wget -nv --show-progress -O /dev/null "http://speedtest.frankfurt.linode.com/100MB-frankfurt.bin"
wget -nv --show-progress -O /dev/null "http://139.162.130.8/100MB-frankfurt.bin"

Online

#10 2023-05-05 15:10:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Internet acting really slow on desktop

Let's check and clarify a couple things.   
Is your 'LAN connection' wired or wireless?
Do you administer the router you are using?
What is the output of ip addr
What is the output of resolvectl


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

#11 2023-05-05 15:15:00

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: Internet acting really slow on desktop

http://0x0.st/HZcR.bin

May 05 14:33:59 Arch-Eysse kernel: r8169 0000:05:00.0 eth0: RTL8168h/8111h, 70:85:c2:98:1d:da, XID 541, IRQ 77

Might benefit from the r8168 module.

May 05 14:34:05 Arch-Eysse NetworkManager[622]: <info>  [1683290045.9963] dhcp4 (enp5s0): state changed new lease, address=192.168.1.62

resolved doesn't show up in the journal.

@Eysse, I also just noticed that you didn't comment on teh windows fast-start situation.

Online

#12 2023-05-05 16:59:10

Eysse
Member
Registered: 2022-04-16
Posts: 62

Re: Internet acting really slow on desktop

I'm a donkey. I didn't get what you meant with "the links below". I've turned off the fast startup stuff from windows and did the voodoo. I'm not sure if it has helped anything. I have some time after boot where I get a good connection now, but after a while, I still has all the same problems I did before.

Output of IP addr:

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
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 70:85:c2:98:1d:da brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.62/24 brd 192.168.1.255 scope global dynamic noprefixroute enp5s0
       valid_lft 86145sec preferred_lft 86145sec
    inet6 fe80::a0c6:d3b4:8cea:30b2/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:cc:53:3e brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever

output of resolveectl:

Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found.

I don't know what else seth said, I followed nothing of it.

Offline

#13 2023-05-05 17:11:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Internet acting really slow on desktop

Two questions.  Do you know why you have a virtual bridge set up?  (virbr0)? Are you running virtual machines?  Flatpack?

Your system is not configured to to not not use systemd, is it?   I am starting to get the impression this mat not be a pure Arch Linux setup.


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

#14 2023-05-05 17:16:23

Eysse
Member
Registered: 2022-04-16
Posts: 62

Re: Internet acting really slow on desktop

This is vanilla Arch, yes. The reason I have virtual machine stuff is because I have followed a tutorial to setup a virtual machine that "steals" your GPU: https://gitlab.com/risingprismtv/single … wikis/home. I honestly Don't know half the things I did there.

Offline

#15 2023-05-05 18:15:12

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: Internet acting really slow on desktop

I have followed a tutorial to setup a virtual machine that "steals" your GPU

You should look at this for GPU passthrough in virtual machines instead of random unsupported guides: https://wiki.archlinux.org/title/PCI_pa … h_via_OVMF

Offline

#16 2023-05-05 18:57:01

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: Internet acting really slow on desktop

seth wrote:
wget -nv --show-progress -O /dev/null "http://speedtest.frankfurt.linode.com/100MB-frankfurt.bin"
wget -nv --show-progress -O /dev/null "http://139.162.130.8/100MB-frankfurt.bin"

Also

ip r; ip r get 8.8.8.8

Then

sudo systemctl disable libvirtd

and reboot, network back to function?

Online

#17 2023-05-05 20:34:20

Eysse
Member
Registered: 2022-04-16
Posts: 62

Re: Internet acting really slow on desktop

Didn't work hmm
The weird part is that it DOES work for a short while after boot. It just stops working after a differing amount of time.

Offline

#18 2023-05-05 20:38:42

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: Internet acting really slow on desktop

Didn't work

https://bbs.archlinux.org/viewtopic.php?id=57855

You also skipped the commands I posted, add an updated "ip a" to that.

Online

#19 2023-05-05 21:41:45

Eysse
Member
Registered: 2022-04-16
Posts: 62

Re: Internet acting really slow on desktop

You didn't say you wanted the output, just that I needed to run it.
anyhow, here's the outputs:
- wget -nv --show-progress -O /dev/null "http://speedtest.frankfurt.linode.com/1 … nkfurt.bin"
  wget -nv --show-progress -O /dev/null "http://139.162.130.8/100MB-frankfurt.bin"

/dev/null                          100%[=============================================================>] 100.00M  10.1MB/s    in 9.2s    
2023-05-05 23:36:34 URL:http://speedtest.frankfurt.linode.com/100MB-frankfurt.bin [104857600/104857600] -> "/dev/null" [1]
/dev/null                          100%[=============================================================>] 100.00M  8.70MB/s    in 9.5s    
2023-05-05 23:36:44 URL:http://139.162.130.8/100MB-frankfurt.bin [104857600/104857600] -> "/dev/null" [1]

- ip r; ip r get 8.8.8.8:

default via 192.168.1.1 dev enp5s0 proto dhcp src 192.168.1.62 metric 100 
192.168.1.0/24 dev enp5s0 proto kernel scope link src 192.168.1.62 metric 100 
8.8.8.8 via 192.168.1.1 dev enp5s0 src 192.168.1.62 uid 1000 
    cache 

ip a:

sudo system1: 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
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 70:85:c2:98:1d:da brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.62/24 brd 192.168.1.255 scope global dynamic noprefixroute enp5s0
       valid_lft 86144sec preferred_lft 86144sec
    inet6 fe80::a0c6:d3b4:8cea:30b2/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
systemctl disable libvirtd

executes without complaining.

Offline

#20 2023-05-06 05:48:34

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: Internet acting really slow on desktop

You didn't say you wanted the output, just that I needed to run it.

It's a speedtest and prints the route … roll


So the speedtest completes at ~10 MB/s (80 Mbit/s) for the domain and the IP - depending on your internet plan, that might be less than advertised but is not "really slow™" and everything else looks sane.

executes without complaining.

Of course it does?
Htf did even you install archlinux?
Don't blindly type stuff you don't remotely understand into the console.

Either way, the virtual brige is gone, the speedtest clocked in "fine" - is the original problem still there and if so, explain *EXACTLY* how you determine that "internet is acting really really slow" - what's the *ACTUAL* metric for that?

Online

#21 2023-05-06 22:09:45

Eysse
Member
Registered: 2022-04-16
Posts: 62

Re: Internet acting really slow on desktop

My plan is 100 Mbps. When I am saying it's "acting really slow" I mean really really slow. Not much is possible aside from listening to music. Calls won't work, web pages load really slow and playing games isn't even an option. I know I am not really being specific but that's because I really don't know the info I need to give.
The speed of my connection is fluctuating the entire time. Some speed tests I ran gave 0.00 Mbps. Some give 10 Mbps, as you saw. Not much actual metric to give there.
As for "executes without complaining".. Yes, I was expecting it to. But you were being all sarcastic the entire thread, so I thought I might as well give all the output, so the poor guy doesn't have anything to complain about.
I really appreciate you investing time in troubleshooting people's problems, but RTFMing the entire time doesn't really solve it. I know how to read manual pages. It's just terribly hard to diagnose such a problem.

Offline

#22 2023-05-07 06:08:32

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: Internet acting really slow on desktop

Nobody is RTFMing you and the only sarcasm was the initial response because the OP is almost a textbook version of what the sticky tells you not to post.
Also it's a bit dreadful having to ask for every information 3 times to get a response.

Back on topic:
Do you have other devices in the LAN that you could test the situation against to rule out that this is the WAN (ie. your ISP oversold a shared connection)?
Also monitor the overall network traffic to rule out sideload (ie. something you're not immediately aware of uses the network), you can use eg. https://archlinux.org/packages/community/x86_64/iftop/

Online

#23 2023-05-08 16:55:08

Eysse
Member
Registered: 2022-04-16
Posts: 62

Re: Internet acting really slow on desktop

Yes, I, my windows install works without internet issues and so do my laptop, my phone and my brother's computer, which is connected to the same switch. I am very sure my brother isn't putting any big load on the thing.
Iftop shows some traffic from IPs I don't know, but nothing with a high bandwidth. here is a screenshot of the output of

sudo nethogs

Last edited by Eysse (2023-05-08 16:56:03)

Offline

#24 2023-05-08 19:40:02

seth
Member
Registered: 2012-09-03
Posts: 49,969

Re: Internet acting really slow on desktop

Yes, I, my windows install works

The idea is to run iperf against one of those devices.

Online

#25 2023-05-08 20:35:25

Eysse
Member
Registered: 2022-04-16
Posts: 62

Re: Internet acting really slow on desktop

Reading back on this thread, I get where you're coming from. I should defineately read the messages better. I ran iperf -s on my desktop where the issue is taking place, and iperf -c 192.168.1.62 on my laptop. I got the following output:

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
[  1] local 192.168.1.62 port 5001 connected with 192.168.1.62 port 48884 (icwnd/mss/irtt=320/32768/17)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-10.0003 sec  38.6 GBytes  33.1 Gbits/sec
[  2] local 192.168.1.62 port 5001 connected with 192.168.1.235 port 43218 (icwnd/mss/irtt=14/1448/2812)
[ ID] Interval       Transfer     Bandwidth
[  2] 0.0000-10.4227 sec  75.6 MBytes  60.9 Mbits/sec
[  3] local 192.168.1.62 port 5001 connected with 192.168.1.188 port 56790 (icwnd/mss/irtt=14/1448/1272)
[ ID] Interval       Transfer     Bandwidth
[  3] 0.0000-10.0915 sec   238 MBytes   197 Mbits/sec

the result you see came:
first, from my desktop itself
then, from my very slow laptop
lastly, from my faster laptop

I also ran iperf -s on my fast laptop, and iperf -s 1892.168.1.88 on my desktop, from which I got

------------------------------------------------------------
Client connecting to 192.168.1.188, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  1] local 192.168.1.62 port 58910 connected with 192.168.1.188 port 5001 (icwnd/mss/irtt=14/1448/75323)
[ ID] Interval       Transfer     Bandwidth
[  1] 0.0000-10.1757 sec   208 MBytes   171 Mbits/sec

as the output on my desktop.

Offline

Board footer

Powered by FluxBB