Vinzenz Feenstra has uploaded a new change for review. Change subject: virt: Log the the duration time of the migration ......................................................................
virt: Log the the duration time of the migration For post mortem analysis in regards to migration times, this patchset will additionally log the time the successful migration took. This will help us in future to determine how long migrations took on a certain system. Change-Id: I6415dd159c55633e6ed5fd395f6fac38aca69a63 Signed-off-by: Vinzenz Feenstra <[email protected]> --- M vdsm/virt/migration.py 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/82/38482/1 diff --git a/vdsm/virt/migration.py b/vdsm/virt/migration.py index 1d87a52..139feba 100644 --- a/vdsm/virt/migration.py +++ b/vdsm/virt/migration.py @@ -331,6 +331,9 @@ # we need to support python 2.6, so two nested with-s. self._perform_migration(duri, muri) + self.log.debug("migration took %d seconds", + time.time() - startTime) + def _perform_migration(self, duri, muri): if self._vm.hasSpice and self._vm.conf.get('clientIp'): SPICE_MIGRATION_HANDOVER_TIME = 120 -- To view, visit https://gerrit.ovirt.org/38482 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6415dd159c55633e6ed5fd395f6fac38aca69a63 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Vinzenz Feenstra <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
