[Openstack] reservation of CPU cores?

John Griffith john.griffith at solidfire.com
Mon Sep 3 15:02:23 UTC 2012


On Mon, Sep 3, 2012 at 7:57 AM, Alex Glikson <GLIKSON at il.ibm.com> wrote:

> Dear all,
>
> I wonder whether there is an easy way to configure how many cores
> nova-compute is supposed to use (or alternatively refrain from using) for
> provisioning of instances on a certain host, out of the total number of
> cores on that host? E.g., if I know that there are other things running on
> the host, and I want to dedicate some of the CPU capacity to them (such as
> OpenStack services themselves). I am thinking of KVM right now, but the
> general approach is probably platform-independent. Would appreciate your
> insights.
>
> Thanks,
> Alex
>
> P.S. trivial solution is to dedicate entire host(s) to those other
> "things", and assume that nova-compute is running on hosts used *only* to
> run VMs (and that nova-compute itself does not need much CPU cycles). but I
> am looking for a more fine-grained approach.
>
>
> ====================================================================================================
> Alex Glikson
> Manager, Cloud Operating System Technologies, IBM Haifa Research Lab
> http://w3.haifa.ibm.com/dept/stt/cloud_sys.html |
> https://www.research.ibm.com/haifa/dept/stt/cloud_sys.shtml
> Email: glikson at il.ibm.com | Phone: +972-4-8281085 | Mobile:
> +972-54-6466667 | Fax: +972-4-8296112
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
> Hi Alex,

You might have a look at the max_cores setting in your nova.conf file.  I
think this will do what you have in mind.  You can find some documentation
on it here:
http://docs.openstack.org/essex/openstack-compute/admin/content/compute-options-reference.html<http://docs.openstack.org/trunk/openstack-compute/admin/content/compute-options-reference.html>

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120903/e7eb2c02/attachment.html>


More information about the Openstack mailing list