Change in ovirt-scheduler-proxy[master]: Samples: add memory based load-balancing sample module

dfediuck at redhat.com dfediuck at redhat.com
Mon Oct 21 15:52:42 UTC 2013


Doron Fediuck has submitted this change and it was merged.

Change subject: Samples: add memory based load-balancing sample module
......................................................................


Samples: add memory based load-balancing sample module

Adds a comprehensive example of a memory filter.
Logic stages:
- find the host with the least amount of free memory
- check what is the maximum vm size it can pass to
  the other hosts without overloading them
- find a vm it can pass that is small enough to
  run on one of the other servers.
  If safe_selection = true, return the smallest vm
  else try and find one that will solve the
  overutilization in one migration

Change-Id: I1b4a41064631912f5624723327a2ff5ebf158d5c
Signed-off-by: Noam Slomianko <nslomian at redhat.com>
---
A plugins/examples/host_memory_balance.py
1 file changed, 165 insertions(+), 0 deletions(-)

Approvals:
  Doron Fediuck: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/19934
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1b4a41064631912f5624723327a2ff5ebf158d5c
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-scheduler-proxy
Gerrit-Branch: master
Gerrit-Owner: Noam Slomianko <nslomian at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Noam Slomianko <nslomian at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list