Change in ovirt-engine[ovirt-engine-3.3]: core: pre-defined weight modules
dfediuck at redhat.com
dfediuck at redhat.com
Wed Aug 28 11:25:32 UTC 2013
Doron Fediuck has submitted this change and it was merged.
Change subject: core: pre-defined weight modules
......................................................................
core: pre-defined weight modules
To be compatible with former scheduler.
* none -> should use evenly distributed
* even distribution -> weight will be calculated according
to cpuLoad, is_spm (config), avg vm consumtions (config),
vm's cpu count and host core count.
* power saving -> host with no vm will be less likely to be
selected, other hosts will be sorted (desc) by even distribution logic.
Change-Id: I55cf5014bc472bf1e126a9737829e7fcf7e21853
Signed-off-by: Gilad Chaplik <gchaplik at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/PolicyUnitImpl.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/SlaValidator.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/policyunits/EvenDistributionPolicyUnit.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/policyunits/NonePolicyUnit.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/policyunits/PowerSavingPolicyUnit.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
M packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql
M packaging/etc/engine-config/engine-config.properties
8 files changed, 61 insertions(+), 12 deletions(-)
Approvals:
Doron Fediuck: Looks good to me, approved
Gilad Chaplik: Verified
--
To view, visit http://gerrit.ovirt.org/18560
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I55cf5014bc472bf1e126a9737829e7fcf7e21853
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfediuck at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
More information about the Engine-commits
mailing list