<div dir="ltr">Hi Steven,<div><br></div><div class="gmail_extra"><div class="gmail_quote">On Sat, Oct 11, 2014 at 6:05 AM, Steven C Timm <span dir="ltr"><<a href="mailto:timm@fnal.gov" target="_blank">timm@fnal.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">During most of the time we have been running OpenNebula 2 and 3 we have been using a 
<div>rank based on FREEMEMORY.  We are now doing tests using OpenNebula 4.8, in a use case</div>
<div>where we are filling up an empty cloud.  FREEMEMORY still in theory should be an accurate value</div></div></div></blockquote><div><br></div><div><div>FREEMEMORY hasn't been a Host attribute for a few versions. I can't remember exactly when it was removed, but it is not part of the host now.</div><div><br></div><div>The predefined variables you can use in the rank or requirements are [1]:</div><div><br></div><div><div>NAME</div><div>MAX_CPU</div><div>MAX_MEM</div><div>FREE_MEM</div><div>FREE_CPU</div><div>USED_MEM</div><div>USED_CPU</div><div>HYPERVISOR</div></div></div><div><br></div><div>By the way, I see this list is buried too deep in the docs, so I'll try to move it to a new section and explain each attribute.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="direction:ltr;font-family:Tahoma;color:rgb(0,0,0);font-size:10pt">
<div>but the problem is that 6-7 VM's are typically being launched on every SCHED cycle and so a </div>
<div>node that starts out with all of its memory free will end up full of virtual machines in a single cycle.</div>
<div><br>
</div>
<div>Once we got to a full cloud and steady-state it would be fine but when you have 8 VM's </div>
<div>starting at once on an old 8-core node, it takes much longer than it otherwise would.</div>
<div><br>
</div>
<div>Any cheap suggestions to get the default scheduler to do a more horizontal fill?</div>
<div><br>
</div>
<div>Steve Timm</div></div></div></blockquote><div><br></div><div>In /etc/one/sched.conf [2] you can set MAX_HOST to 1. This forces the scheduler to launch one VM to each host per cycle. Combined with the SCHED_INTERVAL, you can configure a slower deployment rate.</div><div><br></div><div>Best regards,</div><div>Carlos.</div><div><br></div><div><div dir="ltr">[1] <a href="http://docs.opennebula.org/4.8/user/references/template.html#requirement-expression-syntax">http://docs.opennebula.org/4.8/user/references/template.html#requirement-expression-syntax</a></div><div dir="ltr">[2] <a href="http://docs.opennebula.org/4.8/administration/references/schg.html">http://docs.opennebula.org/4.8/administration/references/schg.html</a><br>--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.opennebula.org/" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div></div></div></div><div> </div></div><br></div></div>