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

rgolan at redhat.com rgolan at redhat.com
Sun Sep 13 10:43:44 UTC 2015


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 at 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 at redhat.com>
Gerrit-Reviewer: Artyom Lukianov <alukiano at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list