Slow Network on Hyper-V Guests on Windows Server 2019
February 24th 2022
A couple weeks ago I setup a Hyper-V Server based on Server 2019 offsite. I created the needed VMs and everything was looking good so far. Some days later users began to report very, very slow connections to the fileserver which was a VM running on the mentioned host.
- Network very slow from PCs to VMs
- Network OK from PCs to Host
- Network OK from Host to VMs
- Network OK from VMs to VMs
Microsoft introduced a new feature in Server 2019 called "Receive Segment Coalescing" (RSC).
Apparently it is used for offloading tasks from the CPU to the network card. It strips the headers from packets and combines the payload of those into one packet.
It is enabled by default on all vSwitches on Windows Server 2019. Of course it
doesn't work and just causes problems isn't supported on some hardware configurations.
Check if RSC is enabled:
Get-VMSwitch | Select-Object name,*RSC*
Disable RSC on a specific vSwitch:
Set-VMSwitch -Name vSwitch1 -EnableSoftwareRsc $false
If you want to know more: