[Starlingx-discuss] Enabling CPU Manager

Dharwadkar, Sriram Sriram.Dharwadkar at commscope.com
Thu Oct 15 06:46:45 UTC 2020


Hi Austin,

Thanks for your reply.
I was able to configure CPU Manager and test it.


Regards,
Sriram

From: Sun, Austin <austin.sun at intel.com>
Sent: Wednesday, October 14, 2020 6:52 AM
To: Dharwadkar, Sriram <Sriram.Dharwadkar at commscope.com>; starlingx-discuss at lists.starlingx.io
Subject: RE: Enabling CPU Manager

Hi Sriram: You can check [1] and [2] . I think current implement is using host label (kube-cpu-mgr-policy) to enable this feature gate [1] https://storyboard.openstack.org/#!/story/2006565 [2] https:/
External (austin.sun at intel.com<mailto:austin.sun at intel.com>)
Report This Email<https://shared.outlook.inky.com/report?id=Y29tbXNjb3BlL3NyaXJhbS5kaGFyd2Fka2FyQGNvbW1zY29wZS5jb20vNjA4ZDdjYjBjZDA5MWY5OGZmMDAwZjkxNTJlN2M3NWIvMTYwMjYzODU0Mi41Ng==#key=e6c8140ebc065e8e5b8da3eeeb33a109>  FAQ<https://www.inky.com/banner-faq/>  Protection by INKY<https://www.inky.com>

Hi Sriram:
You can check [1] and [2] . I think current implement is using host label (kube-cpu-mgr-policy)  to enable this feature gate


[1] https://storyboard.openstack.org/#!/story/2006565<https://secure-web.cisco.com/15sefPQPEcJzD0iXIlEyNZT2eBPhTkwAAA0dSCVeFt5mGYF4f0OKyVyl9SYOQ219RxU8RL1hka04KQm3T6ZosbbRRX8OTFL3D_2f3o5ifidJLdL6eALY0d6h-c9GE4WqOgxm6GNAAzxjxThP0Zwc7bmTCKNJr_MFGLkzyVniJWoHt3H70PjQwbBIJCHWUt81LosvV_HXYn5VUgd66t56vGaSqsSoUfBKQ6E6kOaNUMkeH3lhJTwDEmbM4CE8aXU-I0JwVvWIzGj0LZ80ZQaFlVnsyjemRD_J00nvvYTnFFxQrYqPuAG_FwiOTTjhXa9jN/https%3A%2F%2Fstoryboard.openstack.org%2F%23%21%2Fstory%2F2006565>
[2] https://review.opendev.org/#/c/689609/<https://secure-web.cisco.com/1lg6bRclhOnIuCTNXqNNzu5HP7NvWj2JZPINvpVVylnyzyNA-CbH6KjbZvUprRemh2059BfLmav4DEsLWrhX1xkLPib6yuJMy5pQVaTwcVOmaB574W6rx9e37k3PjnkUWUmS1C9CC5qhVFXwvnd6fUj-h5CuKDS4m4--h9bgBavxdJIoSc4YNIdUcErJ8sVhbkTPyfx9hHab7AibQDGuGz6Wzr0gmb1HbyKG2GuEKnB7YJMGymnQiFck4g2c7ffpQeRQCxd2UILUn9husb4t8FVR4agZ1rKP9Zurf-l0LZi1L_ebRWrHel66slqlTq8m1/https%3A%2F%2Freview.opendev.org%2F%23%2Fc%2F689609%2F>

Thanks.
BR
Austin Sun.

From: Dharwadkar, Sriram <Sriram.Dharwadkar at commscope.com<mailto:Sriram.Dharwadkar at commscope.com>>
Sent: Wednesday, October 14, 2020 2:26 AM
To: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: [Starlingx-discuss] Enabling CPU Manager

Hi,

I have installed StarlingX edge cloud with version 4.0 with one controller + 2 worker nodes.
In this setup, how to enable CPU Manager, so that dedicated cpu's can be assigned to containers.

I modified the file /var/lib/kubelet/config.yaml, to have below contents and rebooted the worker node
featureGates:
  CPUManager: true
cpuManagerPolicy: static
cpuManagerReconcilePeriod: 5s
systemReserved:
   cpu: 2000m
kubeReserved:
   cpu: 2000m

It has not taken effect. Any suggestions to enable CPU Manage ? Looks like documentation for this is not ready.

Regards,
Sriram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20201015/92fd296c/attachment-0001.html>


More information about the Starlingx-discuss mailing list