Avi Controller Sizing
During deployment of an Avi Controller, the system capacity of the Avi Controller can be specified based on allocations of the following system resources:
- Memory (RAM)
The amount of these resources allocated to an Avi Controller have a direct impact on its performance.
The following table lists recommended allocations for each type of deployment:
|Deployment Type||Node Count||Recommended Allocations|
|Demo / Customer Eval||1||8||24 GB||64 GB|
|Production||3||See the following:
In demo(nstration) and customer evaluation deployments, a single Avi Controller is adequate and is used for all control-plane activities and workflows, as well as analytics.
In a production deployment, a 3-node cluster is recommended. In a 3-node Avi Controller cluster, 1 Avi Controller is designed as the leader Avi Controller and is used for control-plane activities and workflows. The other 2 Avi Controllers are followers. The follower Avi Controller nodes are used for analytics, and also provide backup in case the leader Avi Controller fails.
The following sections provide specific allocation recommendations. The recommendations are designed to fit most use cases, but might not fit every conceivable deployment scenario.
CPU / Memory Allocations
Avi Vantage uses the allocations of CPU and memory as follows:
|CPU/Memory Allocation||8 CPUs / 24 GB||16 CPUs / 32 GB||24 CPUs / 48 GB|
|Base processes||15 GB||20 GB||24 GB|
|Log analytics||9 GB||13 GB||24 GB|
|Virtual Service Scale||0-200||200-1000||1000-5000|
|Avi Service Engine (SE) Scale||0-100||100-200||200-250|
The Avi Controller’s base processes include dynamic processes and metrics collection and processing. The allocations shown here are based on assumptions of no more than 10 percent disk swapping and 25 percent disk margin.
Disk Capacity Allocation
The amount of disk capacity to allocate to an Avi Controller can be calculated based either on the amount of disk capacity available or the number of virtual services to support. The following tables show recommended allocations based on each approach.
Disk Allocation Based on Available Disk Capacity
The disk space allocated to an Avi Controller that is not used for base processes or analytics is used as follows:
- Logs: 70 percent of the disk is not used for base processes or analytics
- Metrics: the other 30 percent is not used for base processes or analytics
|Disk Allocation based on Disk Space||128 GB||256 GB||512 GB||1 TB|
|Log analytics (70%)||56 GB||144 GB||328 GB||672 GB|
|Metrics (30%)||24 GB||64 GB||128 GB||288 GB|
|Base Processes||48 GB||48 GB||56 GB||64 GB|
Disk drive quality impacts analytics performance and size:
- Traffic logs are deleted as the disk drive fills up.
- Metrics tables are deleted based on the archival scheme:
- Realtime: deleted after 1 hour
- 5-minute intervals: deleted after 1 day
- 1-hour intervals: deleted after 1 week
- 1-day intervals: deleted after 1 year
If the drive fills up, then current metrics tables are deleted to make room for new data.
Disk Allocation Based on Number of Virtual Services
|Disk allocation based on VS count||Log analytics without full logs||Log analytics with full logs||Metrics||Base processes||Total (without full logs)|
|100 VS||16 GB||128 GB||16 GB||48 GB||80 GB|
(100k transactions / year)
|128 GB||1 TB||32 GB||56 GB||216 GB|
|5,000 VS||512 GB||Not sptd||160 GB||64 GB||736 GB|
Assumptions and Sizing Data
The size recommendations shown in the table are based on the following operational assumptions:
- DDoS attacks are less than 1 percent of the traffic.
- Significant logs are no more than 10 percent of total logs. (This means 90 percent of the transactions are good and result only in non-significant logs.)
- Log analytics require about 10 kB disk space per log entry, i.e., 10 GB of disk space for 1 million log entries.
- Metrics and other analytics processing requires about 32 MB per virtual service. Client insights require additional drive capacity.
Note: A transaction is a single TCP or UDP connection (layer 4), or a single request-response exchange (layer 7). Traffic volume of 100,000 transactions per year is probably low for an e-commerce site but is applicable to most other types of applications.
Updated: 2018-01-20 12:43:07 +0000