We ran into the same issue and ended up having to patch in support for per host reserved cores. We've not had a chance to submit a patch for it.
I'm wondering if this addition to Folsom will provide similar functionality - https://blueprints.launchpad.net/nova/+spec/libvirt-xml-cpu-model. I need to look at the blueprint and commits in further detail. Hunter On Mon, Sep 3, 2012 at 11:02 PM, John Griffith <john.griff...@solidfire.com>wrote: > > > On Mon, Sep 3, 2012 at 7:57 AM, Alex Glikson <glik...@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: glik...@il.ibm.com | Phone: +972-4-8281085 | Mobile: >> +972-54-6466667 | Fax: +972-4-8296112 >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~openstack >> Post to : openstack@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 > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp > > -- Senior Director of Development Morphlabs | +65 8322 5946 | Skype: hunter_nield | www.morphlabs.com
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp