Enable Accelerated Networking

Accelerated Networking for VM’s enables the single root I/O virtualization (SR-IOV) feature, providing greater throughput and performance. This method bypasses the both Hypervisor and virtual switch in Azure, with traffic going direct to and from the VM’s NIC.
 
Enabling this option requires a DS2_v2 or higher VM size and supported on guests running Windows Server 2012 R2 onwards. You can enable Accelerated Networking though PowerShell or CLI. In the example below, we will use PowerShell:
 
 
Clear-Host
$nicName = Read-Host -Prompt 'Enter network interface name'
$resourceGroup = 'Servers'
$nic = Get-AzNetworkInterface -ResourceGroupName $resourceGroup -Name $nicName
$nic.EnableAcceleratedNetworking = $true
$nic | Set-AzNetworkInterface