[Starlingx-discuss] How to enable cpu_dedicated_set

Brito, Thiago Thiago.Brito at windriver.com
Tue Dec 7 21:46:00 UTC 2021

Did you do an application-apply after you changed the processors to application-isolated? Can you send the output of the command below for you compute pods:

kubectl exec -n openstack nova-compute-[woker|controller]-X-XXXXX-xxxx -- cat /etc/nova/nova.conf|grep dedicated_set

Don't forget to change the id of the pod for your compute pods.

From: open infra <openinfradn at gmail.com>
Sent: Tuesday, December 7, 2021 5:45 AM
To: Brito, Thiago <Thiago.Brito at windriver.com>
Cc: starlingx-discuss at lists.starlingx.io <starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] How to enable cpu_dedicated_set

[Please note: This e-mail is from an EXTERNAL e-mail address]

Here is the info from STX side

Physical Cores Per Processor
CPU Assignments
Create Cpu Profile<https://urldefense.com/v3/__http://;!!AjveYdw8EvQ!Km5xOEiy_wI3YAmney4OpHhqwjOOCiNhB37qanNSizdNpERIM_eDDRfwAzNuQoVun-HI$>
Processor Logical Cores
Platform        Processor 0 : 0,64
Application     Processor 0 : 17-31,81-95
Processor 1 : 56-63,120-127
Application-isolated    Processor 0 : 1-16,65-80
Processor 1 : 32-55,96-119

On Tue, Dec 7, 2021 at 1:46 PM open infra <openinfradn at gmail.com<mailto:openinfradn at gmail.com>> wrote:
Hi Thiago,

I have configured the worker as mentioned in the given link and dedicated cpu_policy set in the flavor.
Instance creation failed with the following error.

No valid host was found. There are not enough hosts available.

controller-0:~$ openstack flavor show dn.large  -c properties


| Field      | Value                                                                                                  |


| properties | hw:cpu_cores='2', hw:cpu_policy='dedicated', hw:cpu_sockets='1', hw:cpu_threads='2', hw:numa_nodes='1' |




On Tue, Dec 7, 2021 at 1:18 AM Brito, Thiago <Thiago.Brito at windriver.com<mailto:Thiago.Brito at windriver.com>> wrote:
Hi Danishka,

Whatever you configure on the platform as Application-isolated core for a node will get to cpu_dedicated_set on stx-openstack. Please check this doc: https://docs.starlingx.io/r/stx.5.0/admintasks/openstack/configure-dedicated-and-shared-cpu-pools-on-hosts.html<https://urldefense.com/v3/__https://docs.starlingx.io/r/stx.5.0/admintasks/openstack/configure-dedicated-and-shared-cpu-pools-on-hosts.html__;!!AjveYdw8EvQ!Km5xOEiy_wI3YAmney4OpHhqwjOOCiNhB37qanNSizdNpERIM_eDDRfwAzNuQv9j-Hlr$>

From: open infra <openinfradn at gmail.com<mailto:openinfradn at gmail.com>>
Sent: Monday, December 6, 2021 3:15 PM
To: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io> <starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>>
Subject: [Starlingx-discuss] How to enable cpu_dedicated_set

[Please note: This e-mail is from an EXTERNAL e-mail address]


Is the cpu_dedicated_set is already enabled in stx based openstack?
How to verify and enable it?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20211207/71d2d551/attachment-0001.htm>

More information about the Starlingx-discuss mailing list