Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

CPU Topology

Direct answer

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.

When to use this

Use it when choosing sockets/cores/threads layout or explaining why equal vCPU totals can behave differently at the guest/application layer.

First 30 seconds

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.

Operational verification

config → virtual topology → guest scheduler

Evidence · next step

Compare host NUMA/scheduler evidence and test the workload.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

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.

Platform / version applicability
virtualization-hardware
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-hardware
Scope / prerequisiteUse it when choosing sockets/cores/threads layout or explaining why equal vCPU totals can behave differently at the gue…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • lscpu -e — guest CPU, core, socket, node map
  • numactl -H — guest NUMA layout
  • virsh 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-hardware current

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%
Terminology layer

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.

Aliases that resolve here
cpu topology vmvirtual cpu topologysockets cores threads
Embedded reference data

Quick lookup tables

VM Hardware → vCPU → CPU Topology reference map

Fast VM-hardware boundaries for VM Hardware → vCPU → CPU Topology.

BoundaryMeaningEvidence limit
SocketsPackage groupingGuest-visible
CoresCore groupingGuest-visible
ThreadsLogical processors per coreMay be synthetic
Physical topologyHost packages/cores/SMT/NUMAMust be observed separately
Confirmation

Confirm action

Continue?