commit 27d071f44f080d50ac291de2cb9385934b400ccd
Author: Nikola Dipanov <email address hidden>
Date: Wed Nov 12 13:43:27 2014 +0100
Add support for fitting instance NUMA nodes onto a host
This commit adds the methods needed to enable fitting instances onto
NUMA nodes. It adds fit_instance_to_host() method to the
VirtNUMAHostTopology class that will do the fitting returning the
instance topology with it's cells assigned to the cells of a given host.
This method will be used in the scheduler and claims and will obsolete
the need for claim_test method which will be removed in subsequent
commits.
It is worth noting that after we transition filter and claims to use the
methods added to this patch - it will no longer be possible for an
NUMA-aware instance to be over-committed against itself no matter what the
over-subscription ratios are.
Partial-bug: #1386236
(cherry picked from commit d13205fb6036a6c7d66de350cb226dd0f9ee12d9)
Reviewed: https:/ /review. openstack. org/137683 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=27d071f44f0 80d50ac291de2cb 9385934b400ccd
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 27d071f44f080d5 0ac291de2cb9385 934b400ccd
Author: Nikola Dipanov <email address hidden>
Date: Wed Nov 12 13:43:27 2014 +0100
Add support for fitting instance NUMA nodes onto a host
This commit adds the methods needed to enable fitting instances onto to_host( ) method to the tTopology class that will do the fitting returning the
NUMA nodes. It adds fit_instance_
VirtNUMAHos
instance topology with it's cells assigned to the cells of a given host.
This method will be used in the scheduler and claims and will obsolete
the need for claim_test method which will be removed in subsequent
commits.
It is worth noting that after we transition filter and claims to use the subscription ratios are.
methods added to this patch - it will no longer be possible for an
NUMA-aware instance to be over-committed against itself no matter what the
over-
Partial-bug: #1386236 7d66de350cb226d d0f9ee12d9)
(cherry picked from commit d13205fb6036a6c
Conflicts: tests/unit/ virt/test_ hardware. py
nova/
Change-Id: I5fb6814778c279 0cdd8892f756a33 763b8f4a712