Fix slow Ethernet performance on Intel i218/i219 NIC

Update: I don’t use the mentioned fix anymore. Instead I ordered additional NIC which works better.


Some of Hetzner servers comes with Intel i218/i219 Ethernet adapters. Linux kernel version 4.15 or later may cause slowness of download/upload speed on those NIC.

To fix enter:

ethtool -K {interface} tso off gso off

where {interface} is the interface name. Example:

ethtool -K enp0s31f6 tso off gso off

To fix it permanently, Create the systemd service file:

touch /etc/systemd/system/nic-speed-fix.service
nano /etc/systemd/system/nic-speed-fix.service

Then add contents:

Description=NIC speed fix service

ExecStart=/sbin/ethtool -K {interface} tso off gso off


Change {interface} name accordingly.

You may need to change /sbin/ethtool to something else depending on where ethtool is located on your system. To find out where the ethtool is located, just enter type ethtool.

Then do the following:

systemctl daemon-reload
systemctl enable nic-speed-fix

After that reboot the server and verify it’s working.