Merge "Improve documentation for 'NovaComputeCpuSharedSet' parameter"

This commit is contained in:
Zuul 2020-01-21 23:21:00 +00:00 committed by Gerrit Code Review
commit 62646b0485
1 changed files with 20 additions and 4 deletions

View File

@ -148,10 +148,26 @@ parameters:
tags:
- role_specific
NovaComputeCpuSharedSet:
description: >
A list or range of host CPU cores to which emulator threads can be scheduled,
if NovaVcpuPinSet is set, or to which both emulator threads and processes for
unpinned instance CPUs (VCPUs) can be scheduled, if NovaVcpuPinSet is unset.
description: |
The behavior of this option depends on the deprecated `NovaVcpuPinSet` option:
* `NovaVcpuPinSet` is not set: `NovaComputeCpuSharedSet` is set to a
comma-separated list or range of physical host CPU numbers used to:
- provide vCPU inventory
- determine the host CPUs that unpinned instances can be scheduled to
- determine the host CPUS that instance emulator threads should be
offloaded to for instances configured with the share emulator thread
policy, `hw:emulator_threads_policy=share`
* `NovaVcpuPinSet` is set: `NovaComputeCpuSharedSet` is set to a list or
range of host CPU cores used to determine the host CPUs that instance
emulator threads should be offloaded to for instances configured with
the share emulator thread policy (`hw:emulator_threads_policy=share`).
In this case, `NovaVcpuPinSet` is used to provide vCPU inventory and to
determine the host CPUs that both pinned and unpinned instances can be
scheduled to.
Ex. NovaComputeCpuSharedSet: [4-12,^8,15] will reserve cores from 4-12
and 15, excluding 8.
type: comma_delimited_list