[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST PATCH 8/9] ts-hosts-allocate-Executive: Redo variation_bonus scoring



Ian Campbell writes ("Re: [OSSTEST PATCH 8/9] ts-hosts-allocate-Executive: Redo 
variation_bonus scoring"):
> On Tue, 2014-11-11 at 19:41 +0000, Ian Jackson wrote:
> > +    my $log_variation_age = log(1+$variation_age/86400);
> > +    my $variation_bonus = $log_variation_age * 3600*2;
> > +    my $max_variation_bonus = 12*86400;
> 
> Isn't that 12 days, rather than the 12 hours in the commit log?

Well spotted.  I made that mistake deliberately, honest.

Thanks for the review!

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.