Bug 1306263 - Normalize policy unit weights
Summary: Normalize policy unit weights
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.1.0-beta
: 4.1.0.2
Assignee: Martin Sivák
QA Contact: Artyom
URL: http://www.ovirt.org/develop/release-...
Whiteboard:
Depends On:
Blocks: 1207255 1392393 1404660
TreeView+ depends on / blocked
 
Reported: 2016-02-10 12:39 UTC by Martin Sivák
Modified: 2017-03-28 05:34 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-02-01 14:45:15 UTC
oVirt Team: SLA
Embargoed:
rule-engine: ovirt-4.1+
bmcclain: priority_rfe_tracking+
rule-engine: planning_ack+
msivak: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 67707 0 master MERGED scheduling: Switch to rank based policy unit weight normalization 2016-12-05 13:57:48 UTC

Description Martin Sivák 2016-02-10 12:39:44 UTC
Description of problem:

Each policy unit uses a different scale for weight. That means factors are almost unusable because weight 1 (affinity group violation) will be always overridden by weight 500 (memory in MiB) even when the factor is for example a 100.

Version-Release number of selected component (if applicable):

iirc 3.1 till now

Comment 1 Sandro Bonazzola 2016-05-02 09:58:13 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 2 Yaniv Lavi 2016-05-23 13:19:09 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 3 Yaniv Lavi 2016-05-23 13:26:44 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 4 Martin Sivák 2016-07-13 09:42:12 UTC
All support for this is present in the code for unit testing purposes, but we do not want to enable this for 4.0 as it will slightly change the scheduler behaviour. The plan is to enable normalization (using rank atm) for 4.1 and making sure all test plans are updated and QE is aware of this change.

Comment 6 Artyom 2017-01-03 16:19:39 UTC
Verified on rhevm-4.1.0-0.3.beta2.el7.noarch

Tested:
1) Weight modules factors
2) Weight modules ranks
3) Weight modules:
     VmAffinityGroups
     OptimalForCpuEvenDistribution
     VmToHostsAffinityGroups
     OptimalForMemoryEvenDistribution
     PreferredHosts
     OptimalForCpuPowerSaving
     OptimalForMemoryPowerSaving


Note You need to log in before you can comment on or make changes to this bug.