Virtualization Is Life!
NSX Bytes: Updated - NSX Edge Feature and Performance Matrix

NSX Bytes: Updated - NSX Edge Feature and Performance Matrix

NSXbytes0For a few years now i’ve been compiling features and throughput numbers for NSX Edge Services Gateways. This started off comparing (http://anthonyspiteri.net/nsx-edge-vs-vshield-edge-part-1-feature-and-performance-matrix/). As the product evolves, so does it’s capabilities and given the last time I updated this was around the time of NSX-v 6.2 I thought it was time for an update. A reminder that VMware announced the End of Availability (“EOA”) of the VMware vCloud Networking and Security 5.5.x that kicked in on the September of 19, 2016 and that from vCloud Director 8.10 and above vShield Edges are no longer supported…hence why I don’t have the VSE listed in the tables. For those still running VSEs for what ever reason, you can reference my original post (http://anthonyspiteri.net/nsx-edge-vs-vshield-edge-part-1-feature-and-performance-matrix/). As a refresher…what is an Edge device?

The Edge Services Gateway (NSX-v) connects isolated, stub networks to shared (uplink) networks by providing common gateway services such as DHCP, VPN, NAT, dynamic routing, and Load Balancing. Common deployments of Edges include in the DMZ, VPN Extranets, and multi-tenant Cloud environments where the Edge creates virtual boundaries for each tenant.

The following relates to ESG maximums per NSX and ESXi maximums.

ItemMaximums
ESGs per NSX Manager2,000
ESGs per ESXi Host250
ESG Interfaces10 (Including Internal, Uplink and Trunk)
ESG Subinterfaces200

The function of an ESG is as follows:

The ESG gives you access to all NSX Edge services such as firewall, NAT, DHCP, VPN, load balancing, and high availability. You can install multiple ESG virtual appliances in a datacenter. Each ESG virtual appliance can have a total of ten uplink and internal network interfaces. With a trunk, an ESG can have up to 200 subinterfaces. The internal interfaces connect to secured port groups and act as the gateway for all protected virtual machines in the port group. The subnet assigned to the internal interface can be a publicly routed IP space or a NATed/routed RFC 1918 private space. Firewall rules and other NSX Edge services are enforced on traffic between network interfaces.

Below is a list of services provided by the NSX Edge.

ServiceDescription
FirewallSupported rules include IP 5-tuple configuration with IP and port ranges for stateful inspection for all protocols
NATSeparate controls for Source and Destination IP addresses, as well as port translation
DHCPConfiguration of IP pools, gateways, DNS servers, and search domains
Site to Site VPNUses standardized IPsec protocol settings to interoperate with all major VPN vendors
SSL VPNSSL VPN-Plus enables remote users to connect securely to private networks behind a NSX Edge gateway
Load BalancingSimple and dynamically configurable virtual IP addresses and server groups
High AvailabilityHigh availability ensures an active NSX Edge on the network in case the primary NSX Edge virtual machine is unavailable
SyslogSyslog export for all services to remote servers
L2 VPNProvides the ability to stretch your L2 network.
Dynamic RoutingProvides the necessary forwarding information between layer 2 broadcast domains, thereby allowing you to decrease layer 2 broadcast domains and improve network efficiency and scale. Provides North-South connectivity, thereby enabling tenants to access public networks.

Below is a table that shows the different sizes of each edge appliance and what (if any) impact that has to the performance of each service. As a disclaimer the below numbers have been cherry picked from different sources and are subject to change.

NSX Edge (Compact)NSX Edge (Large)NSX Edge (Quad-Large)NSX Edge (X-Large)
vCPU1246
Memory512MB1GB1GB8GB
Disk512MB512MB512MB4.5GB + 4GB
Interfaces10101010
Sub Interfaces (Trunk)200200200200
NAT Rules2,0484,0964,0968,192
ARP Entries Until Overwrite1,0242,0482,0482,048
FW Rules2000200020002000
FW Performance3Gbps9.7Gbps9.7Gbps9.7Gbps
DHCP Pools20,00020,00020,00020,000
ECMP Paths8888
Static Routes2,0482,04810,24010,240
LB Pools6464641,024
LB Virtual Servers6464641,024
LB Server / Pool32323232
LB Health Checks3203203203,072
LB Application Rules4,0964,0964,0964,096
L2VPN Clients Hub to Spoke5555
L2VPN Networks per Client/Server200200200200
IPSec Tunnels5121,6004,0966,000
SSLVPN Tunnels501001001,000
SSLVPN Private Networks16161616
Concurrent Sessions64,0001,000,0001,000,0001,000,000
Sessions/Second8,00050,00050,00050,000
LB Throughput L7 Proxy)2.2Gbps2.2Gbps3Gbps
LB Throughput L4 Mode)6Gbps6Gbps6Gbps
LB Connections/s (L7 Proxy)46,00050,00050,000
LB Concurrent Connections (L7 Proxy)8,00060,00060,000
LB Connections/s (L4 Mode)50,00050,00050,000
LB Concurrent Connections (L4 Mode)600,0001,000,0001,000,000
BGP Routes20,00050,000250,000250,000
BGP Neighbors1020100100
BGP Routes RedistributedNo LimitNo LimitNo LimitNo Limit
OSPF Routes20,00050,000100,000100,000
OSPF LSA Entries Max 750 Type-120,00050,000100,000100,000
OSPF Adjacencies10204040
OSPF Routes Redistributed2000500020,00020,000
Total Routes20,00050,000250,000250,000

Of interest from the above table it doesn’t list any Load Balancing performance number for the NSX Compact Edge…take that to mean that if you want to do any sort of load balancing you will need NSX Large and above. To finish up, below is a table describing each NSX Edge size use case.

Use Case
NSX Edge (Compact)Small Deployment, POCs and single service use
NSX Edge (Large)Small/Medium DC or mult-tenant
NSX Edge (Quad-Large)High Throughput ECMP or High Performance Firewall
NSX Edge (X-Large)L7 Load Balancing, Dedicated Core

The Quad Large model is suitable for high performance firewall abilities and the X-Large is suitable for both high performance load balancing and routing. You can convert between NSX Edge service gateway sizes upon demand using a non-disruptive upgrade process, so the recommendation is to begin with the Large model and scale up if necessary. A Large NSX Edge service gateway is suitable for medium firewall performance but as detailed later, the NSX Edge service gateway does not perform the majority of firewall functions. References: https://docs.vmware.com/en/VMware-NSX-for-vSphere/6.4/NSX%20for%20vSphere%20Recommended%20Configuration%20Maximums_64.pdf https://docs.vmware.com/en/VMware-Validated-Design/4.2/com.vmware.vvd.sddc-design.doc/GUID-FCEA948E-7F8B-4FF0-857B-12D6E045BF1D.html