[Haizea] How to normalize into a score about high_capacity_score?

柯俊峰 kjf620520 at gmail.com
Thu Oct 29 21:49:40 CDT 2009


Thanks very much!
Thank for for your time and consideration!
2009/10/30 Borja Sotomayor <borja at borjanet.com>

> Hi,
>
> >         # 2nd: we prefer nodes with the highest capacity
> >         avail = aw.get_availability_at(node, time)
> >         # TODO: normalize into a score
> >         high_capacity_score = 1.0
> > How to normalize into a score about high_capacity_score?
> > Can you give me a idea ?
>
> As I indicated in my previous e-mail, this would require using the
> AvailabilityWindow class, which is not documented yet. The intuition
> behind this is that you would need to take the available resources
> from each physical node, and normalize them so that they were scored
> from 0.0 to 1.0 (a node that is completely empty would have a score of
> 1.0). However, coming up with a normalized score would require knowing
> the capacities of all the other nodes (or some other baseline, like
> the highest capacity node) and a reasonable normalization scheme
> (e.g., does 0.5 mean 'half capacity'? what if 'half capacity' is
> actually the same capacity I'm getting in a smaller node that is
> empty?). However, the host selection policy only looks at one node at
> a time, which is why this is still marked with a "TODO".
>
> Cheers!
> --Borja
> _______________________________________________
> Haizea mailing list
> Haizea at mailman.cs.uchicago.edu
> https://mailman.cs.uchicago.edu/mailman/listinfo/haizea
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.uchicago.edu/pipermail/haizea/attachments/20091030/6a707e3f/attachment.htm 


More information about the Haizea mailing list