[pve-devel] [PATCH 3/3] add downtime && expected_downtime query-migrate info

Alexandre DERUMIER aderumier at odiso.com
Thu Dec 27 13:08:12 CET 2012


>>The same again with 1GB Memory used (cached mem): 
>>Dec 27 12:57:11 starting migration of VM 105 to node 'cloud1-1202' 
>>(10.255.0.20) 
>>Dec 27 12:57:11 copying disk images 
>>Dec 27 12:57:11 starting VM 105 on remote node 'cloud1-1202' 
>>Dec 27 12:57:15 starting migration tunnel 
>>Dec 27 12:57:15 starting online/live migration on port 60000 
>>Dec 27 12:57:15 migrate_set_speed: 8589934592 
>>Dec 27 12:57:15 migrate_set_downtime: 1 
>>Dec 27 12:58:45 migration speed: 22.76 MB/s - downtime 90004 ms 
>>Dec 27 12:58:45 migration status: completed 
>>Dec 27 12:58:49 migration finished successfuly (duration 00:01:38) 
>>TASK OK 

damn, 90000ms of downtime, that's crazy.

It's like it's trying to finish the migration direcly, sending the whole 1GB memory in 1 pass.

I think the monitor is blocked because it's blocked also for me at the end of the migration (but some ms, not 90000ms)

Sound like a bug somewhere is qemu ....




----- Mail original ----- 

De: "Stefan Priebe" <s.priebe at profihost.ag> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com, "Dietmar Maurer" <dietmar at proxmox.com> 
Envoyé: Jeudi 27 Décembre 2012 13:00:47 
Objet: Re: [pve-devel] [PATCH 3/3] add downtime && expected_downtime query-migrate info 

Hi, 
Am 27.12.2012 11:21, schrieb Alexandre DERUMIER: 
> 
>>> Sure you mean just the output in the web GUI? 
> yes 

Output with latest qemu-server and latest pve-qemu-kvm. 

VM with 4GB Mem and 100MB used (totally IDLE): 
Dec 27 12:55:46 starting migration of VM 105 to node 'cloud1-1203' 
(10.255.0.22) 
Dec 27 12:55:46 copying disk images 
Dec 27 12:55:46 starting VM 105 on remote node 'cloud1-1203' 
Dec 27 12:55:48 starting migration tunnel 
Dec 27 12:55:49 starting online/live migration on port 60000 
Dec 27 12:55:49 migrate_set_speed: 8589934592 
Dec 27 12:55:49 migrate_set_downtime: 1 
Dec 27 12:55:51 migration speed: 1024.00 MB/s - downtime 1534 ms 
Dec 27 12:55:51 migration status: completed 
Dec 27 12:55:54 migration finished successfuly (duration 00:00:09) 
TASK OK 

The same again with 1GB Memory used (cached mem): 
Dec 27 12:57:11 starting migration of VM 105 to node 'cloud1-1202' 
(10.255.0.20) 
Dec 27 12:57:11 copying disk images 
Dec 27 12:57:11 starting VM 105 on remote node 'cloud1-1202' 
Dec 27 12:57:15 starting migration tunnel 
Dec 27 12:57:15 starting online/live migration on port 60000 
Dec 27 12:57:15 migrate_set_speed: 8589934592 
Dec 27 12:57:15 migrate_set_downtime: 1 
Dec 27 12:58:45 migration speed: 22.76 MB/s - downtime 90004 ms 
Dec 27 12:58:45 migration status: completed 
Dec 27 12:58:49 migration finished successfuly (duration 00:01:38) 
TASK OK 

VM was halted between and no output of stats where done as the monitor 
was blocked. 

The same again with 1GB Memory and migrate_downtime set to 0.03 (cached 
mem): 
Dec 27 13:00:19 starting migration of VM 105 to node 'cloud1-1203' 
(10.255.0.22) 
Dec 27 13:00:19 copying disk images 
Dec 27 13:00:19 starting VM 105 on remote node 'cloud1-1203' 
Dec 27 13:00:22 starting migration tunnel 
Dec 27 13:00:23 starting online/live migration on port 60000 
Dec 27 13:00:23 migrate_set_speed: 8589934592 
Dec 27 13:00:23 migrate_set_downtime: 0.03 
Dec 27 13:00:25 migration status: active (transferred 404647386, 
remaining 680390656), total 2156265472) , expected downtime 190 
Dec 27 13:00:27 migration status: active (transferred 880582320, 
remaining 203579392), total 2156265472) , expected downtime 53 
Dec 27 13:00:29 migration speed: 341.33 MB/s - downtime 490 ms 
Dec 27 13:00:29 migration status: completed 
Dec 27 13:00:32 migration finished successfuly (duration 00:00:13) 
TASK OK 

Stefan 



More information about the pve-devel mailing list