summaryrefslogtreecommitdiffstats
path: root/doc/source
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-05-09 19:12:06 +0000
committerGerrit Code Review <review@openstack.org>2012-05-09 19:12:06 +0000
commit36a810e5456e4ef1c328d433c24a68a1c1ce886d (patch)
treed00913f9a4c8da604b5ee127760b4ddc4dc29775 /doc/source
parente95102036137797e13ccdc8e889b8d5cecbedf91 (diff)
parent8c938d3f7e364a7c191182cb16ed28af35ee3f02 (diff)
downloadnova-36a810e5456e4ef1c328d433c24a68a1c1ce886d.tar.gz
nova-36a810e5456e4ef1c328d433c24a68a1c1ce886d.tar.xz
nova-36a810e5456e4ef1c328d433c24a68a1c1ce886d.zip
Merge "Mistake with the documentation about cost function's weight corrected."
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/devref/filter_scheduler.rst9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/source/devref/filter_scheduler.rst b/doc/source/devref/filter_scheduler.rst
index 91ae3e495..5ae5bcd4e 100644
--- a/doc/source/devref/filter_scheduler.rst
+++ b/doc/source/devref/filter_scheduler.rst
@@ -225,11 +225,16 @@ The line with this description looks the following way:
**function_name_weight**.
As for default cost function, it would be: `compute_fill_first_cost_fn_weight`,
-and by default it is 1.0.
+and by default it is -1.0.
::
- --compute_fill_first_cost_fn_weight=1.0
+ --compute_fill_first_cost_fn_weight=-1.0
+
+Negative function's weight means that the more free RAM Compute Node has, the
+better it is. Nova tries to spread instances as much as possible over the
+Compute Nodes. Positive weight here would mean that Nova would fill up a single
+Compute Node first.
Filter Scheduler finds local list of acceptable hosts by repeated filtering and
weighing. Each time it chooses a host, it virtually consumes resources on it,