Useful image properties in glance - missing hw_cpu_policy and hw_cpu_thread_policy
Bug #1784462 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Matt Riedemann |
Bug Description
- [x] This is a doc addition request.
Added to nova in mitaka:
There are three possible values defined in the spec (and in nova code here):
-------
Release: on 2018-07-27 07:30
SHA: ff77f59bd4376be
Source: https:/
URL: https:/
Changed in glance: | |
assignee: | nobody → Matt Riedemann (mriedem) |
To post a comment you must log in.
The value descriptions are also in the nova flavor extra specs docs:
https:/ /docs.openstack .org/nova/ latest/ user/flavors. html
Valid CPU-THREAD-POLICY values are:
prefer: (default) The host may or may not have an SMT architecture. Where an SMT architecture is present, thread siblings are preferred.
isolate: The host must not have an SMT architecture or must emulate a non-SMT architecture. If the host does not have an SMT architecture, each vCPU is placed on a different core as expected. If the host does have an SMT architecture - that is, one or more cores have thread siblings - then each vCPU is placed on a different physical core. No vCPUs from other guests are placed on the same core. All but one thread sibling on each utilized core is therefore guaranteed to be unusable.
require: The host must have an SMT architecture. Each vCPU is allocated on thread siblings. If the host does not have an SMT architecture, then it is not used. If the host has an SMT architecture, but not enough cores with free thread siblings are available, then scheduling fails.