R8169 speed decreases
uname -a Linux linux 4.15.0-59-generic
04:00.0 Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
06:00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Speed (esp upstream) decreases after short time.
Temporary solved simply by ifdown eth0 & ifup eth0
Kernel driver currently in use
18.04.3 LTS is currenty not offering newer 4.17+
Any other suggestions ?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu linux Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- ThomasB
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Bug reports are not intended for support. Yes Ubuntu 18.04 LTS has the option to use 18.10/19.
For support please see https:/
You could convert this bug.report into a question, where the aim is more about fixing your current issue, instead of fixing future problems for everyone.
Revision history for this message
|
#2 |
What is the output of:
sudo lshw -C network; lsb_release -a; uname -a
Have you tried rebooting the router?
Have you tried a different port on the router?
Have you tried a different cable?
Revision history for this message
|
#3 |
The RTL8169 is making the problems. After reboot or ifdown / ifup speed works for a few minutes after which speed decreases immediatly. There ist an old driver problem with this network card which should be solved in 5.0 kernels but it seems it is still affeccted ?! I siwtched to 100 which seems to solve but it isnt solved in fact.
sudo lshw -C network; lsb_release -a; uname -a
*-network
description: Ethernet interface
product: RTL8169 PCI Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: p4p1
version: 10
serial: 00:11:6b:99:a5:34
size: 100Mbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
resources: irq:16 ioport:
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:06:00.0
logical name: p6p1
version: 06
serial: bc:ae:c5:a8:ca:fd
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
resources: irq:18 ioport:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
Linux linux 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Revision history for this message
|
#4 |
The problematic NIC in detail.
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 64 (8000ns min, 16000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 16
Region 0: I/O ports at d000 [size=256]
Region 1: Memory at f7321000 (32-bit, non-prefetchable) [size=256]
Expansion ROM at f7300000 [disabled] [size=128K]
Kernel driver in use: r8169
Kernel modules: r8169
Revision history for this message
|
#5 |
Have you tried rebooting the router? YES but not depends.
Have you tried a different port on the router? YES
Have you tried a different cable? YES
Revision history for this message
|
#6 |
https:/
Try disabling IPv6 in the router (if possible) and in Ubuntu. May help
Revision history for this message
|
#7 |
I read all the suggested threads and others. IPv6 is disabled (ubuntu) - problem still exists. The problem is not ethernet connection speed itself rather a drop in upload/download bandwidth. The upload / download speed drops every few minutes looks like traffic throtteling in effect but it isnt. Whenever ifdown eth0 && ifup eth0 inet is blazing fast.
> Link is Up - 1Gbps/Full - flow control rx/tx
It seems there is still a bug present in r8169 driver but on my card i cannot use r8168 by blacklist like described here https:/
Hetzner wrote about "Bandbreitenpro
Revision history for this message
|
#8 |
Btw. this is an exact description: https:/
My problem is an non correct working PCIx1 card RT8111 and a working onboard LAN RT8169 card. So how to fix this without blacklisting the kernel driver ?
Revision history for this message
|
#9 |
Are you aware that https:/
https:/
Revision history for this message
|
#10 |
Could try blacklisting the obsolete driver......
Revision history for this message
|
#11 |
I changed NIC to Intel with same result. Both cards are on PCI bus and it seems both cards (also the e1000 driver) have same troubles. The bandwidth reduces after few hours running fine from eg. 30Mbit Down / 10Mbit Up to 10Mbit Down / 0,2 Up. I dont understand why.
uname -r
5.0.0-27-generic
lshw -class network
*-network
Produkt: 82541PI Gigabit Ethernet Controller
Hersteller: Intel Corporation
Physische ID: 0
Logischer Name: p4p1
Version: 05
Größe: 1Gbit/s
Kapazität: 1Gbit/s
Breite: 32 bits
Takt: 66MHz
Fähigkeiten: pm pcix bus_master cap_list rom ethernet physical tp 10bt 10 bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
Ressourcen: irq:16 memory:
Revision history for this message
|
#12 |
Good morning - i found out that obviously the problem is related to a bug within PCI bus controller ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01) as described here (orignal website has currently an error) https:/
03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01)
Here the log whenever bandwith goes down:
Sep 04 16:22:54 linux kernel: Disabling IRQ #16
Sep 04 16:22:54 linux kernel: [<00000000dea9f
Sep 04 16:22:54 linux kernel: handlers:
Sep 04 16:22:54 linux kernel: secondary_
Sep 04 16:22:54 linux kernel: start_secondary
Sep 04 16:22:54 linux kernel: cpu_startup_
Sep 04 16:22:54 linux kernel: do_idle+0x204/0x280
Sep 04 16:22:54 linux kernel: call_cpuidle+
Sep 04 16:22:54 linux kernel: cpuidle_
Sep 04 16:22:54 linux kernel: R13: 0000000000000004 R14: ffffffff9f553ed8 R15: 00019b3983eac6f4
Sep 04 16:22:54 linux kernel: R10: ffffa046831b3e30 R11: 0000000000000001 R12: ffff8b7bfeb2d000
Sep 04 16:22:54 linux kernel: RBP: ffffa046831b3ea0 R08: 0000000000000002 R09: 0000000000022640
Sep 04 16:22:54 linux kernel: RDX: 00019b3983eac6f4 RSI: 000000002927d7db RDI: 0000000000000000
Sep 04 16:22:54 linux kernel: RAX: ffff8b7bfeb22d80 RBX: ffffffff9f553d40 RCX: 000000000000001f
Sep 04 16:22:54 linux kernel: RSP: 0018:ffffa04683
Sep 04 16:22:54 linux kernel: Code: 66 90 31 ff e8 d8 b7 86 ff 80 7d d3 00 74 17 9c 58 66 66 90 66 90 f6 c4 02 0f 85 54 03 00 00 31 ff e8 cb f3 8c ff fb 66 66 90 <66> 6
Sep 04 16:22:54 linux kernel: RIP: 0010:cpuidle_
Sep 04 16:22:54 linux kernel: </IRQ>
Sep 04 16:22:54 linux kernel: common_
Sep 04 16:22:54 linux kernel: do_IRQ+0x4e/0xe0
Sep 04 16:22:54 linux kernel: handle_
Sep 04 16:22:54 linux kernel: handle_
Sep 04 16:22:54 linux kernel: handle_
Sep 04 16:22:54 linux kernel: handle_
Sep 04 16:22:54 linux kernel: note_interrupt+
Sep 04 16:22:54 linux kernel: __report_
Sep 04 16:22:54 linux kernel: dump_stack+
Sep 04 16:22:54 linux kernel: <IRQ>
Sep 04 16:22:54 linux kernel: Call Trace:
Sep 04 16:22:54 linux kernel: Hardware name: System manufacturer System Product Name/P8P67-M, BIOS 3703 07/16/2013
Sep 04 16:22:54 linux kernel: CPU: 2 PID: 0 Comm: swapper/2 Tainted: G W OE 5.0.0-27-generic #28~18.04.1-Ubuntu
Sep 04 16:22:54 linux kernel: irq 16: nobody cared (try booting with the "irqpoll" option)
Revision history for this message
|
#13 |
You could try the 5.2.11 kernel (latest stable)
http://
Its the same method as above.
Revision history for this message
|
#14 |
Did you try the hint in the error log:
irq 16: nobody cared (try booting with the "irqpoll" option)
(I have no idea about the possible consequences.)
Revision history for this message
|
#15 |
Fixed by changing network card from PCI to PCIe due to bug in ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01)