[nova]host cpu reserve

Nguyễn Hữu Khôi nguyenhuukhoinw at gmail.com
Thu Mar 23 12:55:52 UTC 2023


Thank both of you much.
I am using cpu allocation ratio but I dont understand how host cpu can work
if all vm using 100% cpu. Vmware have cpu and ram reserve for host.

On Thu, Mar 23, 2023, 7:44 PM Dmitriy Rabotyagov <noonedeadpunk at gmail.com>
wrote:

> Forget my reply, Sean's proposal is way better and the correct one.
>
> чт, 23 мар. 2023 г., 13:35 Dmitriy Rabotyagov <noonedeadpunk at gmail.com>:
>
>> Hey,
>>
>> It's a config option for nova-compute:
>>
>> https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.reserved_host_cpus
>>
>> Also related ones are regarding ram and disk.
>>
>> You might also find a good idea to apply a cgroups rule to ensure you
>> _really_ have CPU reserved, like this:
>> https://gist.github.com/noonedeadpunk/a4e691e64da031084c071b554a5b40cd
>>
>>
>>
>> чт, 23 мар. 2023 г., 08:48 Nguyễn Hữu Khôi <nguyenhuukhoinw at gmail.com>:
>>
>>> Hello guys.
>>> I am trying google for nova host cpu reserve to prevent host overload
>>> but I cannot find any resource about it. Could you give me some information?
>>> Thanks.
>>> Nguyen Huu Khoi
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230323/0533855f/attachment.htm>


More information about the openstack-discuss mailing list