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

Stefan Priebe s.priebe at profihost.ag
Sat Dec 29 15:19:45 CET 2012


Hi,

this is what it looks like with patched qemu and my direct tcp migration 
patch while having a memory stress tester runing over 3GB MEM. Whole 
migration done in 19s!! The downtime is just so high as we allow 1s by 
default.

Dec 29 15:17:19 starting migration of VM 101 to node 'cloud1-1203' 
(10.255.0.22)
Dec 29 15:17:19 copying disk images
Dec 29 15:17:19 starting VM 101 on remote node 'cloud1-1203'
Dec 29 15:17:23 starting online/live migration on 10.255.0.22:60000
Dec 29 15:17:23 migrate_set_speed: 8589934592
Dec 29 15:17:23 migrate_set_downtime: 1
Dec 29 15:17:27 migration status: active (transferred 2128861698, 
remaining 2152247296), total 4303814656) , expected downtime 0
Dec 29 15:17:27 migration xbzrle cachesize: 4294967296 transferred 0 
pages 0 cachemiss 518714 overflow 0
Dec 29 15:17:31 migration status: active (transferred 4130570874, 
remaining 1161080832), total 4303814656) , expected downtime 0
Dec 29 15:17:31 migration xbzrle cachesize: 4294967296 transferred 41562 
pages 88 cachemiss 979148 overflow 27159
Dec 29 15:17:35 migration speed: 341.33 MB/s - downtime 1223 ms
Dec 29 15:17:35 migration status: completed
Dec 29 15:17:38 migration finished successfuly (duration 00:00:19)
TASK OK

Greets,
Stefan


Am 29.12.2012 15:07, schrieb Stefan Priebe:
> Hi,
>
> Am 29.12.2012 15:02, schrieb Alexandre DERUMIER:
>> oh, ok.
>>
>> I'll tests the patchs mondays.
> Thanks!
>
>> Does migration works fine for you with them ?
> Yes - it works fine / perfectly. But i've no VM with a desktop to play
> HD videos ;-)
>
> Stefan
>
>> ----- 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é: Samedi 29 Décembre 2012 14:55:33
>> Objet: Re: [pve-devel] [PATCH 3/3] add downtime && expected_downtime
>> query-migrate info
>>
>> Hi Alexandre,
>> Am 29.12.2012 14:51, schrieb Alexandre DERUMIER:
>>> Great to known that you finally found it !.
>> Not found ;-) just know that the rework of the migration code fixes it.
>> May be it might be a deadlock - they've changed the locking and
>> threading handling.
>>
>>> (Do you have respond to Paolo Bonzini, because the last response I
>>> see was that it was not working).
>> No - i just tried to apply parts of the patchset on qemu 1.3 instead of
>> using whole 1.4 git trunk.
>>
>>>>> Alexandre might you try my rebased patches on top of pve-qemu 1.3?
>>> So, Do you want to apply the first patch only (to fix you bug), or
>>> apply the whole patches set ? (equal to current git code ?).
>> All patches i had attached ;-)
>>
>>> Not sure that Dietmar want to apply the big patches set ;)
>> sure but just wanted to know if they're stable for you too. So if
>> they're i will care about them in my own branch. So I've at least a
>> working migration.
>>
>>> I'll retest the whole patches set, because I was having migration
>>> problem (vm paused with error) with last qemu git.
>> That's why i've ported not all patches and on top of qemu 1.3 instead of
>> qemu 1.4.
>>
>> Stefan
>>



More information about the pve-devel mailing list