Slow wired Ethernet Realtek 8118

Bug #1826581 reported by jeanmarc on 2019-04-26
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned
r8168 (Ubuntu)
Undecided
Unassigned

Bug Description

Hello,
Using the latest kernel 5.0.0-13 my network is slower. My MB is a Gigabyte B360M-DS3H (Realtek 8118 chipset)

I got ~22Mbps down on speedtest @1000 (i can reach up to 400Mbps)
But if i sudo ethtool -s enp3s0 speed 100 duplex full i get up to 92Mbps

jeanmarc@astrolabe:~$ sudo lshw -class network
[sudo] Mot de passe de jeanmarc :
  *-network
       description: Ethernet interface
       produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       fabriquant: Realtek Semiconductor Co., Ltd.
       identifiant matériel: 0
       information bus: pci@0000:03:00.0
       nom logique: enp3s0
       version: 16
       numéro de série: e0:d5:5e:a7:59:ec
       taille: 1Gbit/s
       capacité: 1Gbit/s
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.047.01-NAPI duplex=full ip=192.168.0.26 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       ressources: irq:124 portE/S:3000(taille=256) mémoire:a3204000-a3204fff mémoire:a3200000-a3203fff

Thanks
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: jeanmarc 1665 F.... pulseaudio
 /dev/snd/controlC0: jeanmarc 1665 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 19.04
InstallationDate: Installed on 2018-09-05 (235 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
IwConfig:
 lo no wireless extensions.

 enp3s0 no wireless extensions.
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 03f0:304a HP, Inc
 Bus 001 Device 003: ID 0951:1665 Kingston Technology Digital DataTraveler SE9 64GB
 Bus 001 Device 002: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Gigabyte Technology Co., Ltd. B360M-DS3H
NonfreeKernelModules: nvidia_modeset nvidia
Package: r8168
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-13-generic root=UUID=a3da3bcd-b1ad-43de-8e7d-b5afb36efda7 ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
RelatedPackageVersions:
 linux-restricted-modules-5.0.0-13-generic N/A
 linux-backports-modules-5.0.0-13-generic N/A
 linux-firmware 1.178
RfKill:

Tags: disco
Uname: Linux 5.0.0-13-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 01/16/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F12
dmi.board.asset.tag: Default string
dmi.board.name: B360M DS3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF12:bd01/16/2019:svnGigabyteTechnologyCo.,Ltd.:pnB360M-DS3H:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB360MDS3H:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:
dmi.product.family: Default string
dmi.product.name: B360M-DS3H
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

jeanmarc (jeanmarc77) on 2019-04-26
affects: linux (Ubuntu) → r8168 (Ubuntu)
jeanmarc (jeanmarc77) wrote :

Hmm it's look like i use r8169 in 19.04 (kernel 4.18). I can get ~400Mbps there.
Sadly r8169 dosen't seem available with kernel 5.

eanmarc@astrolabe:~$ uname -a
Linux astrolabe 4.18.0-17-generic #18-Ubuntu SMP Wed Mar 13 14:34:40 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
jeanmarc@astrolabe:~$ lspci -k -nn | grep -A 3 -i net
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 16)
 Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet [1458:e000]
 Kernel driver in use: r8169
 Kernel modules: r8168

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1826581

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected disco
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in r8168 (Ubuntu):
status: New → Confirmed
jeanmarc (jeanmarc77) wrote :

i dunno but i can reach ~400Mbps with Manjaro
[jeanmarc@astrolabe ~]$ sudo lshw -class network
[sudo] Mot de passe de jeanmarc :
  *-network
       description: Ethernet interface
       produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       fabriquant: Realtek Semiconductor Co., Ltd.
       identifiant matériel: 0
       information bus: pci@0000:03:00.0
       nom logique: enp3s0
       version: 16
       numéro de série: e0:d5:5e:a7:59:ec
       taille: 1Gbit/s
       capacité: 1Gbit/s
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.045.08-NAPI duplex=full ip=192.168.0.26 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       ressources: irq:133 portE/S:3000(taille=256) mémoire:a3104000-a3104fff mémoire:a3100000-a3103fff
[jeanmarc@astrolabe ~]$ uname -a
Linux astrolabe 5.0.9-2-MANJARO #1 SMP PREEMPT Sun Apr 21 07:11:08 UTC 2019 x86_64 GNU/Linux

thanks

Kai-Heng Feng (kaihengfeng) wrote :

What's the network speed if r8169 is used instead of r8168 under Manjaro?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers