Use this when setting utilization targets that leave room for peaks, maintenance and host failure.
Headroom
Headroom is the unused capacity kept on hosts and storage for peaks, maintenance and failover — for example a target of 70–80 % utilization — so normal spikes and a host outage do not cause contention.
1. Headroom = spare capacity for spikes, maintenance and growth.
2. Keep e.g. 20–30 %.
3. Maintenance needs one host free.
4. Measure at peak.
5. Alert when headroom shrinks.
capacity − peak use → headroom
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Spending headroom on new VMs and losing failover capacity.
- No alert when headroom drops below target.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Headroom is for failover and spikes, not waste.
- Memory headroom matters most.
- Measure against peaks.
free -h; df -h— free resourcespvesh get /cluster/resources— cluster usageesxtop— contention
ReferenceWhy it matters1 section · depth on demand
How much headroom
- Compute: enough to absorb one host failure plus normal peaks (often 20–30 % per host in small clusters).
- Storage: 15–20 % free on datastores for snapshots, swap files and growth.
- Network: uplinks below ~60–70 % at peak so a link failure does not saturate the rest.
Headroom also allows maintenance (rolling patching) without performance problems.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Headroom is spare capacity kept deliberately for: host failures (N+1/N+2), maintenance (one host evacuated while patching), bursts (month-end processing), and growth between purchase cycles.
A practical rule: keep each cluster below about 75–80 % of its N+1 CPU and memory capacity, and datastores below 80 %. Headroom is not waste — it is what makes HA, maintenance and live migration work without performance incidents.
Guidelines
| Resource | Headroom |
|---|---|
| CPU | 20–30 % at peak |
| Memory | 15–20 % after failover reserve |
| Storage | 20 % free |
| Network | Links below 70 % at 95th percentile |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Capacity Planning → Headroom. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/html/libvirt-libvirt-domain.html · confidence 94%