Use it when guest topology, software licensing or performance analysis distinguishes cores from logical threads.
Threads
Virtual threads describe the guest-visible relationship between logical processors and virtual cores. They are topology information and do not guarantee a direct mapping to host SMT sibling threads.
1. Threads per core exposes SMT to the guest.
2. Useful only when vCPUs are pinned to sibling threads.
3. Hyper-threads are not full cores — size accordingly.
4. SMT may be disabled for security.
5. Check host SMT state.
host SMT → guest threads → scheduler
Inspect host scheduler placement and benchmark the representative workload.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show mapping to host SMT siblings or a particular performance benefit.
Next check: Inspect host scheduler placement and benchmark the representative 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
thread topology config → guest CPUID/topology → guest scheduler → hypervisor scheduler → host execution
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.
- Virtual thread topology can differ from host SMT topology.
- Two guest threads in one virtual core are not proof they run on physical SMT siblings.
- SMT exposure and scheduling policy are platform-dependent.
- Total guest logical processors remain the primary execution count seen by the guest scheduler.
lscpu | grep Thread— threads per core in guestvirsh capabilities | grep -A5 topology— host SMTcat /sys/devices/system/cpu/smt/active— host SMT active
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
Guest thread enumeration shows the advertised logical topology, not physical sibling placement or SMT performance characteristics.
CPU scheduler placement and host SMT behavior belong to CPU Virtualization.
and state what the evidence does not show.
In depth
Threads per core expose SMT (hyper-threading) siblings to the guest. Most hypervisors present 1 thread per core by default; exposing SMT topology (threads=2) can help guest schedulers on pinned, latency-sensitive VMs where vCPUs map exactly to host sibling threads.
A host thread is not a full core: two busy siblings share one core's execution units, typically yielding 15–30 % more than one thread, not 100 %. Count physical cores, not threads, when sizing CPU-heavy workloads.
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 → Threads. 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 → Threads reference map
Fast VM-hardware boundaries for VM Hardware → vCPU → Threads.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Guest thread | Logical processor relationship | Topology presentation |
| Host SMT thread | Physical logical processor | Separate placement question |
| CPUID topology | Advertises hierarchy | Can be virtualized |
| Performance | Workload dependent | Must be measured |