Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge "Mistake with the documentation about cost function's weight co…

…rrected."
  • Loading branch information...
commit 36a810e5456e4ef1c328d433c24a68a1c1ce886d 2 parents e951020 + 8c938d3
Jenkins authored openstack-gerrit committed
Showing with 7 additions and 2 deletions.
  1. +7 −2 doc/source/devref/filter_scheduler.rst
View
9 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,
Please sign in to comment.
Something went wrong with that request. Please try again.