Add Nova Scheduler IO Ops Weighter
Add a new nova scheduler weighter, sort the filter hosts according to host io ops number, aims to instances on light workload hosts. Change-Id: I6b9a87c3ea3c6979d04f51eb082e14acc0334c5f Closes-Bug: #1383178
This commit is contained in:
parent
b15f3a9921
commit
1a80a71735
@ -883,6 +883,13 @@ isolated_images = 342b492c-128f-4a42-8d3a-c5088cf27d13, ebd267a6-ca86-4d6c-9a0e-
|
||||
RamWeigher and MetricsWeigher. Hosts are then weighted and sorted
|
||||
with the largest weight winning.</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>[DEFAULT]</td>
|
||||
<td><literal>io_ops_weight_multiplier</literal></td>
|
||||
<td>Multiplier used for weighing host I/O operations. A negative
|
||||
value means a preference to choose light workload
|
||||
compute hosts.</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>[metrics]</td>
|
||||
<td><literal>weight_multiplier</literal></td>
|
||||
@ -938,6 +945,7 @@ isolated_images = 342b492c-128f-4a42-8d3a-c5088cf27d13, ebd267a6-ca86-4d6c-9a0e-
|
||||
scheduler_host_subset_size = 1
|
||||
scheduler_weight_classes = nova.scheduler.weights.all_weighers
|
||||
ram_weight_multiplier = 1.0
|
||||
io_ops_weight_multiplier = 2.0
|
||||
[metrics]
|
||||
weight_multiplier = 1.0
|
||||
weight_setting = name1=1.0, name2=-1.0
|
||||
|
Loading…
Reference in New Issue
Block a user