[Haizea] Capacity increases or decreases?

Mehdi Sheikhalishahi mehdi.alishahi at gmail.com
Fri Oct 22 15:42:25 CDT 2010


Thanks, very interesting.
By adding the returned time to current time and passing it to
get_leases_at we could know which leases are going to be scheduled, Is
this right?

Regards, Mehdi

On Thu, Oct 21, 2010 at 6:32 PM, Borja Sotomayor <borja at borjanet.com> wrote:
> Hi,
>
>> Is it possible to understand after the amount of time returned by
>> get_capacity_duration(self, node, time) of AvailabilityWindow, the
>> capacity of a node will be decreased or will be increased?
>
> The way the AvailabilityWindow works, the capacity will always
> decrease after that time. This is because the AvailabilityWindow is
> used to determine how long we can reserve resources starting at a
> specific time. So, if I need to reserve 1024 of MB starting at time
> t_1, and I know there is only 1024 MB available now in a node, I don't
> really care if more resources become available at a later time t_2,
> because what I'm interested is in those 1024 MB starting at t_1 (the
> window is always pivoted at a specific time). On the other hand, if
> the capacity decreases at t_2, it means that I would only be able to
> reserve 1024MB (uninterrupted) from t_1 to t_2.
>
> Not to say that the increase in capacity wouldn't be relevant to the
> scheduler. However, the way it deals with it is by shifting the
> availability window forward to see what the availability looks
> starting at t_2.
>
> Cheers!
> --
> Borja Sotomayor
> -Scientific Writer at UChicago's Computation Institute
> http://people.cs.uchicago.edu/~borja/
> -Community Manager for the OpenNebula project
> http://www.opennebula.org/
> _______________________________________________
> Haizea mailing list
> Haizea at mailman.cs.uchicago.edu
> https://mailman.cs.uchicago.edu/mailman/listinfo/haizea
>



-- 
Regards,
Mehdi


More information about the Haizea mailing list