Use this when designing how important workloads keep performance during contention.
QoS
Virtualization QoS combines shares, reservations and limits for CPU, memory, storage and network so important workloads keep performance when resources are contended, and noisy neighbours are contained.
1. QoS guarantees and limits resources for classes of VMs.
2. Storage QoS, network QoS, CPU/memory shares.
3. Define policies by tier.
4. Measure before and after.
5. Avoid one-off tweaks.
policy → per-VM enforcement → shared resource
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
- QoS set but no contention ever, so it adds complexity without benefit.
- Limits too low that slow VMs constantly.
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.
- Test policies under real contention before relying on them.
Get-StorageQosFlow— Hyper-V storage QoS flowstc -s qdisc— Linux QoSGet-VMNetworkAdapter <vm> | fl BandwidthSetting— network QoS
ReferenceWhy it matters1 section · depth on demand
QoS per resource
| Resource | vSphere | Hyper-V | Proxmox/KVM |
|---|---|---|---|
| CPU | Shares, reservations, limits | VM processor weight, limit, reserve | cpuunits, cpulimit |
| Memory | Shares, reservations | Dynamic Memory weight | Balloon shares |
| Storage | SIOC, IOPS limits | Storage QoS | bwlimit/iops per disk |
| Network | NIOC, traffic shaping | Bandwidth management | rate per vNIC |
QoS only helps under contention; measure contention first (ready time, latency, drops).
ReferenceImportant terms & boundaries2 sections · depth on demand
Storage and network QoS tools
| Platform | Storage | Network |
|---|---|---|
| vSphere | SIOC, IOPS limits | NIOC |
| Hyper-V | Storage QoS policies | Bandwidth weight/maximum |
| Proxmox | Disk IOPS/MB/s limits | NIC rate limit |
In depth
QoS in virtualization protects important traffic and I/O on shared resources:
| Domain | Mechanism |
|---|---|
| Storage | vSphere SIOC, Hyper-V Storage QoS policies (min/max IOPS per VM or tenant), QEMU throttling |
| Network | vDS NIOC, Hyper-V minimum bandwidth (weight/absolute), DCB/802.1p on uplinks |
| CPU/memory | Shares, reservations, limits |
New-StorageQosPolicy -Name Gold -MinimumIops 500 -MaximumIops 5000 -PolicyType Dedicated
Get-StorageQosFlow | Sort-Object InitiatorIOPS -Descending | Select -First 10
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 Resource Management → QoS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/html/libvirt-libvirt-domain.html · confidence 94%