LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-25-2024, 09:25 AM   #1
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
incredibly slow network speed -current


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?
 
Old 03-25-2024, 12:28 PM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,362

Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
The only thing I can deduce from the "details" you give is that Windows probably displays fake speeds
 
Old 03-25-2024, 01:05 PM   #3
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 565

Rep: Reputation: Disabled
Quote:
Originally Posted by dimm0k View Post
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?
 
Old 03-25-2024, 02:40 PM   #4
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by marav View Post
The only thing I can deduce from the "details" you give is that Windows probably displays fake speeds
haha best comment of the week!

Quote:
Originally Posted by yvesjv View Post
Do you have the correct firmware loaded when booting up?
are you referring to the firmware for the ethernet card itself? currently using the generic kernel and an initrd created with mkinitrd
 
1 members found this post helpful.
Old 03-25-2024, 03:13 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,304

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
There's an information vacuum here. Do you want to fix this? If so, we need numbers.
  • Have you connected your two network cards to each other? What speed can they do in file transfers?
  • Try each card under windows & linux on speedtest.net or similar. Post the results.
  • Post your OS, kernel version and network card details. Somebody might know something. Are they by any chance Realtek nics? https://www.linuxquestions.org/quest...es-4175734884/
 
Old 03-25-2024, 03:47 PM   #6
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,362

Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
Quote:
Originally Posted by dimm0k View Post
haha best comment of the week!
;-)

Can you post the output of ?:
Code:
$ inxi -Fmz
 
Old 03-25-2024, 03:57 PM   #7
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by business_kid View Post
There's an information vacuum here. Do you want to fix this? If so, we need numbers.
  • Have you connected your two network cards to each other? What speed can they do in file transfers?
  • Try each card under windows & linux on speedtest.net or similar. Post the results.
  • Post your OS, kernel version and network card details. Somebody might know something. Are they by any chance Realtek nics? https://www.linuxquestions.org/quest...es-4175734884/
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
 
Old 03-25-2024, 06:04 PM   #8
jkh2cpu
Member
 
Registered: Feb 2014
Location: Michigan, USA
Distribution: slackware
Posts: 281

Rep: Reputation: 60
You are using wired connections to your router, right? Not using wireless adapters, right?
 
Old 03-25-2024, 06:08 PM   #9
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,362

Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
You could test if you have the same results with a Slackware-current live ISO

Last edited by marav; 03-25-2024 at 06:09 PM.
 
1 members found this post helpful.
Old 03-25-2024, 07:49 PM   #10
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by marav View Post
;-)

Can you post the output of ?:
Code:
$ inxi -Fmz
Code:
{~}$ inxi -Fmz
System:
  Kernel: 5.17.0 x86_64 bits: 64 Desktop: Xfce 4.16.0 Distro: Slackware 15.0
Machine:
  Type: Desktop System: ASUS product: All Series v: N/A
    serial: <superuser required>
  Mobo: ASUSTeK model: X99-DELUXE II v: Rev 1.xx
    serial: <superuser required> UEFI-[Legacy]: American Megatrends v: 1902
    date: 04/19/2018
Memory:
  RAM: total: 102.1 GiB used: 5.82 GiB (5.7%)
  RAM Report:
    unknown-error: Unknown dmidecode error. Unable to generate data.
CPU:
  Info: 6-core model: Intel Core i7-6850K bits: 64 type: MT MCP cache:
    L2: 1.5 MiB
  Speed (MHz): avg: 1827 min/max: 1200/4000 cores: 1: 2206 2: 1769 3: 3016
    4: 1325 5: 1200 6: 1199 7: 2581 8: 1320 9: 2720 10: 2190 11: 1199 12: 1200
Graphics:
  Device-1: NVIDIA GK110 [GeForce GTX 780] driver: nvidia v: 470.103.01
  Device-2: Logitech HD Webcam C615 type: USB
    driver: snd-usb-audio,uvcvideo
  Display: server: X.Org v: 1.20.14 driver: X: loaded: nvidia
    unloaded: modesetting,nouveau,nv,vesa gpu: nvidia resolution:
    1: 2560x1440~60Hz 2: 2560x1440~60Hz
  OpenGL: renderer: NVIDIA GeForce GTX 780/PCIe/SSE2
    v: 4.6.0 NVIDIA 470.103.01
Audio:
  Device-1: Intel C610/X99 series HD Audio driver: snd_hda_intel
  Device-2: NVIDIA GK110 High Definition Audio driver: snd_hda_intel
  Device-3: AudioQuest DragonFly Black v1.5 type: USB driver: snd-usb-audio
  Device-4: Logitech HD Webcam C615 type: USB
    driver: snd-usb-audio,uvcvideo
  Sound Server-1: ALSA v: k5.17.0 running: yes
  Sound Server-2: PulseAudio v: N/A running: yes
Network:
  Device-1: Intel Ethernet I218-V driver: e1000e
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel I211 Gigabit Network driver: igb
  IF: eth1 state: down mac: <filter>
  Device-3: Broadcom BCM4360 802.11ac Wireless Network Adapter
    driver: bcma-pci-bridge
Bluetooth:
  Device-1: ASUSTek Broadcom BCM20702 Single-Chip Bluetooth 4.0 + LE
    type: USB driver: btusb
  Report: hciconfig ID: hci0 state: up address: <filter> bt-v: 2.1
RAID:
  Device-1: md0 type: mdraid level: mirror status: active size: 5.46 TiB
    report: 2/2 UU
  Components: Online: 1: sdb1 2: sda1
  Device-2: md127 type: mdraid level: mirror status: active size: 1.82 TiB
    report: 2/2 UU
  Components: Online: 1: sdd1 2: sde1
Drives:
  Local Storage: total: raw: 15.24 TiB usable: 7.96 TiB
    used: 5.35 TiB (67.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 950 PRO 256GB
    size: 238.47 GiB
  ID-2: /dev/sda vendor: Seagate model: ST6000NE0023-2EX110 size: 5.46 TiB
  ID-3: /dev/sdb vendor: Seagate model: ST6000NE0023-2EX110 size: 5.46 TiB
  ID-4: /dev/sdc vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB
  ID-5: /dev/sdd vendor: Hitachi model: HDS722020ALA330 size: 1.82 TiB
  ID-6: /dev/sde vendor: Western Digital model: WD20EZRZ-00Z5HB0
    size: 1.82 TiB
Partition:
  ID-1: / size: 29.36 GiB used: 22.23 GiB (75.7%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /home size: 799.24 GiB used: 654.04 GiB (81.8%) fs: ext4
    dev: /dev/dm-1
  ID-3: /var size: 7.79 GiB used: 718.6 MiB (9.0%) fs: ext4 dev: /dev/dm-2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 29.0 C mobo: N/A gpu: nvidia temp: 37 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 40%
Info:
  Processes: 379 Uptime: 1d 8h 39m Shell: Bash inxi: 3.3.13
Quote:
Originally Posted by jkh2cpu View Post
You are using wired connections to your router, right? Not using wireless adapters, right?
correct, both adapters are wired connections - only use one, but have tried both

Quote:
Originally Posted by marav View Post
You could test if you have the same results with a Slackware-current live ISO
that's the plan once the slackpkg upgrade completes... may take a while at this speed
 
Old 03-25-2024, 08:58 PM   #11
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,362

Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
You could also give this a try

Code:
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
Or add this to your GRUB_CMDLINE_LINUX
Code:
pcie_aspm=off

Last edited by marav; 03-25-2024 at 09:02 PM.
 
Old 03-25-2024, 09:29 PM   #12
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Quote:
Originally Posted by dimm0k View Post
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.
 
Old 03-26-2024, 01:43 AM   #13
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 959

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by Lockywolf View Post
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:

Code:
/sbin/ifconfig -a
regards Henrik
 
Old 03-26-2024, 12:11 PM   #14
Bavarian Slacker
LQ Newbie
 
Registered: Jan 2022
Location: Bavaria
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
I had the same problem a few years ago. The solution was a BIOS-Update.
 
Old 03-26-2024, 03:57 PM   #15
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by marav View Post
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 View Post
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
Code:
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   113 MBytes   944 Mbits/sec    0    247 KBytes       
[  5]   1.00-2.00   sec   111 MBytes   935 Mbits/sec    0    247 KBytes       
[  5]   2.00-3.00   sec   111 MBytes   932 Mbits/sec    0    247 KBytes       
[  5]   3.00-4.00   sec   112 MBytes   935 Mbits/sec    0    247 KBytes       
[  5]   4.00-5.00   sec   111 MBytes   934 Mbits/sec    0    247 KBytes       
[  5]   5.00-6.00   sec   112 MBytes   936 Mbits/sec    0    247 KBytes       
[  5]   6.00-7.00   sec   111 MBytes   934 Mbits/sec    0    247 KBytes       
[  5]   7.00-8.00   sec   111 MBytes   934 Mbits/sec    0    247 KBytes       
[  5]   8.00-9.00   sec   111 MBytes   931 Mbits/sec    0    247 KBytes       
[  5]   9.00-10.00  sec   112 MBytes   938 Mbits/sec    0    247 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.09 GBytes   935 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1.09 GBytes   934 Mbits/sec                  receiver
Quote:
Originally Posted by henca View Post
That guess would be possible to verify by studying the output from:

Code:
/sbin/ifconfig -a
regards Henrik
Code:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.8.42  netmask 255.255.255.0  broadcast 192.168.8.255
        inet6 fe80::c6d2:28a6:5a68:3b54  prefixlen 64  scopeid 0x20<link>
        ether 38:d5:47:af:45:30  txqueuelen 1000  (Ethernet)
        RX packets 226109  bytes 88800169 (84.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1658861  bytes 2457711326 (2.2 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xdc100000-dc120000  

eth1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 38:d5:47:af:45:31  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xdc600000-dc61ffff  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 4593  bytes 4323078 (4.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4593  bytes 4323078 (4.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Quote:
Originally Posted by Bavarian Slacker View Post
I had the same problem a few years ago. The solution was a BIOS-Update.
unfortunately this desktop is quite old and there has not been any BIOS updates for a while and I'm already on that one...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Incredibly slow connection speed on BackBox broadsignal Linux - Networking 3 01-18-2016 04:17 PM
[SOLVED] Ubuntu 14.04 - Incredibly slow boot without network mtb Linux - Server 3 07-21-2014 01:36 PM
Incredibly slow HD speed daishin Linux - Laptop and Netbook 6 02-27-2007 09:33 PM
*INCREDIBLY* slow internet access. Urgent help required. adz Linux - Networking 9 08-11-2003 09:39 PM
Why is Red Hat so incredibly slow on my system? carlos123 Linux - General 23 04-04-2003 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration