<br>I was referring to opennebula 1.4<br><br><br><div class="gmail_quote">On 25 August 2010 13:05, Shashank Rachamalla <span dir="ltr"><<a href="mailto:shashank.rachamalla@hexagrid.com">shashank.rachamalla@hexagrid.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi<br><br>I was using a RANK expression which takes into account freecpu, freemem and running vms. However, the value of this expression for each Host may go up 10^10. I have seen the following in sched.log<br>
<br><br><span style="display: block; padding-left: 6em;"><span>Virtual Machine:
2397<br> -1 28<br> -1 27<br>-1 29<br>-1 30<br>-1 22<br>-1 21<br>-1 9<br>-1 26</span></span><br>If I ensure that the value of RANK for each host lies below 10^8, I see the following in sched.log<br>
<br><span style="display: block; padding-left: 6em;"><span>Virtual Machine:
2398<br> 1 28<br> 1 27<br> 0.99875 29<br>
0.555 30<br> 0.5 22<br> 0.5 21<br>
0.49875 19<br> 0.46625 26</span></span><br><br clear="all">Please let me know if RANK value is captured as float or integer ? <br>I suspect some float to integer casting happening in the code ?<br><br>-- <br>Regards,<br>
<font color="#888888">
Shashank Rachamalla<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Shashank Rachamalla<br>