SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm currently running -current from 2022-03-24 that was upgraded from a clean install of 15.0. Since Linux is a home/hobby environment for me it has taken a pretty big backseat since that last update. I've used it from time to time throughout and never noticed it until the last couple of days when the network speed was really really slow - LAN and the Internet are affected. I've tried restarting the network connection, rebooting, switching to the 2nd ethernet connection on the motherboard, as well as swapping network cables and switch ports. With this machine capable of dual booting, I can confirm the network is fine while in Windows. Any ideas how to fix this and what might be the cause?
I'm currently running -current from 2022-03-24 that was upgraded from a clean install of 15.0. Since Linux is a home/hobby environment for me it has taken a pretty big backseat since that last update. I've used it from time to time throughout and never noticed it until the last couple of days when the network speed was really really slow - LAN and the Internet are affected. I've tried restarting the network connection, rebooting, switching to the 2nd ethernet connection on the motherboard, as well as swapping network cables and switch ports. With this machine capable of dual booting, I can confirm the network is fine while in Windows. Any ideas how to fix this and what might be the cause?
Do you have the correct firmware loaded when booting up?
Currently running a slackpkg upgrade-all that's downloading at roughly 150KB/s from 207.223.116.213 so speed tests will be affected while this is still ongoing. 2 different NICs on the motherboard, both exhibiting the same performance issue. Prior to posting about this issue I had tried running speed tests from both NICs and that gave roughly the same results - ~20Mb/s download, ~18Mb/s upload, while my connection is rated for 500Mb/s down, 20Mb/s up. In dual booted Windows on the same machine and my work laptop running Windows they both give 500+ Mb/s download speeds. Below is the lspci -v info for both NICs. Kernel is Linux 5.17.0 #1 SMP PREEMPT Mon Mar 21 04:05:37 CDT 2022 x86_64 Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz GenuineIntel GNU/Linux and I'm on -current after a fresh install of Slackware 15.0.
Code:
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (2) I218-V (rev 05)
DeviceName: Onboard LAN
Subsystem: ASUSTeK Computer Inc. Ethernet Connection (2) I218-V
Flags: bus master, fast devsel, latency 0, IRQ 72, NUMA node 0
Memory at dc100000 (32-bit, non-prefetchable) [size=128K]
Memory at dc136000 (32-bit, non-prefetchable) [size=4K]
I/O ports at f000 [size=32]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] PCI Advanced Features
Kernel driver in use: e1000e
Kernel modules: e1000e
Code:
6:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
Subsystem: ASUSTeK Computer Inc. I211 Gigabit Network Connection
Flags: bus master, fast devsel, latency 0, IRQ 18, NUMA node 0
Memory at dc600000 (32-bit, non-prefetchable) [size=128K]
I/O ports at c000 [size=32]
Memory at dc620000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] MSI-X: Enable+ Count=5 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 38-d5-47-ff-ff-af-45-31
Capabilities: [1a0] Transaction Processing Hints
Kernel driver in use: igb
Kernel modules: igb
This enables OS control over PCI Express ASPM (Active State
Power Management) and Clock Power Management. ASPM supports
state L0/L0s/L1.
ASPM is initially set up by the firmware. With this option enabled,
Linux can modify this state in order to disable ASPM on known-bad
hardware or configurations and enable it when known-safe.
ASPM can be disabled or enabled at runtime via
/sys/module/pcie_aspm/parameters/policy
Currently running a slackpkg upgrade-all that's downloading at roughly 150KB/s from 207.223.116.213 so speed tests will be affected while this is still ongoing. 2 different NICs on the motherboard, both exhibiting the same performance issue. Prior to posting about this issue I had tried running speed tests from both NICs and that gave roughly the same results - ~20Mb/s download, ~18Mb/s upload, while my connection is rated for 500Mb/s down, 20Mb/s up. In dual booted Windows on the same machine and my work laptop running Windows they both give 500+ Mb/s download speeds.
We need to see how you test your speed.
If you use speedtest in a browser, or speedtest-cli, those are not very reliable. I mean, they work for a one-shot test, but not for a thorough investigation.
For a start, if you can, connect some other machine to the same network (say, your laptop), and run iperf3, as well as iperf3 -R. You should get roughly the speed of your ethernet switch.
My first guess actually is that your machine connects to wifi automatically, and sets this connection to be the default, so the test don't even go through the ethernet link. This would explain the difference between Windows and Slackware, if Windows selects the wired adapter by default, and Slackware selects Wifi.
My first guess actually is that your machine connects to wifi automatically, and sets this connection to be the default, so the test don't even go through the ethernet link. This would explain the difference between Windows and Slackware, if Windows selects the wired adapter by default, and Slackware selects Wifi.
That guess would be possible to verify by studying the output from:
You could test if you have the same results with a Slackware-current live ISO
Unfortunately it looks like Slackware Live Edition is also affected with this slow speed issue
Quote:
Originally Posted by Lockywolf
We need to see how you test your speed.
If you use speedtest in a browser, or speedtest-cli, those are not very reliable. I mean, they work for a one-shot test, but not for a thorough investigation.
For a start, if you can, connect some other machine to the same network (say, your laptop), and run iperf3, as well as iperf3 -R. You should get roughly the speed of your ethernet switch.
My first guess actually is that your machine connects to wifi automatically, and sets this connection to be the default, so the test don't even go through the ethernet link. This would explain the difference between Windows and Slackware, if Windows selects the wired adapter by default, and Slackware selects Wifi.
Well, I was going to try and see if the WiFi on this desktop would get better speeds, but the WiFi NIC isn't even detected so no go there. As for running iperf3, it does look like I'm getting decent LAN speeds
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.