<div dir="ltr"><div class="gmail_extra">Hi</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 31, 2014 at 5:08 PM, Andrea Gardiman <span dir="ltr"><<a href="mailto:andreagardiman@gmail.com" target="_blank">andreagardiman@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>I'm working on OpenNebula v. 4.4.1.<br><div>I have found that the function get_first_runable in the driver VirtualMachineManagerDriver.rb has a limitation in the number of concurrent thread per node, when the action has the attribute ":host".</div>


<div>In fact the function returns the index of an action only if there isn't another thread that is working on the same host.</div><div>Why there is such a limitation?</div></div></div></blockquote><div><br></div><div>

<br></div><div>This has been a result of a trial and error experience. In practice, some hypervisors are very bad at performing concurrent operations, specially libvirt/qemu. So booting several VMs at the same time (or any other operation for the matter of fact) usually hangs some requests. </div>

<div><br></div><div>When you are interfacing the hypervisor we implemented a "host lock" to improve the reliability. This could be relaxed in the future for KVM or now for any hypervisor that is able to handle concurrent requests. </div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div><div>The only wrong situation that come to my mind is when there are two threads that are executing actions that regard the same VM. But in that case should be a limitation per VM ID, not per node.</div>


<div><br></div><div>Am I missing something?</div><div><br></div><div>Thank you very much,</div><div> Andrea Gardiman</div></div></div>
<br>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.opennebula.org">Dev@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/dev-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/dev-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>

<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>
</div></div>