<div dir="ltr"><div>@Oleg, Till now, I'm not sure the target of Gantt, is it for initial placement policy or run time policy or both, can you help clarify?<br><br></div><div>@Henrique, not sure if you know IBM PRS (Platform Resource Scheduler) [1], we have finished the "dynamic scheduler" in our Icehouse version (PRS 2.2), it has exactly the same feature as your described, we are planning a live demo for this feature in Atlanta Summit. I'm also writing some document for run time policy which will cover more run time policies for OpenStack, but not finished yet. (My shame for the slow progress). The related blueprint is [2], you can also get some discussion from [3]<br>
<br>[1] <a href="http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=AN&subtype=CA&htmlfid=897/ENUS213-590&appname=USN">http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=AN&subtype=CA&htmlfid=897/ENUS213-590&appname=USN</a><br>
[2] <a class="" href="https://blueprints.launchpad.net/nova/+spec/resource-optimization-service" rel="nofollow">https://blueprints.launchpad.net/nova/+spec/resource-optimization-service</a></div><div>[3] <a href="http://markmail.org/~jaylau/OpenStack-DRS">http://markmail.org/~jaylau/OpenStack-DRS</a><br>
<br></div>Thanks.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-09 23:21 GMT+08:00 Oleg Gelbukh <span dir="ltr"><<a href="mailto:ogelbukh@mirantis.com" target="_blank">ogelbukh@mirantis.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Henrique,<div><br></div><div>You should check out Gantt project [1], it could be exactly the place to implement such features. It is a generic cross-project Scheduler as a Service forked from Nova recently.</div>


<div><br></div><div>[1] <a href="https://github.com/openstack/gantt" target="_blank">https://github.com/openstack/gantt</a></div><div><br></div><div>--</div><div>Best regards,</div><div>Oleg Gelbukh</div><div>Mirantis Labs</div>
</div><div class="gmail_extra">

<br><br><div class="gmail_quote"><div><div class="h5">On Wed, Apr 9, 2014 at 6:41 PM, Henrique Truta <span dir="ltr"><<a href="mailto:henriquecostatruta@gmail.com" target="_blank">henriquecostatruta@gmail.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">

<div dir="ltr"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;text-align:justify"><span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:13px;text-decoration:none;font-family:Arial;font-weight:normal">Hello, everyone! </span></p>



<br><span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:13px;text-decoration:none;font-family:Arial;font-weight:normal"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;text-align:justify">



<span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:13px;background-color:transparent;text-decoration:none;font-family:Arial;font-weight:normal">I am currently a graduate student and member of a group of contributors to OpenStack. We believe that a dynamic scheduler could improve the efficiency of an OpenStack cloud, either by rebalancing nodes to maximize performance or to minimize the number of active hosts, in order to minimize energy costs. Therefore, we would like to propose a dynamic scheduling mechanism to Nova. The main idea is using the Ceilometer information (e.g. RAM, CPU, disk usage) through the ceilometer-client and dinamically decide whether a instance should be live migrated.</span></p>



<br><span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:13px;text-decoration:none;font-family:Arial;font-weight:normal"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;text-align:justify">



<span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:13px;text-decoration:none;font-family:Arial;font-weight:normal">This might me done as a Nova periodic task, which will be executed every once in a given period or as a new independent project. In both cases, the current Nova scheduler will not be affected, since this new scheduler will be pluggable. We have done a search and found no such initiative in the OpenStack BPs. Outside the community, we found only a recent IBM announcement for a similiar feature in one of its cloud products.</span></p>



<br><span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:13px;text-decoration:none;font-family:Arial;font-weight:normal"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;text-align:justify">



<span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:13px;text-decoration:none;font-family:Arial;font-weight:normal">A possible flow is: In the new scheduler, we periodically make a call to Nova, get the instance list from a specific host and, for each instance, we make a call to the ceilometer-client (e.g. $ ceilometer statistics -m cpu_util -q resource=$INSTANCE_ID) and then, according to some specific parameters configured by the user, analyze the meters and do the proper migrations.</span></p>



<br><span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:13px;text-decoration:none;font-family:Arial;font-weight:normal"></span><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt;text-align:justify">



<span style="vertical-align:baseline;font-variant:normal;font-style:normal;font-size:13px;text-decoration:none;font-family:Arial;font-weight:normal">Do you have any comments or suggestions?</span><br clear="all">
</p><br><div dir="ltr"><font color="#999999">--<br>Ítalo Henrique Costa Truta<br><br></font><br></div>
</div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>Thanks,<br><br></div>Jay<br></div>
</div>