Network - Fixing slow downloads problems inside containers and VMs running on Proxmox VE servers with Broadcom BCM57502 NICs
Objective
Some Dedicated Servers equipped with Broadcom BCM57502 NICs may experience really slow (as low as 255 kb/s) download speeds inside VMs or containers running on Proxmox VE (Virtual Environment).
Find out how to fix slow downloads problems inside containers and VMs running on Proxmox VE with a Broadcom BCM57502 network interface controller by disabling the generic-receive-offload parameter.
Requirements
The issue is known to occur on bare metal servers of the ADVANCE ranges running Proxmox VE. Only servers equipped with a Broadcom BCM57502 network interface controller are affected.
Instructions
Step 1 - Identifying your network interface controller
SSH into the server and run the following command which lists all PCI devices of class 200 (Ethernet controllers):
If the output shows devices with PCI ID 14e4:1752, your server is affected. Example output:
Step 2 - Obtaining the network interface names
List network interfaces with:
Example output:
To find the interfaces that correspond to the Broadcom controllers shown by lspci, you can run:
Example output:
The bus-info line matches the PCI address (02:00.0 shown by lspci).
Step 3 - Disabling the generic-receive-offload parameter
You can now check the status of the generic-receive-offload parameter with the following command:
Example output:
The slow downloads issue can be fixed by disabling generic-receive-offload with the following command:
Example output:
Step 4 - Persisting the change across reboots
In order to persist the change after the next reboot, the ethtool command may be added to the appropriate interfaces in /etc/network/interfaces as an up command.
For instance:
The $IFACE placeholder will be replaced by the interface name on execution. You do not need to replace it with the actual interface name.
Setting the generic-receive-offload parameter on the vmbr0 bridge has no effect, the change must be applied to the physical interfaces.
You can now restart the networking service to apply the configuration:
Go further
Join our community of users.