qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] migration: not send zero page header in ram bul


From: Hailiang Zhang
Subject: Re: [Qemu-devel] [PATCH] migration: not send zero page header in ram bulk stage
Date: Tue, 19 Jan 2016 11:11:14 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

On 2016/1/19 9:26, Li, Liang Z wrote:
On 2016/1/15 18:24, Li, Liang Z wrote:
It seems that this patch is incorrect, if the no-zero pages are
zeroed again during !ram_bulk_stage, we didn't send the new zeroed
page, there will be an error.


If not in ram_bulk_stage, still send the header, could you explain why it's
wrong?

Liang


I have made a mistake, and yes, this patch can speed up the live migration
time, especially when there are many zero pages, it will be more obvious.
I like this idea. Did you test it with postcopy ? Does it break postcopy ?


Not yet, I saw Dave's comment's, it will beak post copy, it's not hard to fix 
this.
A more important thing is Paolo's comments, I don't know in which case this 
patch will break LM. Do you have any idea about this?
Hope that QEMU don't write data to the block 'pc.ram'.


Paolo is right, for VM in destination, QEMU may write VM's memory before VM 
starts.
So your assumption that "VM's RAM pages are initialized to zero" is incorrect.
This patch will break LM.

Liang

Thanks,
zhanghailiang


.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]