nova/releasenotes/notes/extra-sorting-for-host-cells-c03e37de1e57043b.yaml
Ilya Popov d13412648d Fix to implement 'pack' or 'spread' VM's NUMA cells
Cells mean NUMA cells below in text.

By default, first instance's cell are placed to the host's cell with
id 0, so it will be exhausted first. Than host's cell with id 1 will
be used and exhausted. It will lead to error placing instance with
number of cells in NUMA topology equal to host's cells number if
some instances with one cell topology are placed on cell with id 0
before. Fix will perform several sorts to put less used cells at
the beginning of host_cells list based on PCI devices, memory and
cpu usage when packing_host_numa_cells_allocation_strategy is set
to False (so called 'spread strategy'), or will try to place all
VM's cell to the same host's cell untill it will be completely
exhausted and only after will start to use next available host's
cell (so called 'pack strategy'), when the configuration option
packing_host_numa_cells_allocation_strategy is set to True.

Partial-Bug: #1940668
Change-Id: I03c4db3c36a780aac19841b750ff59acd3572ec6
2022-02-08 10:46:28 +03:00

11 lines
490 B
YAML

---
features:
- |
Extra sortings were added to numa_fit_instance_to_host function
to balance usage of hypervisor's NUMA cells. Hypervisor's NUMA
cells with more free resources (CPU, RAM, PCI if requested)
will be used first (spread strategy) when configuration option
``packing_host_numa_cells_allocation_strategy`` was set to False.
Default value of ``packing_host_numa_cells_allocation_strategy``
option is set to True which leads to packing strategy usage.