summaryrefslogtreecommitdiff
path: root/doc/source/user
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-04-24 01:09:31 +0000
committerGerrit Code Review <review@openstack.org>2018-04-24 01:09:31 +0000
commit7ab7e61bc0ca29bd052822da8f37cf7482f330d7 (patch)
tree8085520c1ba34c5f7c1a5bbfc5696465756edb23 /doc/source/user
parent79c75cf953096b6fffa16827f648fad353c53310 (diff)
parent67f52ab36df0f029d745851fc45607736c03e474 (diff)
downloadnova-7ab7e61bc0ca29bd052822da8f37cf7482f330d7.tar.gz
Merge "Add CPUWeigher"
Diffstat (limited to 'doc/source/user')
-rw-r--r--doc/source/user/filter-scheduler.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/source/user/filter-scheduler.rst b/doc/source/user/filter-scheduler.rst
index e9113adb41..4622d7655f 100644
--- a/doc/source/user/filter-scheduler.rst
+++ b/doc/source/user/filter-scheduler.rst
@@ -397,9 +397,15 @@ The Filter Scheduler weighs hosts based on the config option
`nova.scheduler.weights.all_weighers`, which selects the following weighers:
* |RAMWeigher| Compute weight based on available RAM on the compute node.
- Sort with the largest weight winning. If the multiplier is negative, the
+ Sort with the largest weight winning. If the multiplier,
+ :oslo.config:opt:`filter_scheduler.ram_weight_multiplier`, is negative, the
host with least RAM available will win (useful for stacking hosts, instead
of spreading).
+* |CPUWeigher| Compute weight based on available vCPUs on the compute node.
+ Sort with the largest weight winning. If the multiplier,
+ :oslo.config:opt:`filter_scheduler.cpu_weight_multiplier`, is negative, the
+ host with least CPUs available will win (useful for stacking hosts, instead
+ of spreading).
* |DiskWeigher| Hosts are weighted and sorted by free disk space with the largest
weight winning. If the multiplier is negative, the host with less disk space available
will win (useful for stacking hosts, instead of spreading).
@@ -489,6 +495,7 @@ in :mod:`nova.tests.scheduler`.
.. |AggregateMultiTenancyIsolation| replace:: :class:`AggregateMultiTenancyIsolation <nova.scheduler.filters.aggregate_multitenancy_isolation.AggregateMultiTenancyIsolation>`
.. |NUMATopologyFilter| replace:: :class:`NUMATopologyFilter <nova.scheduler.filters.numa_topology_filter.NUMATopologyFilter>`
.. |RAMWeigher| replace:: :class:`RAMWeigher <nova.scheduler.weights.ram.RAMWeigher>`
+.. |CPUWeigher| replace:: :class:`CPUWeigher <nova.scheduler.weights.cpu.CPUWeigher>`
.. |AggregateImagePropertiesIsolation| replace:: :class:`AggregateImagePropertiesIsolation <nova.scheduler.filters.aggregate_image_properties_isolation.AggregateImagePropertiesIsolation>`
.. |MetricsFilter| replace:: :class:`MetricsFilter <nova.scheduler.filters.metrics_filter.MetricsFilter>`
.. |MetricsWeigher| replace:: :class:`MetricsWeigher <nova.scheduler.weights.metrics.MetricsWeigher>`