Change in ovirt-engine[ovirt-engine-3.6]: core: improve balance selection of vm for migration

Tal Nisan has submitted this change and it was merged. Change subject: core: improve balance selection of vm for migration ...................................................................... core: improve balance selection of vm for migration Iterate over source hosts, to find vm that can be migrated, without over utilize memory or CPU of destination host. Before was selected some random source host, and from this host was selected single vm with minimum cpu usage, but maybe with big amount of memory usage and so over utilizied destination host memory. In result we had that balancing not migrate any of vms. Change-Id: I67947fa4463b8bb12d04ee8f4126fa93683c9e14 Bug-Url: https://bugzilla.redhat.com/1258780 Signed-off-by: Artyom Lukianov <alukiano@redhat.com> (cherry picked from commit 737d14b5722a3cbbd5630e4d40e47e1f063e3e76) --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/utils/FindVmAndDestinations.java 1 file changed, 21 insertions(+), 41 deletions(-) Approvals: Martin Sivák: Looks good to me, but someone else must approve Roman Mohr: Verified Jenkins CI: Passed CI tests Roy Golan: Looks good to me, approved Artyom Lukianov: Looks good to me, but someone else must approve -- To view, visit https://gerrit.ovirt.org/46084 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I67947fa4463b8bb12d04ee8f4126fa93683c9e14 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.6 Gerrit-Owner: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: Artyom Lukianov <alukiano@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Martin Sivák <msivak@redhat.com> Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski@gmail.com> Gerrit-Reviewer: Roman Mohr <rmohr@redhat.com> Gerrit-Reviewer: Roy Golan <rgolan@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: automation@ovirt.org
participants (1)
-
tnisan@redhat.com