You are not logged in.

#1 2024-09-04 21:03:53

aceman
Member
Registered: 2024-08-27
Posts: 10

Slow internet on dual boot system with Windows

I have gigabit internet and I have a dualboot install with windows and arch linux. On my windows install I have normal internet speeds, 1000mbits/s. On my arch install I have download speed of 2.37 mbit/s and upload of 3.33 mbit/s. I'm using the driver for the realtek r8125. This is my ethtool output:

settings for enp42s0:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                       100baseT/Half 100baseT/Full
	                       1000baseT/Full
	                       2500baseT/Full
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full
	                       100baseT/Half 100baseT/Full
	                       1000baseT/Full
	                       2500baseT/Full
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Link partner advertised link modes:  10baseT/Half 10baseT/Full
	                                    100baseT/Half 100baseT/Full
	                                    1000baseT/Full
	Link partner advertised pause frame use: Symmetric
	Link partner advertised auto-negotiation: Yes
	Link partner advertised FEC modes: Not reported
	Speed: 1000Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 0
	Transceiver: internal
	MDI-X: on
	Supports Wake-on: pumbg
	Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
	Link detected: yes

I have already tried reinstalling the driver, disabling ipv6 and setting the MTU to 1500 manually,

Offline

#2 2024-09-04 21:21:12

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: Slow internet on dual boot system with Windows

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

Then 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

Offline

#3 2024-09-04 21:36:37

aceman
Member
Registered: 2024-08-27
Posts: 10

Re: Slow internet on dual boot system with Windows

 
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
bluetooth-autoconnect.service            | bluetooth.service.wants
bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
fstrim.timer                             | timers.target.wants
getty@tty1.service                       | getty.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
systemd-timesyncd.service                | sysinit.target.wants
systemd-userdbd.socket                   | sockets.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants

Offline

#4 2024-09-04 21:42:13

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: Slow internet on dual boot system with Windows

No concurrent services - if it's not the hibernating ("fast starting") windows, check the system journal for r8125 related errors.
r8169 doesn't (properly) support your device?

Offline

#5 2024-09-04 21:52:40

aceman
Member
Registered: 2024-08-27
Posts: 10

Re: Slow internet on dual boot system with Windows

I have the same issue with r8169/r8168. The system journal doesn't seem to contain any errors.

: r8168 Gigabit Ethernet driver 8.053.00-NAPI loaded
r8125 Ethernet controller driver 9.013.02-NAPI loaded

Offline

#6 2024-09-04 22:09:56

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: Slow internet on dual boot system with Windows

Why are both drivers loaded? Which one's actually driving the HW?
Please post your complete system journal for the boot:

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

Offline

#7 2024-09-05 15:15:02

aceman
Member
Registered: 2024-08-27
Posts: 10

Re: Slow internet on dual boot system with Windows

libkmod: kmod_config_parse: /etc/modprobe.d/blacklist.conf line 1: ignoring bad line starting with '8'
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c91]
	Kernel driver in use: r8168
	Kernel modules: r8169, r8168
2a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c91]
	Kernel driver in use: r8125
	Kernel modules: r8169, r8125

link to system journal for boot:

https://termbin.com/iwc2

Offline

#8 2024-09-05 15:30:59

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: Slow internet on dual boot system with Windows

/etc/modprobe.d/blacklist.conf line 1: ignoring bad line starting with '8'

Please post that file - the r8168 nic doesn't show up in the wiki (the device is there but not assigned)
The 8125 one flickers

sep 05 18:59:39 acemanarch kernel: r8125: enp42s0: link up
sep 05 19:00:24 acemanarch kernel: r8125: enp42s0: link down
sep 05 19:00:27 acemanarch kernel: r8125: enp42s0: link up
sep 05 19:01:13 acemanarch kernel: r8125: enp42s0: link down
sep 05 19:01:16 acemanarch kernel: r8125: enp42s0: link up
sep 05 19:01:31 acemanarch kernel: r8125: enp42s0: link down
sep 05 19:01:34 acemanarch kernel: r8125: enp42s0: link up
sep 05 19:02:21 acemanarch kernel: r8125: enp42s0: link down
sep 05 19:02:24 acemanarch kernel: r8125: enp42s0: link up

Frequency doesn't smell like some power saving and there're also no kernel errors - loose cable?

Edit: though 3x ~45s and only once 15s - the singleton might have been manual intervention and 45s the rythm?

Last edited by seth (2024-09-05 15:34:15)

Offline

#9 2024-09-05 17:54:08

aceman
Member
Registered: 2024-08-27
Posts: 10

Re: Slow internet on dual boot system with Windows

cat /etc/modprobe.d/blacklist.conf

blacklist r8125
blacklist r8168

I disconnected the r8125 cable from the pc and forced the kernel to load r8169
This is the dmesg output

[    7.431214] r8168 0000:07:00.0 enp7s0: renamed from eth0
[    8.188477] enp7s0: 0xffffc9000057f000, d8:bb:c1:36:68:91, IRQ 73
[   11.292484] r8168: enp7s0: link up
[   12.293560] r8168: enp7s0: link down
[   15.346163] r8168: enp7s0: link up
[  225.467387] r8169 0000:07:00.0 enp7s0: renamed from eth0
[  225.770322] r8169 0000:07:00.0 enp7s0: Link is Down
[  228.562917] r8169 0000:07:00.0 enp7s0: Link is Up - 1Gbps/Full - flow control rx/tx
[  228.564615] r8169 0000:07:00.0 enp7s0: Link is Up - 1Gbps/Full - flow control rx/tx

When I set my link negotiation speed to autmatic networkmanager defaults to 100mbits/s
When I do a speedtest through an online site it says i have 900mbit's download speed
when I download something via steam or run speedtest via the terminal it still says 3mbits/s
Could It be that my networkmanager settings interfere with my ethtool settings?

Last edited by aceman (2024-09-05 17:57:01)

Offline

#10 2024-09-05 18:57:57

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: Slow internet on dual boot system with Windows

The /etc/modprobe.d/blacklist.conf would not cause the libkmod: kmod_config_parse: /etc/modprobe.d/blacklist.conf line 1: ignoring bad line starting with '8' error and would also not allow the r8125 module to be loaded for the journal in #7
Did you change the file (and forget to regenerate the initramfs)?

Don't flail around: identify which NIC to focus on, make sure it's connected and relevant (ip a; ip r), check the ethtool output for it and report on that.

This is the dmesg output

That's "RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller" - you're aware that you've two ethernert controllers?

When I set my link negotiation speed to autmatic networkmanager defaults to 100mbits/s

Please don't paraphrase, post the ethtool output(s)
But that yells "cable".

When I do a speedtest through an online site it says i have 900mbit's download speed

See above, what "online site", do you even pay for/expet Gbit WAN?
Get ABBS - there's a wget driven speedtest for some linode hosts. Pick one and post the results, verbatim.
But again: step back, identify the concerned NIC, make sure it's in use - and also check what you're actually using on windows.

Do you have cables plugged in both NICs? What's the purpose of the setup?

Offline

Board footer

Powered by FluxBB