diff options
| author | Dina Belova <dbelova@mirantis.com> | 2012-05-03 15:40:50 +0400 |
|---|---|---|
| committer | Dina Belova <dbelova@mirantis.com> | 2012-05-05 13:24:13 +0400 |
| commit | 8c938d3f7e364a7c191182cb16ed28af35ee3f02 (patch) | |
| tree | f119320c22b3d26771873fc4d367433a6eae5d8a /doc/source | |
| parent | eb9e54c1129080ad0f5b569b39dfa09c539f2f11 (diff) | |
| download | nova-8c938d3f7e364a7c191182cb16ed28af35ee3f02.tar.gz nova-8c938d3f7e364a7c191182cb16ed28af35ee3f02.tar.xz nova-8c938d3f7e364a7c191182cb16ed28af35ee3f02.zip | |
Mistake with the documentation about cost function's weight corrected.
Change-Id: I131d6abc100682ae78c7ac2edfffadc491b9d437
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/devref/filter_scheduler.rst | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/source/devref/filter_scheduler.rst b/doc/source/devref/filter_scheduler.rst index 1a7be47cb..285374b70 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, |
