[Openstack] Setting resource limits for a VM

Stéphane Locatelli s.locatelli+openstack at hexanet.fr
Thu Sep 17 14:49:40 UTC 2015


Extract from the doc:

cpu_shares

The optional shares element specifies the proportional weighted share
for the domain. If this is omitted, it defaults to the OS provided
defaults. NB, There is no unit for the value, it's a relative measure
based on the setting of other VM, e.g. A VM configured with value 2048
will get twice as much CPU time as a VM configured with value 1024.
Since 0.9.0

2015-09-17 16:38 GMT+02:00 Narayanan, Krishnaprasad <narayana at uni-mainz.de>:
> Hi,
>
> Thanks for the reply. This page provides information about setting the CPU quota / period in micro seconds. Is there a possibility to define the CPU share in % ?
>
> Regards,
> Krishnaprasad
>
> -----Original Message-----
> From: Stéphane Locatelli [mailto:s.locatelli at hexanet.fr]
> Sent: Donnerstag, 17. September 2015 14:06
> To: Narayanan, Krishnaprasad <narayana at uni-mainz.de>
> Cc: openstack at lists.openstack.org
> Subject: Re: [Openstack] Setting resource limits for a VM
>
> Hello,
>
> You can find useful information here:
> https://wiki.openstack.org/wiki/InstanceResourceQuota
>
> 2015-09-17 13:38 GMT+02:00 Narayanan, Krishnaprasad <narayana at uni-mainz.de>:
>> Hello all,
>>
>>
>>
>> In our testbed, we use an OpenStack setup based on Havana. Using
>> Horizon or Nova CLI, is it possible to define resource limits during
>> the creation of a VM? The resource limits refer to CPU usage, CPU
>> time, disk I/O bytes, disk IOPS and network bandwidth.
>>
>>
>>
>> If yes, may I know the procedure to setup the resource limit for a VM?
>>
>>
>>
>> Regards,
>>
>> Krishnaprasad
>>
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>
> --
>

-- 





More information about the Openstack mailing list