VM rightsizing: the VMware edition
On public cloud, a rightsizing mistake costs you money. On post-Broadcom VMware, a rightsizing mistake costs you money AND license capacity. Here's the VMware-specific approach.
Why VMware rightsizing is different
Each vCPU assigned to a VM counts toward Broadcom's core-based licensing. Oversized VMs don't just waste host resources — they waste license purchases. At $135+ per core per year, a cluster with 20% over-allocation is leaking 20% of your licensing budget.
The rightsizing pass
1. Pull 30 days of VM metrics
From vRealize Operations / Aria Operations (or whatever monitoring you have):
- Peak CPU % over 30 days
- Peak memory % over 30 days
- Average CPU Ready %
2. Identify oversized VMs
An oversized VM has:
- Peak CPU < 30% AND
- Peak memory < 30% AND
- CPU Ready < 3%
3. Validate workload type
Before cutting, confirm the VM isn't:
- Bursty (batch jobs, end-of-quarter reports)
- Seasonal (retail site pre-Black-Friday)
- Licensing-locked (some apps require minimum specs)
4. Right-size in staging first
Any VM you touch, change in staging environment first. Soak for 2 weeks. Look for CPU Ready increases, memory ballooning, or unexpected OOMs.
5. Production cuts with rollback plan
One VM at a time. Change tracked in change management. Rollback = revert to prior vMemory/vCPU values in vCenter.
What NOT to do
Don't rightsize during HA stress
If the cluster is at 95% capacity and you cut a VM from 16 to 8 vCPU, you've changed admission control math. Verify HA still passes first.
Don't skip NUMA awareness
VMs that cross NUMA nodes perform worse even with "enough" resources. Prefer vCPU counts that fit within one NUMA node.
Don't rightsize DB VMs without the DBA
DB tuning requires DBA buy-in. Always.
Tools
- VM Rightsizing Tool for per-VM math.
- vCPU Oversubscription Analyzer for cluster health.