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.<div><br></div><div>I'm wondering if this addition to Folsom will provide similar functionality - <a href="https://blueprints.launchpad.net/nova/+spec/libvirt-xml-cpu-model">https://blueprints.launchpad.net/nova/+spec/libvirt-xml-cpu-model</a>. I need to look at the blueprint and commits in further detail.</div>

<div><br></div><div>Hunter<br><br><div class="gmail_quote">On Mon, Sep 3, 2012 at 11:02 PM, John Griffith <span dir="ltr"><<a href="mailto:john.griffith@solidfire.com" target="_blank">john.griffith@solidfire.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Sep 3, 2012 at 7:57 AM, Alex Glikson <span dir="ltr"><<a href="mailto:GLIKSON@il.ibm.com" target="_blank">GLIKSON@il.ibm.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<font face="sans-serif">Dear all,</font>
<br>
<br><font face="sans-serif">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.</font>
<br>
<br><font face="sans-serif">Thanks,</font>
<br><font face="sans-serif">Alex<br>
</font>
<br><font face="sans-serif">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.</font>
<br><font face="sans-serif"><br>
====================================================================================================<span><font color="#888888"><br>
Alex Glikson<br>
Manager, Cloud Operating System Technologies, IBM Haifa Research Lab<br>
</font></span></font><span><font color="#888888"><a href="http://w3.haifa.ibm.com/dept/stt/cloud_sys.html" target="_blank"><font face="sans-serif">http://w3.haifa.ibm.com/dept/stt/cloud_sys.html</font></a><font face="sans-serif">
| </font><a href="https://www.research.ibm.com/haifa/dept/stt/cloud_sys.shtml" target="_blank"><font face="sans-serif">https://www.research.ibm.com/haifa/dept/stt/cloud_sys.shtml</font></a><font face="sans-serif">
<br>
Email: <a href="mailto:glikson@il.ibm.com" target="_blank">glikson@il.ibm.com</a> | Phone: <a href="tel:%2B972-4-8281085" value="+97248281085" target="_blank">+972-4-8281085</a> | Mobile: <a href="tel:%2B972-54-6466667" value="+972546466667" target="_blank">+972-54-6466667</a>
| Fax: <a href="tel:%2B972-4-8296112" value="+97248296112" target="_blank">+972-4-8296112</a><br>
</font></font></span><br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div>Hi Alex,<div><br></div><div>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:</div><div>


<a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/compute-options-reference.html" target="_blank">http://docs.openstack.org/essex/openstack-compute/admin/content/compute-options-reference.html</a></div>

<span class="HOEnZb"><font color="#888888"><div><br></div>
<div>John</div>
</font></span><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><small style="font-family:Helvetica;background-color:rgb(255,255,255)">Senior Director of Development<br></small><div><small style="font-family:Helvetica;background-color:rgb(255,255,255)">Morphlabs | +65 8322 5946 | Skype: hunter_nield | <a href="http://www.morphlabs.com/" target="_blank">www.morphlabs.com</a></small></div>

<br>
</div>