[one-users] max allowed value for RANK priority ?

Shashank Rachamalla shashank.rachamalla at hexagrid.com
Wed Aug 25 07:36:17 PDT 2010


I was referring to opennebula 1.4


On 25 August 2010 13:05, Shashank Rachamalla <
shashank.rachamalla at hexagrid.com> wrote:

> Hi
>
> 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
>
>
> Virtual Machine: 2397
> -1 28
> -1 27
> -1 29
> -1 30
> -1 22
> -1 21
> -1 9
> -1 26
> If I ensure that the value of RANK for each host lies below 10^8, I see the
> following in sched.log
>
> Virtual Machine: 2398
> 1 28
> 1 27
> 0.99875 29
> 0.555 30
> 0.5 22
> 0.5 21
> 0.49875 19
> 0.46625 26
>
> Please let me know if RANK value is captured as float or integer ?
> I suspect some float to integer casting happening in the code ?
>
> --
> Regards,
> Shashank Rachamalla
>



-- 
Regards,
Shashank Rachamalla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100825/23b9ffe9/attachment-0002.htm>


More information about the Users mailing list