tripleo-heat-templates/environments/compute-real-time-example.yaml
Stephen Finucane d91a99af32 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
2020-01-16 16:17:04 +00:00

38 lines
2.1 KiB
YAML

# 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 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
# TunedProfileName and ComputeRealTimeImage here.
parameter_defaults:
## Only uncomment this line to overwrite the default image name
#ComputeRealTimeImage: "overcloud-realtime-compute"
ComputeRealTimeParameters:
## Host configuration Parameters
## You must change these values accordingly to your hardware
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.
## Adapt the hugepages according to the memory of the real-time compute nodes.
KernelArgs: "default_hugepagesz=1G hugepagesz=1G hugepages=16"
## Only uncomment these lines to overwrite the defaults
#TunedProfileName: "realtime-virtual-host"