<strong>Share On:</strong> <a href="https://twitter.com/home?status=Top%2010%20Networking%20Features%20in%20Windows%20Server%202019%3A%20%236%20High%20Performance%20SDN%20Gateways%0A%20https%3A//blogs.technet.microsoft.com/networking/2018/08/15/high-performance-gateways/%0A%0A%23SDN%20%23NetworkSecurity%20%23SDDC%20%23WinServ%20%23WindowsAdminCenter%20%23SDNv2">Twitter</a> <strong>Share On:</strong> <a href="https://www.linkedin.com/shareArticle?mini=true&url=https%3A//blogs.technet.microsoft.com/networking/2018/08/15/high-performance-gateways/&title=Top%2010%20Networking%20features%3A%20High%20Performance%20SDN%20Gateways&summary=Organizations%20today%20deploy%20their%20applications%20across%20multiple%20clouds%20including%20on-premises%20private%20cloud,%20a%20service%20provider%20cloud%20and%20public%20cloud%20such%20as%20Azure.%20In%20such%20scenarios,%20enabling%20secure,%20high-performance%20connectivity%20across%20their%20workloads%20in%20different%20clouds%20is%20essential.%20Windows%20Server%202019%20brings%20huge%20SDN%20gateway%20performance%20improvements%20for%20hybrid%20connectivity%20scenarios,%20with%20network%20throughput%20multiplying%20by%20up%20to%206x!!!&source=">LinkedIn</a>
This blog is part of a series for the Top 10 Networking Features in Windows Server 2019!
Look for the <strong>Try it out</strong> sections then give us some feedback in the comments!
Don't forget to tune in next week for the next feature in our Top 10 list!
Organizations today deploy their applications across multiple clouds including on-premises private clouds, service provider clouds, and public clouds such as Azure. In such scenarios, enabling secure, high-performance connectivity across workloads in different clouds is essential. Windows Server 2019 brings huge SDN gateway performance improvements for these hybrid connectivity scenarios, with network throughput multiplying by up to 6x!!!
If you have deployed Software Defined Networking (SDN) with Windows Server 2016, you must be aware that, amongst other things, it provides connectivity between your cloud resources and enterprise resources through SDN gateways. In this article, we will talk about the following capabilities of SDN gateways:
- IPsec tunnels provide secure connectivity over the Internet between your hybrid workloads
- GRE tunnels provide connectivity between your workloads hosted in SDN virtual networks and physical resources in the datacenter/high speed MPLS networks. More details about GRE connectivity scenarios here.
In Windows Server 2016, one of the customer concerns was the inability of SDN gateway to meet the throughput requirements of modern networks. The network throughput of IPsec and GRE tunnels was limited, with the single connection throughput for IPsec connectivity being about 300 Mbps and for GRE connectivity being about 2.5 Gbps.
We have improved significantly in Windows Server 2019, with the numbers soaring to 1.8 Gbps and 15 Gbps for IPsec and GRE connections, respectively. All this, with huge reductions in the CPU cycles/per byte, thereby providing ultra-high-performance throughput with much less CPU utilization.
Let’s talk numbers
We have done extensive performance testing for the SDN gateways in our test labs. In the tests, we have compared gateway network performance with Windows Server 2019 in SDN scenarios and non-SDN scenarios. The results are shown below:
GRE Performance Numbers
Network throughput for GRE tunnels in Windows Server 2019 without SDN varies from 2 to 5 Gbps, with SDN it leapfrogs to the range of 3 to 15 Gbps!!!
12 Note that the network throughput in Windows Server 2016 is much less than network throughput inWindows Server 2019 without SDN. With Windows Server 2019 SDN, the comparison is even more stark.
The CPU cycles/byte without SDN varies from 50 to 75, while it barely crosses 10 with SDN!!!
IPsec Performance Numbers
For IPsec tunnels, the Windows Server 2019 SDN network throughput is about 1.8 Gbps for 1 tunnel and about 5 Gbps for 8 tunnels. Compare this to Windows Server 2016 where the network throughput of a single tunnel was 300 Mbps and the aggregate IPsec network throughput for a gateway VM was 1.8 Gbps.
The CPU cycles/byte without SDN varies from 50 to 90, while it is well within 50 with SDN!!!
With GRE, the aggregate SDN gateway network throughput scales to 15 Gbps and with
IPsec, it can scale to 5 Gbps!!!
The test setup simulates connectivity between the SDN gateway and on-prem gateway in a private lab environment. The on-prem gateway is configured with Windows Routing and Remote Access (RAS) to act as a VPN Site-to-Site endpoint. Following are the setup details on the SDN gateway host and the SDN gateway VM:
- There are two NUMA nodes on the host machine with 8 cores per NUMA node. RAM on the gateway host is 40 GB. The gateway VM has full access to one NUMA node. And it is different from the NUMA node used by the host.
- Hyper threading is disabled
- Receive side buffer and send side buffer on physical network adapters is set to 4096
- Receive side scaling (RSS) is enabled on the host physical network adapters. Min and max processors are set to be from the NUMA node which the host is affinitized to. MaxProcessors is set to 8 (number of cores per NUMA node).
- Jumbo packets are set on the physical network adapters with value of 4088 bytes
- Receive Side Scaling is enabled in the vSwitch.
- The gateway VM is allocated 8 GB of memory
- For the Internal and External network adapters, the Send Side Buffer is configured with 32 MB of RAM and Receive Side Buffer is configured with 16 MB of RAM
- Forwarding Optimization is enabled for the Internal and External network adapters.
- Jumbo packets are enabled on the Internal and External network adapters with value of 4088 bytes
- VMMQ is enabled on the internal port of the VM
- VMQ and VRSS is enabled on the external network adapter of the VM
See it in action
The short demo below showcases the improved performance throughput with Windows Server 2019. This demo uses a performance tool called ctsTraffic to measure the network throughput of a single IPsec connection through the SDN VPN gateway. Traffic is being sent from a customer workload machine in the SDN network to an on-prem enterprise resource across a simulated Internet. As you can see, with Windows Server 2016, the network throughput of a single IPsec connection is only about 300 Mbps, while with Windows Server 2019, the network throughput scales to about 1.8 Gbps.
Try it out
For GRE connections, you should automatically see the improved performance once you deploy/upgrade to Windows Server 2019 builds on the gateway VMs. No manual steps are involved.
For IPsec connections, by default, when you create the connection for your virtual networks you will get the Windows Server 2016 data path and performance numbers. To enable the Windows Server 2019 data path, you will need to do the following:
- On an SDN gateway VM, go to Services console (services.msc).
- Find the service named “Azure Gateway Service”, and set the startup type of this service to “Automatic”
- Restart the gateway VM. Note that the active connections on this gateway will be failed over to a redundant gateway VM
- Repeat the previous steps for rest of the gateway VMs
NOTE: For best performance results, ensure that the <strong>cipherTransformationConstant</strong> and
<strong>authenticationTransformConstant </strong>in quickMode settings of the IPsec connection uses the “<strong>GCMAES256</strong>” cipher suite.
One more thing: To get maximum performance, the gateway host hardware must support AES-NI and PCLMULQDQ CPU instruction sets. These are available on any Westmere (32nm) and later Intel CPU except on models where AES-NI has been disabled. You can look at your hardware vendor documentation to see if the CPU supports AES-NI and PCLMULQDQ CPU instruction sets.
<span>Ready to give it a shot!? Download the latest Insider build and </span><a href="https://insider.windows.com/en-us/for-business-getting-started-server/">Try it out!</a>
We value your feedback
The most important part of a frequent release cycle is to hear what’s working and what needs to be improved, so your feedback is extremely valued.
Contact us if you have any questions or having any issues for your deployment or validation. We also encourage you to visit send us email – email@example.com to collaborate, share and learn from other customers like you.
Thanks for reading,