Doron Fediuck has submitted this change and it was merged.
Change subject: core: VdsSelector changes for CPU Thread Handling (2/4)
......................................................................
core: VdsSelector changes for CPU Thread Handling (2/4)
This patch series adds support for CPU Thread Handling in which host
CPU threads can be considered as cores on a per-cluster basis for the
purpose of VM startup/shutdown/migration.
Patch 2: update host selection algorithm to take advantage of cpu
threads.
VdsSelector now uses an "effective" core count. This is a direct
plug-in replacement for using the physical CPU count, and is only in
effect when the host CPU has SMT enabled, and the cluster is set to
count CPU threads as cores.
Change-Id: I7171f066d646378664e5832ba00fa9f436509b97
Signed-off-by: Greg Padgett <gpadgett(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/EvenlyDistributeComparer.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommandBase.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsCpuVdsLoadBalancingAlgorithm.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsSelector.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmCountVdsLoadBalancingAlgorithm.java
5 files changed, 28 insertions(+), 11 deletions(-)
Approvals:
Greg Padgett: Verified
Doron Fediuck: Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/10168
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7171f066d646378664e5832ba00fa9f436509b97
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett(a)redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck(a)redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett(a)redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>