Change in ovirt-hosted-engine-ha[master]: agent, broker: progressive score penalty for high cpu load

gpadgett at redhat.com gpadgett at redhat.com
Wed Nov 27 17:09:17 UTC 2013


Greg Padgett has submitted this change and it was merged.

Change subject: agent, broker: progressive score penalty for high cpu load
......................................................................


agent, broker: progressive score penalty for high cpu load

Penalize the host score progressively based on cpu load and duration
of that load.  The host load used doesn't count the load incurred by
the engine vm, in order to help keep host scores stable if the vm
changes hosts.

Additional related changes include not considering memory used by the
vm in the memory score, as well as logging changes to make it easier
to tell what the various factors were in generating the current score.

Change-Id: I9cb205f5eb3729a17692b8ab854c58ddfe862b2f
Bug-Url: https://bugzilla.redhat.com/1034205
Signed-off-by: Greg Padgett <gpadgett at redhat.com>
---
M ovirt_hosted_engine_ha/agent/constants.py.in
M ovirt_hosted_engine_ha/agent/hosted_engine.py
M ovirt_hosted_engine_ha/broker/submonitors/Makefile.am
M ovirt_hosted_engine_ha/broker/submonitors/cpu_load.py
A ovirt_hosted_engine_ha/broker/submonitors/cpu_load_no_engine.py
M ovirt_hosted_engine_ha/env/config.py
6 files changed, 285 insertions(+), 35 deletions(-)

Approvals:
  Greg Padgett: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9cb205f5eb3729a17692b8ab854c58ddfe862b2f
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list