Bug 1339521 - start downtime thread after the first migration iteration only
Summary: start downtime thread after the first migration iteration only
Keywords:
Status: CLOSED EOL
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.17.11
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Francesco Romani
QA Contact: Israel Pinto
URL:
Whiteboard:
Depends On: 1323952
Blocks: migration_improvements 1328636
TreeView+ depends on / blocked
 
Reported: 2016-05-25 08:56 UTC by Michal Skrivanek
Modified: 2022-03-16 08:51 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 1323952
Environment:
Last Closed: 2016-07-11 14:44:13 UTC
oVirt Team: Virt
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-45318 0 None None None 2022-03-16 08:51:19 UTC
oVirt gerrit 56561 0 master ABANDONED migration: enhance legacy downtime algorithm 2016-08-02 13:07:42 UTC
oVirt gerrit 57933 0 ovirt-3.6 NEW migration: make MonitorThread own DowntimeThread 2016-06-28 08:26:32 UTC
oVirt gerrit 57934 0 ovirt-3.6 MERGED migration: decorate with utils.traceback() 2016-05-25 09:56:37 UTC
oVirt gerrit 57935 0 ovirt-3.6 NEW migration: early exit when stopped 2016-06-28 08:26:17 UTC
oVirt gerrit 59165 0 ovirt-4.0 MERGED migration: downtime: handle steps=1 2016-06-15 07:32:21 UTC
oVirt gerrit 59166 0 ovirt-4.0 MERGED migration: downtime: start thread after 1st iter 2016-06-15 07:32:38 UTC
oVirt gerrit 59167 0 ovirt-4.0 MERGED migration: downtime: update step delay computation 2016-06-15 07:32:56 UTC
oVirt gerrit 59217 0 ovirt-3.6 NEW migration: wait for monitor thread before to exit 2016-06-28 08:26:46 UTC
oVirt gerrit 59218 0 ovirt-3.6 NEW migration: downtime: handle steps=1 2016-06-28 08:27:15 UTC
oVirt gerrit 59219 0 ovirt-3.6 NEW migration: track qemu iterations 2016-06-28 08:27:01 UTC
oVirt gerrit 59220 0 ovirt-3.6 NEW migration: downtime: start thread after 1st iter 2016-06-28 08:26:03 UTC
oVirt gerrit 59221 0 ovirt-3.6 NEW migration: downtime: update step delay computation 2016-06-28 08:25:28 UTC
oVirt gerrit 59467 0 ovirt-3.6 NEW migration: downtime: add tunable for back compat 2016-06-28 09:53:39 UTC

Description Michal Skrivanek 2016-05-25 08:56:16 UTC
hopefully it will provide more "smaller" downtimes as we don't need to do anything until the first iteration is done

Comment 1 Francesco Romani 2016-06-29 15:04:20 UTC
this change does not require doc_text:
- it HAS user-facing consequences (better migrations)
but
- it is NOT directly tunable by the user
so it is more like an internal improvement.

Comment 2 Francesco Romani 2016-06-30 13:00:37 UTC
all patches landed in 3.6.z branch -> MODIFIED

Comment 3 Francesco Romani 2016-06-30 15:19:36 UTC
we need https://gerrit.ovirt.org/60037

Comment 4 Israel Pinto 2016-07-10 09:03:22 UTC
Verify with:
RHEVM Version: 3.6.8-0.1.el6 
Host:
OS Version:RHEL - 7.2 - 13.0.el7ev
Kernel Version:3.10.0 - 327.22.2.el7.x86_64
KVM Version:2.3.0 - 31.el7_2.18
LIBVIRT Version:libvirt-1.2.17-13.el7_2.5
VDSM Version:vdsm-4.17.33-1.el7ev
SPICE Version:0.12.4 - 15.el7_2.1

Steps:
1. Migration VM
2. After migration start monitor vdsm log for migration downtime thread to start on source host:
[root@virt-nested-vm04 ~]# cat /var/log/vdsm/vdsm.log | grep -i "migration downtime thread will use"
Thread-352::DEBUG::2016-07-10 11:42:57,818::migration::450::virt.vm::(__init__) vmId=`ce8803e7-37a8-4348-9745-97be87f4bfd0`::migration downtime thread will use: QEMU iterations

Comment 5 Sandro Bonazzola 2016-07-11 14:44:13 UTC
oVirt 3.6.7 was the last supported version of oVirt 3.6.
No more oVirt 3.6 versions will be released.
Closing EOL, feel free to re-target to 4.0.1 or later


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