VMware NSX Advanced Load Balancer publishes minimum and recommended resource requirements for new Avi SEs. However, network and application traffic may vary. This section provides guidance on sizing.
Avi SEs can be configured with a minimum of 1 vCPU core and 1 GB RAM up to a maximum of 64 vCPU cores and 256 GB RAM. In write access mode, Avi SE resources for newly created Avi SEs can be configured within the SE Group properties from the Avi Controller.
CPU
CPU scales very linearly as more cores are added. CPU is a primary factor in SSL handshakes (TPS), throughput, compression, and WAF inspection. For NSX-T Clouds, the default is 1 vCPU cores, not reserved. However, vCPU reservation is highly recommended.
Memory
Memory scales near linearly. It is used for concurrent connections and HTTP caching. Doubling the memory will double the ability of the Avi SE to perform these tasks. For NSX-T Clouds, the default is 2 GB memory, reserved within the hypervisor for NSX-T Clouds.
Packets Per Second (PPS)
For throughput-related metrics, the hypervisor is likely going to be the bottleneck and provides limited PPS for a virtual machine such as Avi SE.
HTTP Requests Per Second (RPS)
HTTP RPS is dependent on the CPU or the PPS limits. It indicates the performance of the CPU and the limit of PPS that the Avi SE can push. On vSphere, Avi SE can provide ~40k RPS per core running on Intel v3 servers. Maximum RPS on an Avi SE VM running on ESXi would be ~160k.
Disk
Avi SEs may store logs locally before they are sent to the Avi Controllers for indexing. Increasing the disk will increase the log retention on the SE. SSDs are highly recommended, as they can write the log data faster. The recommended minimum size for storage is 10 GB, ((2 * RAM) + 5 GB) or 15 GB, whichever is greater. 15 GB is the default for Avi SEs deployed in VMware clouds.
Avi Service Engine Performance Guidelines
The following table provides guidance to size an Avi SE VM with regards to performance:
Metric |
Per core performance |
Maximum performance on a single Avi SE VM |
---|---|---|
Max performance on a single Avi SE VM |
40k |
80k |
HTTP requests per second |
50k |
175k |
HTTP throughput |
5 Gbps |
7 Gbps |
SSL throughput |
1 Gbps |
7 Gbps |
SSL new transactions per second (ECC) |
2000 |
40K |
SSL new transactions per second (RSA 2K) |
750 |
40K |
High availability with active-active scale-out is the preferred way of deploying applications. This can meet any performance requirements.