You are not logged in.

#1 2023-04-21 21:50:26

mazkas
Member
Registered: 2023-04-21
Posts: 4

NetworkManager issues, speed is 10% of what I should get

Hello,

I have 1 gig internet, and I previously had a Arch install where my computer connected via ethernet received all 1000 mb/s. However, I decided to reinstall Arch and following that, my internet speed has dropped SUBSTANTIALLY (100mb/s MAX). I tried to follow some online guides, but unfortunately none of them worked, and so here I am.

ip a
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: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 04:d4:c4:55:34:b9 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.248/24 brd 192.168.1.255 scope global dynamic noprefixroute enp4s0
       valid_lft 85402sec preferred_lft 85402sec
    inet6 fdec:95b6:a9a8:411e:8f33:da69:638e:a802/64 scope global dynamic noprefixroute 
       valid_lft 1436sec preferred_lft 1436sec
    inet6 fe80::d0b4:ce66:5a59:c769/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:d8:7d:7c 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
lspci -v
04:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
	Subsystem: ASUSTeK Computer Inc. Device 85f0
	Flags: bus master, fast devsel, latency 0, IRQ 30, IOMMU group 14
	Memory at fc500000 (32-bit, non-prefetchable) [size=128K]
	I/O ports at e000 [size=32]
	Memory at fc520000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: igb
	Kernel modules: igb
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
fstrim.timer                             | timers.target.wants
gcr-ssh-agent.socket                     | sockets.target.wants
getty@tty1.service                       | getty.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-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-timesyncd.service                | sysinit.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

Would really appreciate the help, as it WAS working on my previous install, and I used the same ISO  for my current install as I used to create the previous one.

Offline

#2 2023-04-21 22:00:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,344

Re: NetworkManager issues, speed is 10% of what I should get

tried to follow some online guides, but unfortunately none of them worked

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

ethtool enp4s0
pacman -Qs linux-firmware

Offline

#3 2023-04-21 22:05:10

mazkas
Member
Registered: 2023-04-21
Posts: 4

Re: NetworkManager issues, speed is 10% of what I should get

seth wrote:

tried to follow some online guides, but unfortunately none of them worked

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

ethtool enp4s0
pacman -Qs linux-firmware
 ethtool enp4s0
Settings for enp4s0:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	Supported pause frame use: Symmetric
	Supports auto-negotiation: Yes
	Supported FEC modes: Not reported
	Advertised link modes:  10baseT/Half 10baseT/Full
	                        100baseT/Half 100baseT/Full
	                        1000baseT/Full
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Advertised FEC modes: Not reported
	Speed: 1000Mb/s
	Duplex: Full
	Auto-negotiation: on
	Port: Twisted Pair
	PHYAD: 1
	Transceiver: internal
	MDI-X: on (auto)
netlink error: Operation not permitted
        Current message level: 0x00000007 (7)
                               drv probe link
	Link detected: yes
 pacman -Qs linux-firmware
local/linux-firmware 20230210.bf4115c-1
    Firmware files for Linux
local/linux-firmware-whence 20230210.bf4115c-1
    Firmware files for Linux - contains the WHENCE license file which documents the vendor license
    details

Offline

#4 2023-04-22 06:21:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,344

Re: NetworkManager issues, speed is 10% of what I should get

So you're connected to a 1Gb/s full duplex link, how exactly do you mesure the performance?
Tried a local https://wiki.archlinux.org/title/Benchmarking#iperf ?

Offline

#5 2023-04-22 14:53:21

mazkas
Member
Registered: 2023-04-21
Posts: 4

Re: NetworkManager issues, speed is 10% of what I should get

I used speedtest-cli and my ISP's speed test. Both returned either >100MB/s or for some reason today, 150Mb/s.

I double checked my router's settings, and then used iperf3 to test. I got ~280Mb/s, where previously I was only getting ~100Mb/s the second before. Double checked with speedtest.net, and confirmed 280Mb/s download. Unsure why the internet speed would change so suddenly between different Arch installs, but 100Mb/s improvement is still something.

iperf3 -c 192.168.1.1 -p 5201
Connecting to host 192.168.1.1, port 5201
[  5] local 192.168.1.248 port 39626 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  28.7 MBytes   241 Mbits/sec   73   93.3 KBytes       
[  5]   1.00-2.00   sec  28.0 MBytes   235 Mbits/sec   25   89.1 KBytes       
[  5]   2.00-3.00   sec  28.6 MBytes   240 Mbits/sec   60   87.7 KBytes       
[  5]   3.00-4.00   sec  28.3 MBytes   238 Mbits/sec   70   87.7 KBytes       
[  5]   4.00-5.00   sec  27.5 MBytes   230 Mbits/sec   93   91.9 KBytes       
[  5]   5.00-6.00   sec  26.5 MBytes   222 Mbits/sec   71    107 KBytes       
[  5]   6.00-7.00   sec  27.5 MBytes   230 Mbits/sec   23    123 KBytes       
[  5]   7.00-8.00   sec  29.1 MBytes   244 Mbits/sec  143   58.0 KBytes       
[  5]   8.00-9.00   sec  27.3 MBytes   229 Mbits/sec   43   83.4 KBytes       
[  5]   9.00-10.00  sec  28.5 MBytes   239 Mbits/sec   53    163 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   280 MBytes   235 Mbits/sec  654             sender
[  5]   0.00-10.00  sec   277 MBytes   232 Mbits/sec                  receiver

iperf Done.

Offline

#6 2023-04-22 15:06:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,344

Re: NetworkManager issues, speed is 10% of what I should get

why the internet speed would change so suddenly between different Arch installs

Did you try the behavior of the LTS kernel?

Offline

#7 2023-04-22 15:41:39

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,656
Website

Re: NetworkManager issues, speed is 10% of what I should get

Judging from virbr0 I assume you have a VM running on that host.
Might it be hogging some bandwidth?


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#8 2023-04-22 15:48:27

mazkas
Member
Registered: 2023-04-21
Posts: 4

Re: NetworkManager issues, speed is 10% of what I should get

schard wrote:

Judging from virbr0 I assume you have a VM running on that host.
Might it be hogging some bandwidth?

No; VM was shut down, and following a retest of speed (both speedtest and iperf) with virtualization disabled it is till ~280Mb/s.

Offline

Board footer

Powered by FluxBB