Martin Polednik has posted comments on this change. Change subject: vm: migration: exponential downtime increment ......................................................................
Patch Set 7: (1 comment) http://gerrit.ovirt.org/#/c/25820/7/tests/vmMigrationTests.py File tests/vmMigrationTests.py: Line 33: return izip(a, b) Line 34: Line 35: Line 36: def _linear_downtime(downtime, steps): Line 37: for i in range(steps): maybe range(1, steps + 1) and later downtime * i / steps for consistence with exponential downtime (also allows easier plotting, for example "plot (d / s) + ((d - d / s) ^ (1 / s)) ^ k and d * k / s for (d = 500, s = 10), (k from 1 to 10)" in wolfram alpha) Line 38: yield downtime * (i + 1) / steps Line 39: Line 40: Line 41: class TestVmMigrationDowntimeSequence(TestCaseBase): -- To view, visit http://gerrit.ovirt.org/25820 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I6401772f52ea28144452e67198bddff18f6703eb Gerrit-PatchSet: 7 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Francesco Romani <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Francesco Romani <[email protected]> Gerrit-Reviewer: Martin Betak <[email protected]> Gerrit-Reviewer: Martin Polednik <[email protected]> Gerrit-Reviewer: Michal Skrivanek <[email protected]> Gerrit-Reviewer: Vinzenz Feenstra <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
