[Openstack-docs] [openstack/nova] DocImpact review request change I81bf90898d3cb81541f4390596823cc00106eb20
gerrit2 at review.openstack.org
gerrit2 at review.openstack.org
Fri Apr 19 14:42:16 UTC 2013
Hi, I'd like you to take a look at this patch for potential
DocImpact.
https://review.openstack.org/27160
Log:
commit 709e56ec8009092dfcbb3b75bd096b190d8eb8b3
Author: Alvaro Lopez Garcia <aloga at ifca.unican.es>
Date: Thu Apr 18 17:28:27 2013 +0200
Normalize the scheduler weights.
The weighter was usint the raw values instead of normalizing them.
If somebody wants to implement any weighter different than RAM we
have to ensure that all weights are normalized before doing anything
with them (that is, before applying the multiplier and before we sum
the calculated weight to the object). In this change all the weights
are normalized to 1, so that the final weight for a host will be:
weight = w1_multiplier * norm_w1 + w2_multiplier * norm_w2 + ...
The RAM weighter relied on setting the multiplier to -1 so as to make a
reverse ordering and this is no longer true, therefore another option
'ram_weight_inverse' has been added.
DocImpact
Change-Id: I81bf90898d3cb81541f4390596823cc00106eb20
More information about the Openstack-docs
mailing list