Roy Golan 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(a)redhat.com>
---
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
Jenkins CI: Passed CI tests
Roy Golan: Looks good to me, approved
Artyom Lukianov: Verified
--
To view, visit
https://gerrit.ovirt.org/45574
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I67947fa4463b8bb12d04ee8f4126fa93683c9e14
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Artyom Lukianov <alukiano(a)redhat.com>
Gerrit-Reviewer: Artyom Lukianov <alukiano(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org