Realtek RTL8111/8168/8411 r8169 problem freeze / performance with promox 7.4 and 8

Chris8777

New Member
Sep 29, 2023
4
0
1
Hello Promox Community,

i have 4x Dell Optiplex 3000 Thin Client with Intel Silver n6005.

On Proxmox 7.4 and 8 is the network performance terrible, maybe ~ 500KB/s, with Proxmox 8 lose the server after 5 or 10 mins the network connection.
With Proxmox 7 it´s a little bit more stable, but the network performance is bad.
Im running on Proxmox 7 now.

Code:
lspci -v
       01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Flags: bus master, fast devsel, latency 0, IRQ 18
        I/O ports at 3000 [size=256]
        Memory at 7f404000 (64-bit, non-prefetchable) [size=4K]
        Memory at 7f400000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
        Capabilities: [170] Latency Tolerance Reporting
        Capabilities: [178] L1 PM Substates
        Kernel driver in use: r8169
        Kernel modules: r8169

I am a little bit confused, lspci show me "Realtek Semiconductor Co., Ltd. RTL8111/8168/8411", but the kernel driver is r8169?

Tried this from SQLJames/proxmox-realtek.md (https://gist.github.com/SQLJames/fe6fcd5e819d864986ce2eff6ad350da) on github, but is not working on me :(

Has anyone an idea or tutorial for me?

Regards,
Chris
 
Hello Promox Community,

i have 4x Dell Optiplex 3000 Thin Client with Intel Silver n6005.

On Proxmox 7.4 and 8 is the network performance terrible, maybe ~ 500KB/s, with Proxmox 8 lose the server after 5 or 10 mins the network connection.
With Proxmox 7 it´s a little bit more stable, but the network performance is bad.
Im running on Proxmox 7 now.

Code:
lspci -v
       01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Flags: bus master, fast devsel, latency 0, IRQ 18
        I/O ports at 3000 [size=256]
        Memory at 7f404000 (64-bit, non-prefetchable) [size=4K]
        Memory at 7f400000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
        Capabilities: [170] Latency Tolerance Reporting
        Capabilities: [178] L1 PM Substates
        Kernel driver in use: r8169
        Kernel modules: r8169

I am a little bit confused, lspci show me "Realtek Semiconductor Co., Ltd. RTL8111/8168/8411", but the kernel driver is r8169?

Tried this from SQLJames/proxmox-realtek.md (https://gist.github.com/SQLJames/fe6fcd5e819d864986ce2eff6ad350da) on github, but is not working on me :(

Has anyone an idea or tutorial for me?

Regards,
Chris
Hi,
there are known issues with the r8169 driver, which seem to be related to power saving features. You might install the dkms-r8168 driver as a workaround on PVE 8, see also https://forum.proxmox.com/threads/networking-issues-pve8.129742/
 
Hi,
there are known issues with the r8169 driver, which seem to be related to power saving features. You might install the dkms-r8168 driver as a workaround on PVE 8, see also https://forum.proxmox.com/threads/networking-issues-pve8.129742/
Hi Chris,

thanks for the feedback, i read all articles :(

Get the following error after install new driver, its works for 10 or 15 mins, the perfomance is good, but the adapter is going down.
e07bb85e-f9e1-4202-8295-e879a05ff147.jpg

I installed all 4 Dell Optiplex 3000 with proxmox 8.0.4 new.

- change the /etc/apt/sources.list
Code:
deb http://ftp.de.debian.org/debian bookworm main contrib non-free non-free-firmware
deb http://ftp.de.debian.org/debian bookworm-updates main contrib non-free non-free-firmware

# security updates
deb http://security.debian.org bookworm-security main contrib
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

- apt update
- upgrade over webinterface "> _Upgrade"
1695991020754.png
- reboot
- apt install pve-headers -y
1695991154086.png

- reboot
- check kernel driver ....
1695991295335.png
- apt install r8168-dkms -y
- check the new driver is installed

- blacklist r8169
Code:
echo blacklist r8169 >> /etc/modprobe.d/blacklist-r8169.conf

- update grub
Code:
sudo sed -i 's/GRUB_CMDLINE_LINUX=""/GRUB_CMDLINE_LINUX="r8168.aspm=0 r8168.eee_enable=0 pcie_aspm=off loglevel=3"/' /etc/default/grub
- proxmox-boot-tool refresh


After restart, looks good, but 5 or 10 mins later crash the network
1695991661942.png
 
Please try the latest 6.5 based PVE Kernel without the dkms module installed.
It´s working now for me on my 5x node cluster --->

Kernel Version Linux 6.5.11-7-pve (2023-12-05T09:44Z)
Manager Version pve-manager/8.1.3/b46aac3b42da5d1

Updatet last week too 8.1.3 :)
 
It´s working now for me on my 5x node cluster --->

Kernel Version Linux 6.5.11-7-pve (2023-12-05T09:44Z)
Manager Version pve-manager/8.1.3/b46aac3b42da5d1

Updatet last week too 8.1.3 :)
Hello!

I am also struggling with the lan driver problem you mentioned.
I have an OptiPlex 3000 Tower machine.
Did the solution you mentioned completely solve your lan problem (lan crash)?

In another forum post, they mentioned turning off the C-State control in the bios, but I don't want that.
 
Hello!

I am also struggling with the lan driver problem you mentioned.
I have an OptiPlex 3000 Tower machine.
Did the solution you mentioned completely solve your lan problem (lan crash)?

In another forum post, they mentioned turning off the C-State control in the bios, but I don't want that.
Hi,

i have OptiPlex 3000 Thin Clients and since Kernel Version Linux 6.5.11-7 no problems more.

Code:
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Flags: bus master, fast devsel, latency 0, IRQ 18
        I/O ports at 4000 [size=256]
        Memory at 7f604000 (64-bit, non-prefetchable) [size=4K]
        Memory at 7f600000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
        Capabilities: [170] Latency Tolerance Reporting
        Capabilities: [178] L1 PM Substates
        Kernel driver in use: r8169
        Kernel modules: r8169
 
Hi,

i have OptiPlex 3000 Thin Clients and since Kernel Version Linux 6.5.11-7 no problems more.

Code:
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Flags: bus master, fast devsel, latency 0, IRQ 18
        I/O ports at 4000 [size=256]
        Memory at 7f604000 (64-bit, non-prefetchable) [size=4K]
        Memory at 7f600000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
        Capabilities: [170] Latency Tolerance Reporting
        Capabilities: [178] L1 PM Substates
        Kernel driver in use: r8169
        Kernel modules: r8169
Thank you very much for your quick reply.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!