diff --git a/environments/compute-real-time-example.yaml b/environments/compute-real-time-example.yaml index 4861b0cbbb..c472926018 100644 --- a/environments/compute-real-time-example.yaml +++ b/environments/compute-real-time-example.yaml @@ -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. diff --git a/roles/ComputeRealTime.yaml b/roles/ComputeRealTime.yaml index 96762b81d1..ddc95d348a 100644 --- a/roles/ComputeRealTime.yaml +++ b/roles/ComputeRealTime.yaml @@ -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: