AIO System Controller CPU assignment changes
This changes AIO running DC system controller CPU assignment so that all logical cpus spanning all numa nodes are configured as Platform function. This update scopes the change to controller personality. Closes-Bug: 1855920 Depends-On: https://review.opendev.org/#/c/698769/ Signed-off-by: Jim Gauld <james.gauld@windriver.com> Change-Id: I4e55da3049a0e62d82a08e0181a2d50b6ec3a3ce
This commit is contained in:
parent
67bbef1085
commit
1ae7898020
|
@ -2523,7 +2523,8 @@ class ConductorManager(service.PeriodicService):
|
|||
system_type = system.system_type
|
||||
dc_role = system.distributed_cloud_role
|
||||
if (system_type == constants.TIS_AIO_BUILD and
|
||||
dc_role == constants.DISTRIBUTED_CLOUD_ROLE_SYSTEMCONTROLLER):
|
||||
dc_role == constants.DISTRIBUTED_CLOUD_ROLE_SYSTEMCONTROLLER and
|
||||
cutils.host_has_function(ihost, constants.CONTROLLER)):
|
||||
return cpu_count
|
||||
|
||||
# Reserve one full core for worker on numa node 0, and one full core
|
||||
|
|
Loading…
Reference in New Issue