roles: Remove use of NovaVcpuPinSet from ComputeRealTime

This has been deprecated and replaced by 'NovaComputeCpuDedicatedSet'
and 'NovaComputeCpuSharedSet', as seen in change
Ibba4273526392985ede6da2ef3fec66a61407777. Update the ComputeRealTime
role to reflect this.

Change-Id: I52c52b62f1c21214b98c98773c8647609cb81d52
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Closes-Bug: #1860009
This commit is contained in:
Stephen Finucane 2020-01-16 16:11:39 +00:00
parent d2c3e098c7
commit d91a99af32
2 changed files with 16 additions and 11 deletions

View File

@ -1,9 +1,9 @@
# A Heat environment that can be used to deploy a real-time compute node
# Deploying a real-time compute node requires enabling hugepages for the
# overcloud nodes, which is done by default for the ComputeRealTime role.
# However, the CPU pinnings (IsolCpusList and NovaVcpuPinSet) need to be set in
# an environment file like this, according to the hardware used for the
# real-time compute nodes.
# However, the CPU pinnings (IsolCpusList and NovaComputeCpuDedicatedSet)
# need to be set in an environment file like this, according to the hardware
# used for the real-time compute nodes.
# Also the hugepages parameters in KernelArgs should be set accordingly
# the memory of the real-time compute nodes.
# It's also possible to overwrite the default values for other parameters like
@ -18,11 +18,15 @@ parameter_defaults:
## Host configuration Parameters
## You must change these values accordingly to your hardware
IsolCpusList: "2,3" # Logical CPUs list to be isolated from the host process (applied via cpu-partitioning tuned).
# It is mandatory to provide isolated cpus for tuned to achieve optimal performance.
# Example: "3-8,12-15,18"
NovaVcpuPinSet: "2,3" # Cores to pin Nova instances to. For maximum performance, select cores
# on the same NUMA node(s) selected for previous settings.
IsolCpusList: "1-3,5-7" # Logical CPUs list to be isolated from the host process
# (applied via cpu-partitioning tuned).
# It is mandatory to provide isolated cpus for tuned to
# achieve optimal performance.
# Example: "3-8,12-15,18"
NovaComputeCpuDedicatedSet: "1-3,5-7" # Cores to pin Nova instances to. For maximum
# performance, select cores on the same NUMA node(s)
# selected for previous settings.
NovaComputeCpuSharedSet: "0,4" # Cores to pin emulator threads to.
## Space separated kernel args to configure hugepage. Deploying real-time
## requires enabling hugepages for the overcloud compute nodes.

View File

@ -19,9 +19,10 @@
ImageDefault: overcloud-realtime-compute
RoleParametersDefault:
TunedProfileName: "realtime-virtual-host"
KernelArgs: "" # these must be set in an environment file or similar
IsolCpusList: "" # according to the hardware of real-time nodes
NovaVcpuPinSet: "" #
KernelArgs: "" # these must be set in an environment file or
IsolCpusList: "" # similar according to the hardware of
NovaComputeCpuDedicatedSet: "" # real-time nodes
NovaComputeCpuSharedSet: "" #
NovaLibvirtMemStatsPeriodSeconds: 0
update_serial: 25
ServicesDefault: