diff --git a/puppet-manifests/src/modules/platform/manifests/dcmanager.pp b/puppet-manifests/src/modules/platform/manifests/dcmanager.pp index 3660ee8aa..1a93c34d9 100644 --- a/puppet-manifests/src/modules/platform/manifests/dcmanager.pp +++ b/puppet-manifests/src/modules/platform/manifests/dcmanager.pp @@ -115,10 +115,22 @@ class platform::dcmanager # Batch operations require extremely parallel cpu intensive usage # of both these cgroups. The dc services currently inherit the # sm.service cgroup; the sm.service override is generated by sm.pp. + # We do not want to affect software API performance. # We also remove the settings for services: pmon, sysinv-agent, - # collectd, fm-api, sm-api. There is no reason to limit their - # CPUShares on systemcontroller. - $service_names = [ 'pmon', 'ssh', 'sysinv-agent', 'collectd', 'fm-api', 'sm-api' ] + # collectd, fm-api, sm-api, software-controller-daemon, + # software, sw-patch-controller-daemon. + # There is no reason to limit their CPUShares on systemcontroller. + $service_names = [ + 'pmon', + 'ssh', + 'sysinv-agent', + 'collectd', + 'fm-api', + 'sm-api', + 'software-controller-daemon', + 'software', + 'sw-patch-controller-daemon' + ] $services = $service_names.map |$var| { "${var}.service" } $services_string = join($services, ' ') $dirs = $service_names.map |$var| { "/etc/systemd/system/${var}.service.d" }