Debian Buster - Slow Internet Access

Everything about X, Gnome, KDE, ... and everything running on it

Debian Buster - Slow Internet Access

Postby yuvarajvelmurugan » 2020-10-25 12:25

I have a 100 Mbps broadband, but internet access is very slow. Any updates in software center is also processing very slow. When I tried connecting a different machine with different operating system the internet is working good as expected. I came to know there is no problem with broadband, router and cables. The network line is working 100% good. I have been stuck with this issue on debian buster for a month now.

command output: lspci
Code: Select all
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 06)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
00:1b.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port (rev f0)
00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port (rev f0)
00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port (rev f0)
00:1d.2 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port (rev f0)
00:1d.3 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port (rev f0)
00:1f.0 ISA bridge: Intel Corporation 200 Series PCH LPC Controller (B250)
00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio
00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V
05:00.0 PCI bridge: Integrated Technology Express, Inc. IT8892E PCIe to PCI Bridge (rev 71)

command output: ip a
Code: Select all
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: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 1c:1b:0d:a0:b1:66 brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.3/24 brd 192.168.100.255 scope global dynamic noprefixroute enp0s31f6
       valid_lft 77758sec preferred_lft 77758sec
    inet6 fe80::5f85:1342:5f87:e9c6/64 scope link noprefixroute
       valid_lft forever preferred_lft forever


command output: dmesg --level=err,warn
Code: Select all
[    0.000000] secureboot: Secure boot could not be determined (mode 0)
[    0.227080] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[    0.227080]  #3
[    1.677765] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20180810/psargs-330)
[    1.677772] ACPI Error: Method parse/execution failed \_SB.PCI0.SAT0.PRT0._GTF, AE_NOT_FOUND (20180810/psparse-516)
[    1.678819] ACPI BIOS Error (bug): Could not resolve [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20180810/psargs-330)
[    1.678823] ACPI Error: Method parse/execution failed \_SB.PCI0.SAT0.PRT0._GTF, AE_NOT_FOUND (20180810/psparse-516)
Thanks,
Yuvaraj Velmurugan
User avatar
yuvarajvelmurugan
 
Posts: 9
Joined: 2020-10-25 12:08

Re: Debian Buster - Slow Internet Access

Postby Head_on_a_Stick » 2020-10-25 14:40

Try
Code: Select all
# ethtool -s enp0s31f6 speed 1000 duplex full autoneg off

If that fixes things then create a udev rule to apply it automatically during the boot process:
Code: Select all
ACTION=="add", SUBSYSTEM=="net", NAME=="enp0s31f6", RUN+="/sbin/ethtool -s enp0s31f6 speed 1000 duplex full autoneg off"

^ Save that to /etc/udev/rules.d/81-ethernet.rules

Reference: https://ubuntuforums.org/showthread.php?t=2409623 ← I found that by entering "Intel I219-V linux slow connection" into a search engine. It took me less than a month :mrgreen:
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12756
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian Buster - Slow Internet Access

Postby yuvarajvelmurugan » 2020-10-25 15:24

Head_on_a_Stick wrote:Try
Code: Select all
# ethtool -s enp0s31f6 speed 1000 duplex full autoneg off

If that fixes things then create a udev rule to apply it automatically during the boot process:
Code: Select all
ACTION=="add", SUBSYSTEM=="net", NAME=="enp0s31f6", RUN+="/sbin/ethtool -s enp0s31f6 speed 1000 duplex full autoneg off"

^ Save that to /etc/udev/rules.d/81-ethernet.rules

Reference: https://ubuntuforums.org/showthread.php?t=2409623 ← I found that by entering "Intel I219-V linux slow connection" into a search engine. It took me less than a month :mrgreen:

I ran command: ethtool -s enp0s31f6 speed 1000 duplex full autoneg off
The LAN was disconnected. I waited for a minute and it didn't work.

I ran command : ethtool enp0s31f6
Code: Select all
Settings for enp0s31f6:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Unknown! (255)
        Port: Twisted Pair
        PHYAD: 2
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: no

I again ran command with a change in speed: ethtool -s enp0s31f6 speed 100 duplex full autoneg off
Then ran command : ethtool enp0s31f6
Code: Select all
Settings for enp0s31f6:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: off
        MDI-X: off (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes


LAN is now connected but still the problem persists.
Thanks,
Yuvaraj Velmurugan
User avatar
yuvarajvelmurugan
 
Posts: 9
Joined: 2020-10-25 12:08

Re: Debian Buster - Slow Internet Access

Postby Head_on_a_Stick » 2020-10-25 16:05

yuvarajvelmurugan wrote:The LAN was disconnected

Oops, sorry, I should have paid more attention to your OP.

yuvarajvelmurugan wrote:LAN is now connected but still the problem persists.

Perhaps disable the power management:
Code: Select all
# echo on > /sys/class/net/enp0s31f6/power/control

Or try installing the firmware-misc-nonfree package (not sure if that card needs firmware though).

And as your hardware is pretty new you could also try a newer kernel metapackage from the buster-backports repository (see my [FAQ] guide in the HowTo section for details).
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12756
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian Buster - Slow Internet Access

Postby p.H » 2020-10-25 17:05

May I suggest to do some tests to better characterize "slow internet access" ?
DNS resolution
ping with big packet size to measure latency and packet loss
file download to measure bulk transfer rate
for both IPv4 and IPv6 connectivity
and all the same with a local server if possible
p.H
 
Posts: 1512
Joined: 2017-09-17 07:12

Re: Debian Buster - Slow Internet Access

Postby yuvarajvelmurugan » 2020-10-26 10:58

Head_on_a_Stick wrote:
yuvarajvelmurugan wrote:The LAN was disconnected

Oops, sorry, I should have paid more attention to your OP.

yuvarajvelmurugan wrote:LAN is now connected but still the problem persists.

Perhaps disable the power management:
Code: Select all
# echo on > /sys/class/net/enp0s31f6/power/control

Or try installing the firmware-misc-nonfree package (not sure if that card needs firmware though).

And as your hardware is pretty new you could also try a newer kernel metapackage from the buster-backports repository (see my [FAQ] guide in the HowTo section for details).


I have already installed firmware-misc-nonfree package after installing debian buster.

Question: back-ports are for older hardware's right?
Thanks,
Yuvaraj Velmurugan
User avatar
yuvarajvelmurugan
 
Posts: 9
Joined: 2020-10-25 12:08

Re: Debian Buster - Slow Internet Access

Postby yuvarajvelmurugan » 2020-10-26 10:59

p.H wrote:May I suggest to do some tests to better characterize "slow internet access" ?
DNS resolution
ping with big packet size to measure latency and packet loss
file download to measure bulk transfer rate
for both IPv4 and IPv6 connectivity
and all the same with a local server if possible


CPU history & Network activity history is not working in system monitor utility.

I have no idea how to do it.

Could you provide commands to do that.
Thanks,
Yuvaraj Velmurugan
User avatar
yuvarajvelmurugan
 
Posts: 9
Joined: 2020-10-25 12:08

Re: Debian Buster - Slow Internet Access

Postby sgosnell » 2020-10-26 15:18

Actually, backports is for newer hardware. It contains newer packages that might be necessaary for newer hardware.
Take my advice, I'm not using it.
sgosnell
 
Posts: 904
Joined: 2011-03-14 01:49

Re: Debian Buster - Slow Internet Access

Postby p.H » 2020-10-26 15:35

DNS resolution : dig, host, nslookup
ping : ping
file download : wget
Read the man pages for details.
p.H
 
Posts: 1512
Joined: 2017-09-17 07:12

Re: Debian Buster - Slow Internet Access

Postby Head_on_a_Stick » 2020-10-26 16:50

yuvarajvelmurugan wrote:back-ports are for older hardware's right?

No, backports are taken from Debian testing so they are newer.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12756
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Debian Buster - Slow Internet Access

Postby yuvarajvelmurugan » 2020-11-08 13:17

Head_on_a_Stick wrote:
yuvarajvelmurugan wrote:back-ports are for older hardware's right?

No, backports are taken from Debian testing so they are newer.


I have updated the linux kernel from backports as per the debian wiki guidelines.
But still facing the same problem.
Noted something very odd, while browsing when i click the network icon in the system tray, it is displaying the network up & down data usage information. That moment alone the internet is working good. Once i click the mouse back to browser and interact the internet problem occurs.

journalctl -b -p3
Code: Select all
-- Logs begin at Sun 2020-11-08 19:15:34 IST, end at Sun 2020-11-08 19:26:38 IST. --
Nov 08 19:15:34 yuvi-pc kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20200528/psargs-330)
Nov 08 19:15:34 yuvi-pc kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20200528/psparse-531)
Nov 08 19:15:34 yuvi-pc kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20200528/psargs-330)
Nov 08 19:15:34 yuvi-pc kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20200528/psparse-531)


dmesg --level=emerg,alert,crit,err,warn
Code: Select all
[    0.000000] secureboot: Secure boot could not be determined (mode 0)
[    0.077653] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
[    0.077653]  #3
[    1.514756] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20200528/psargs-330)
[    1.514889] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20200528/psparse-531)
[    1.516616] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20200528/psargs-330)
[    1.516749] ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20200528/psparse-531)
[    3.292989] process '/usr/bin/fstype' started with executable stack


inxi -Fx
Code: Select all
System:    Host: yuvi-pc Kernel: 5.8.0-0.bpo.2-amd64 x86_64 bits: 64 compiler: N/A Console: tty 1
           Distro: Debian GNU/Linux 10 (buster)
Machine:   Type: Desktop System: Gigabyte product: B250M-D3H v: N/A serial: N/A
           Mobo: Gigabyte model: B250M-D3H-CF v: x.x serial: N/A UEFI: American Megatrends v: F9 date: 04/10/2018
CPU:       Topology: Dual Core model: Intel Core i3-7100 bits: 64 type: MT MCP arch: Kaby Lake rev: 9 L2 cache: 3072 KiB
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31199
           Speed: 800 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800
Graphics:  Device-1: Intel HD Graphics 630 vendor: Gigabyte driver: i915 v: kernel bus ID: 00:02.0
           Display: server: X.org 1.20.4 driver: modesetting unloaded: fbdev,vesa tty: 189x51
           Message: Advanced graphics data unavailable in console for root.
Audio:     Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 00:1f.3
           Sound Server: ALSA v: k5.8.0-0.bpo.2-amd64
Network:   Device-1: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: 3.2.6-k port: f040 bus ID: 00:1f.6
           IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac: i removed it
Drives:    Local Storage: total: 931.51 GiB used: 738.37 GiB (79.3%)
           ID-1: /dev/sda vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB temp: 37 C
Partition: ID-1: / size: 78.35 GiB used: 9.13 GiB (11.7%) fs: ext4 dev: /dev/sda2
           ID-2: /home size: 821.91 GiB used: 729.23 GiB (88.7%) fs: ext4 dev: /dev/sda4
           ID-3: swap-1 size: 14.90 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3
Sensors:   System Temperatures: cpu: 36.0 C mobo: N/A
           Fan Speeds (RPM): N/A
Info:      Processes: 175 Uptime: 15m Memory: 15.53 GiB used: 836.8 MiB (5.3%) Init: systemd runlevel: 5 Compilers: gcc: 8.3.0
           Shell: bash v: 5.0.3 inxi: 3.0.32
Thanks,
Yuvaraj Velmurugan
User avatar
yuvarajvelmurugan
 
Posts: 9
Joined: 2020-10-25 12:08


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable