Use it when choosing sockets/cores/threads layout or explaining why equal vCPU totals can behave differently at the guest/application layer.
CPU Topology
VM CPU topology combines total vCPU count with hierarchy information. It influences guest scheduling, NUMA presentation, licensing and some application behavior, while remaining distinct from physical host topology.
1. CPU topology = sockets, cores, threads and NUMA nodes seen by the guest.
2. Wrong topology can hurt scheduling and licensing.
3. Large VMs need vNUMA.
4. Changes need reboot.
5. Verify in guest.
config → virtual topology → guest scheduler
Compare host NUMA/scheduler evidence and test the workload.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show optimal host placement, NUMA locality or application scaling.
Next check: Compare host NUMA/scheduler evidence and test the workload.
and state what the evidence does not show.
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 Verification path Verify boundary
topology config → virtual CPU descriptors/CPUID → guest scheduler/NUMA view → application → workload
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.
- Topology has both count and hierarchy.
- Guest topology can be synthetic and need not mirror the host.
- Large VMs should be evaluated with NUMA locality in mind.
- Topology changes can affect software behavior even when CPU capacity is unchanged.
lscpu -e— guest CPU, core, socket, node mapnumactl -H— guest NUMA layoutvirsh capabilities— host topology
ReferenceHow it works1 section · depth on demand
How it works
How it works: vCPU execution depends on guest runnable state, hypervisor scheduling, physical CPU availability, NUMA locality and contention/steal or ready time.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Correct guest topology shows presentation, not physical placement, NUMA locality or performance.
Deep NUMA/vNUMA and scheduling behavior belongs to CPU Virtualization.
and state what the evidence does not show.
In depth
CPU topology (sockets/cores/threads and the NUMA mapping) influences guest scheduling, licensing and memory locality.
lscpu # inside guest: Socket(s), Core(s) per socket, NUMA node(s)
Get-CimInstance Win32_Processor | Select NumberOfCores,NumberOfLogicalProcessors
qm set 120 --sockets 1 --cores 8 --numa 1
Keep it simple and consistent: the same topology for VMs of the same role makes performance comparable and licensing auditable.
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 VM Hardware → vCPU → CPU Topology. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
VM Hardware → vCPU → CPU Topology reference map
Fast VM-hardware boundaries for VM Hardware → vCPU → CPU Topology.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Sockets | Package grouping | Guest-visible |
| Cores | Core grouping | Guest-visible |
| Threads | Logical processors per core | May be synthetic |
| Physical topology | Host packages/cores/SMT/NUMA | Must be observed separately |