When Azure planned reboots occurred we have seen performance degradation on several VMs . Here is the quick fix which doesn’t cost anything extra.
We need to enable Accelerated networking to overcome this problem . process is pretty simple
Note : This solution only works on VM that is not a member of availability set.
Steps to enable accelerated networking
- Deallocate VM
- Note NIC Name and resource group name where nic reside
- Assign new NIC to VM
- Deallocated old nic .
- Run below on cloudshell
az network nic update --name NICNAME --accelerated-networking true --resource-group RESOURCEGROUP
- Assign old nic back to the VM
- Deallocated new NIC and start VM