<font size=2 face="sans-serif">You can consider having a separate host
aggregate for Hadoop, and use a combination of AggregateInstanceExtraSpecFilter
(with a special flavor mapped to this host aggregate) and AggregateCoreFilter
(overriding cpu_allocation_ratio for this host aggregate to be 1).</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">Alex</font>
<br>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">John Garbutt <john@johngarbutt.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">"OpenStack Development
Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org>,
</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">12/11/2013 04:41 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">Re: [openstack-dev]
[nova] Configure overcommit policy</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>On 11 November 2013 12:04, Alexander Kuznetsov <akuznetsov@mirantis.com>
wrote:<br>
> Hi all,<br>
><br>
> While studying Hadoop performance in a virtual environment, I found
an<br>
> interesting problem with Nova scheduling. In OpenStack cluster, we
have<br>
> overcommit policy, allowing to put on one compute more vms than resources<br>
> available for them. While it might be suitable for general types of<br>
> workload, this is definitely not the case for Hadoop clusters, which
usually<br>
> consume 100% of system resources.<br>
><br>
> Is there any way to tell Nova to schedule specific instances (the
ones which<br>
> consume 100% of system resources) without overcommitting resources
on<br>
> compute node?<br>
<br>
You could have a flavor with "no-overcommit" extra spec, and
modify<br>
the over-commit calculation in the scheduler on that case, but I don't<br>
remember seeing that in there.<br>
<br>
John<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
OpenStack-dev@lists.openstack.org<br>
</font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><tt><font size=2>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></tt></a><tt><font size=2><br>
<br>
</font></tt>
<br>