Skip to content

Commit b9c48af

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Docs: correct cpu_thread_policy explanation"
2 parents 6517c56 + 3cb1215 commit b9c48af

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

doc/source/user/flavors.rst

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -475,16 +475,13 @@ CPU pinning policy
475475
- ``prefer``: (default) The host may or may not have an SMT architecture.
476476
Where an SMT architecture is present, thread siblings are preferred.
477477
- ``isolate``: The host must not have an SMT architecture or must emulate a
478-
non-SMT architecture. If the host does not have an SMT architecture, each
479-
vCPU is placed on a different core as expected. If the host does have an
480-
SMT architecture - that is, one or more cores have thread siblings - then
481-
each vCPU is placed on a different physical core. No vCPUs from other
482-
guests are placed on the same core. All but one thread sibling on each
483-
utilized core is therefore guaranteed to be unusable.
484-
- ``require``: The host must have an SMT architecture. Each vCPU is allocated
485-
on thread siblings. If the host does not have an SMT architecture, then it
486-
is not used. If the host has an SMT architecture, but not enough cores with
487-
free thread siblings are available, then scheduling fails.
478+
non-SMT architecture. Hosts that support SMT (by reporting the
479+
``HW_CPU_HYPERTHREADING`` trait) are excluded.
480+
- ``require``: The host must have an SMT architecture and must report the
481+
``HW_CPU_HYPERTHREADING`` trait. Each vCPU is allocated on thread siblings.
482+
If the host does not have an SMT architecture, then it is not used. If the
483+
host has an SMT architecture, but not enough cores with free thread
484+
siblings are available, then scheduling fails.
488485

489486
.. note::
490487

0 commit comments

Comments
 (0)