Re: [Qemu-devel] broken incoming migration

2013-06-10 Thread Alexey Kardashevskiy
On 06/10/2013 06:44 PM, Peter Lieven wrote: > On 10.06.2013 08:55, Alexey Kardashevskiy wrote: >> On 06/10/2013 04:50 PM, Peter Lieven wrote: >>> On 10.06.2013 08:39, Alexey Kardashevskiy wrote: On 06/09/2013 05:27 PM, Peter Lieven wrote: > Am 09.06.2013 um 05:09 schrieb Alexey Kardashevsk

Re: [Qemu-devel] broken incoming migration

2013-06-10 Thread Peter Lieven
On 10.06.2013 08:55, Alexey Kardashevskiy wrote: On 06/10/2013 04:50 PM, Peter Lieven wrote: On 10.06.2013 08:39, Alexey Kardashevskiy wrote: On 06/09/2013 05:27 PM, Peter Lieven wrote: Am 09.06.2013 um 05:09 schrieb Alexey Kardashevskiy : On 06/09/2013 01:01 PM, Wenchao Xia wrote: 于 2013-6

Re: [Qemu-devel] broken incoming migration

2013-06-09 Thread Alexey Kardashevskiy
On 06/10/2013 04:50 PM, Peter Lieven wrote: > On 10.06.2013 08:39, Alexey Kardashevskiy wrote: >> On 06/09/2013 05:27 PM, Peter Lieven wrote: >>> Am 09.06.2013 um 05:09 schrieb Alexey Kardashevskiy : >>> On 06/09/2013 01:01 PM, Wenchao Xia wrote: > 于 2013-6-9 10:34, Alexey Kardashevskiy 写道

Re: [Qemu-devel] broken incoming migration

2013-06-09 Thread Peter Lieven
On 10.06.2013 08:39, Alexey Kardashevskiy wrote: On 06/09/2013 05:27 PM, Peter Lieven wrote: Am 09.06.2013 um 05:09 schrieb Alexey Kardashevskiy : On 06/09/2013 01:01 PM, Wenchao Xia wrote: 于 2013-6-9 10:34, Alexey Kardashevskiy 写道: On 06/09/2013 12:16 PM, Wenchao Xia wrote: 于 2013-6-8 16:3

Re: [Qemu-devel] broken incoming migration

2013-06-09 Thread Alexey Kardashevskiy
On 06/09/2013 05:27 PM, Peter Lieven wrote: > > Am 09.06.2013 um 05:09 schrieb Alexey Kardashevskiy : > >> On 06/09/2013 01:01 PM, Wenchao Xia wrote: >>> 于 2013-6-9 10:34, Alexey Kardashevskiy 写道: On 06/09/2013 12:16 PM, Wenchao Xia wrote: > 于 2013-6-8 16:30, Alexey Kardashevskiy 写道: >>>

Re: [Qemu-devel] broken incoming migration

2013-06-09 Thread Peter Lieven
Am 09.06.2013 um 05:09 schrieb Alexey Kardashevskiy : > On 06/09/2013 01:01 PM, Wenchao Xia wrote: >> 于 2013-6-9 10:34, Alexey Kardashevskiy 写道: >>> On 06/09/2013 12:16 PM, Wenchao Xia wrote: 于 2013-6-8 16:30, Alexey Kardashevskiy 写道: > On 06/08/2013 06:27 PM, Wenchao Xia wrote: >>>

Re: [Qemu-devel] broken incoming migration

2013-06-09 Thread Peter Lieven
Am 09.06.2013 um 06:12 schrieb liu ping fan : > Hi Peter, > > Is it that sending zero page mostly service the first iteration, ie > bluk-stage? And for the subsequent iteration, dirty pages are normally > not zero. > Yes most Zero Pages are sent during bulk stage except for busy windows guests

Re: [Qemu-devel] broken incoming migration

2013-06-08 Thread liu ping fan
Hi Peter, Is it that sending zero page mostly service the first iteration, ie bluk-stage? And for the subsequent iteration, dirty pages are normally not zero. Thanks On Wed, Jun 5, 2013 at 2:09 PM, Peter Lieven wrote: > > Am 05.06.2013 um 05:37 schrieb Alexey Kardashevskiy : > >> On 06/05/2013

Re: [Qemu-devel] broken incoming migration

2013-06-08 Thread Wenchao Xia
于 2013-6-9 11:09, Alexey Kardashevskiy 写道: On 06/09/2013 01:01 PM, Wenchao Xia wrote: 于 2013-6-9 10:34, Alexey Kardashevskiy 写道: On 06/09/2013 12:16 PM, Wenchao Xia wrote: 于 2013-6-8 16:30, Alexey Kardashevskiy 写道: On 06/08/2013 06:27 PM, Wenchao Xia wrote: On 04.06.2013 16:40, Paolo Bonzini

Re: [Qemu-devel] broken incoming migration

2013-06-08 Thread Alexey Kardashevskiy
On 06/09/2013 01:01 PM, Wenchao Xia wrote: > 于 2013-6-9 10:34, Alexey Kardashevskiy 写道: >> On 06/09/2013 12:16 PM, Wenchao Xia wrote: >>> 于 2013-6-8 16:30, Alexey Kardashevskiy 写道: On 06/08/2013 06:27 PM, Wenchao Xia wrote: >> On 04.06.2013 16:40, Paolo Bonzini wrote: >>> Il 04/06/2013

Re: [Qemu-devel] broken incoming migration

2013-06-08 Thread Wenchao Xia
于 2013-6-9 10:34, Alexey Kardashevskiy 写道: On 06/09/2013 12:16 PM, Wenchao Xia wrote: 于 2013-6-8 16:30, Alexey Kardashevskiy 写道: On 06/08/2013 06:27 PM, Wenchao Xia wrote: On 04.06.2013 16:40, Paolo Bonzini wrote: Il 04/06/2013 16:38, Peter Lieven ha scritto: On 04.06.2013 16:14, Paolo Bonzi

Re: [Qemu-devel] broken incoming migration

2013-06-08 Thread Alexey Kardashevskiy
On 06/09/2013 12:16 PM, Wenchao Xia wrote: > 于 2013-6-8 16:30, Alexey Kardashevskiy 写道: >> On 06/08/2013 06:27 PM, Wenchao Xia wrote: On 04.06.2013 16:40, Paolo Bonzini wrote: > Il 04/06/2013 16:38, Peter Lieven ha scritto: >> On 04.06.2013 16:14, Paolo Bonzini wrote: >>> Il 04/06/

Re: [Qemu-devel] broken incoming migration

2013-06-08 Thread Wenchao Xia
于 2013-6-8 16:30, Alexey Kardashevskiy 写道: On 06/08/2013 06:27 PM, Wenchao Xia wrote: On 04.06.2013 16:40, Paolo Bonzini wrote: Il 04/06/2013 16:38, Peter Lieven ha scritto: On 04.06.2013 16:14, Paolo Bonzini wrote: Il 04/06/2013 15:52, Peter Lieven ha scritto: On 30.05.2013 16:41, Paolo Bon

Re: [Qemu-devel] broken incoming migration

2013-06-08 Thread Wenchao Xia
> On 04.06.2013 16:40, Paolo Bonzini wrote: Il 04/06/2013 16:38, Peter Lieven ha scritto: On 04.06.2013 16:14, Paolo Bonzini wrote: Il 04/06/2013 15:52, Peter Lieven ha scritto: On 30.05.2013 16:41, Paolo Bonzini wrote: Il 30/05/2013 16:38, Peter Lieven ha scritto: You could also scan the pa

Re: [Qemu-devel] broken incoming migration

2013-06-08 Thread Alexey Kardashevskiy
On 06/08/2013 06:27 PM, Wenchao Xia wrote: >> On 04.06.2013 16:40, Paolo Bonzini wrote: >>> Il 04/06/2013 16:38, Peter Lieven ha scritto: On 04.06.2013 16:14, Paolo Bonzini wrote: > Il 04/06/2013 15:52, Peter Lieven ha scritto: >> On 30.05.2013 16:41, Paolo Bonzini wrote: >>> Il 30

Re: [Qemu-devel] broken incoming migration

2013-06-08 Thread Wenchao Xia
于 2013-5-30 21:00, Paolo Bonzini 写道: Il 30/05/2013 11:08, Peter Lieven ha scritto: Am 30.05.2013 10:18, schrieb Alexey Kardashevskiy: On 05/30/2013 05:49 PM, Paolo Bonzini wrote: Il 30/05/2013 09:44, Alexey Kardashevskiy ha scritto: Hi! I found the migration broken on pseries platform, speci

Re: [Qemu-devel] broken incoming migration

2013-06-04 Thread Peter Lieven
Am 05.06.2013 um 05:37 schrieb Alexey Kardashevskiy : > On 06/05/2013 05:15 AM, Peter Lieven wrote: >> >> Am 04.06.2013 um 17:17 schrieb Paolo Bonzini : >> >>> Il 04/06/2013 16:48, Peter Lieven ha scritto: Still using 3.2, but strange enough the above example is also not increasing RS

Re: [Qemu-devel] broken incoming migration

2013-06-04 Thread Alexey Kardashevskiy
On 06/05/2013 05:15 AM, Peter Lieven wrote: > > Am 04.06.2013 um 17:17 schrieb Paolo Bonzini : > >> Il 04/06/2013 16:48, Peter Lieven ha scritto: >>> Still using 3.2, but strange enough the above example is also not >>> increasing RSS size for me. >>> >>> Can you try the following: >>> qemu git m

Re: [Qemu-devel] broken incoming migration

2013-06-04 Thread Peter Lieven
Am 04.06.2013 um 17:17 schrieb Paolo Bonzini : > Il 04/06/2013 16:48, Peter Lieven ha scritto: >> Still using 3.2, but strange enough the above example is also not >> increasing RSS size for me. >> >> Can you try the following: >> qemu git master with 1G of memory (hanging in bios with no boot d

Re: [Qemu-devel] broken incoming migration

2013-06-04 Thread Paolo Bonzini
Il 04/06/2013 16:48, Peter Lieven ha scritto: > Still using 3.2, but strange enough the above example is also not > increasing RSS size for me. > > Can you try the following: > qemu git master with 1G of memory (hanging in bios with no boot device) > and migrate it. Before migration RSS Size os so

Re: [Qemu-devel] broken incoming migration

2013-06-04 Thread Peter Lieven
On 04.06.2013 16:40, Paolo Bonzini wrote: Il 04/06/2013 16:38, Peter Lieven ha scritto: On 04.06.2013 16:14, Paolo Bonzini wrote: Il 04/06/2013 15:52, Peter Lieven ha scritto: On 30.05.2013 16:41, Paolo Bonzini wrote: Il 30/05/2013 16:38, Peter Lieven ha scritto: You could also scan the page

Re: [Qemu-devel] broken incoming migration

2013-06-04 Thread Peter Lieven
On 04.06.2013 16:40, Paolo Bonzini wrote: Il 04/06/2013 16:38, Peter Lieven ha scritto: On 04.06.2013 16:14, Paolo Bonzini wrote: Il 04/06/2013 15:52, Peter Lieven ha scritto: On 30.05.2013 16:41, Paolo Bonzini wrote: Il 30/05/2013 16:38, Peter Lieven ha scritto: You could also scan the page

Re: [Qemu-devel] broken incoming migration

2013-06-04 Thread Paolo Bonzini
Il 04/06/2013 16:38, Peter Lieven ha scritto: > On 04.06.2013 16:14, Paolo Bonzini wrote: >> Il 04/06/2013 15:52, Peter Lieven ha scritto: >>> On 30.05.2013 16:41, Paolo Bonzini wrote: Il 30/05/2013 16:38, Peter Lieven ha scritto: >>> You could also scan the page for nonzero values before

Re: [Qemu-devel] broken incoming migration

2013-06-04 Thread Peter Lieven
On 04.06.2013 16:14, Paolo Bonzini wrote: Il 04/06/2013 15:52, Peter Lieven ha scritto: On 30.05.2013 16:41, Paolo Bonzini wrote: Il 30/05/2013 16:38, Peter Lieven ha scritto: You could also scan the page for nonzero values before writing it. i had this in mind, but then choosed the other app

Re: [Qemu-devel] broken incoming migration

2013-06-04 Thread Paolo Bonzini
Il 04/06/2013 15:52, Peter Lieven ha scritto: > On 30.05.2013 16:41, Paolo Bonzini wrote: >> Il 30/05/2013 16:38, Peter Lieven ha scritto: > You could also scan the page for nonzero values before writing it. >>> i had this in mind, but then choosed the other approach turned >>> out to be a

Re: [Qemu-devel] broken incoming migration

2013-06-04 Thread Peter Lieven
On 30.05.2013 16:41, Paolo Bonzini wrote: Il 30/05/2013 16:38, Peter Lieven ha scritto: You could also scan the page for nonzero values before writing it. i had this in mind, but then choosed the other approach turned out to be a bad idea. alexey: i will prepare a patch later today, could

Re: [Qemu-devel] broken incoming migration

2013-06-04 Thread Peter Lieven
On 03.06.2013 12:04, Alexey Kardashevskiy wrote: On 05/31/2013 12:38 AM, Peter Lieven wrote: Am 30.05.2013 um 15:41 schrieb "Paolo Bonzini" : Il 30/05/2013 11:08, Peter Lieven ha scritto: Am 30.05.2013 10:18, schrieb Alexey Kardashevskiy: On 05/30/2013 05:49 PM, Paolo Bonzini wrote: Il 30

Re: [Qemu-devel] broken incoming migration

2013-06-03 Thread Alexey Kardashevskiy
On 05/31/2013 12:38 AM, Peter Lieven wrote: > > > > Am 30.05.2013 um 15:41 schrieb "Paolo Bonzini" : > >> Il 30/05/2013 11:08, Peter Lieven ha scritto: >>> Am 30.05.2013 10:18, schrieb Alexey Kardashevskiy: On 05/30/2013 05:49 PM, Paolo Bonzini wrote: > Il 30/05/2013 09:44, Alexey Kard

Re: [Qemu-devel] broken incoming migration

2013-05-30 Thread Paolo Bonzini
Il 30/05/2013 16:38, Peter Lieven ha scritto: >> > You could also scan the page for nonzero values before writing it. > i had this in mind, but then choosed the other approach turned out to be > a bad idea. > > alexey: i will prepare a patch later today, could you then please verify it > fix

Re: [Qemu-devel] broken incoming migration

2013-05-30 Thread Peter Lieven
Am 30.05.2013 um 15:41 schrieb "Paolo Bonzini" : > Il 30/05/2013 11:08, Peter Lieven ha scritto: >> Am 30.05.2013 10:18, schrieb Alexey Kardashevskiy: >>> On 05/30/2013 05:49 PM, Paolo Bonzini wrote: Il 30/05/2013 09:44, Alexey Kardashevskiy ha scritto: > Hi! > > I found the m

Re: [Qemu-devel] broken incoming migration

2013-05-30 Thread Paolo Bonzini
Il 30/05/2013 15:38, Alexey Kardashevskiy ha scritto: >>> does this problem only occur on pseries emulation? >> >> Probably not. On a PC, it would occur if you had 4K of zeros in the >> source BIOS but not in the destination BIOS. When you reboot, the BIOS >> image is wrong. >> >>> not sending ze

Re: [Qemu-devel] broken incoming migration

2013-05-30 Thread Alexey Kardashevskiy
On 05/30/2013 11:00 PM, Paolo Bonzini wrote: > Il 30/05/2013 11:08, Peter Lieven ha scritto: >> Am 30.05.2013 10:18, schrieb Alexey Kardashevskiy: >>> On 05/30/2013 05:49 PM, Paolo Bonzini wrote: Il 30/05/2013 09:44, Alexey Kardashevskiy ha scritto: > Hi! > > I found the migration

Re: [Qemu-devel] broken incoming migration

2013-05-30 Thread Paolo Bonzini
Il 30/05/2013 11:08, Peter Lieven ha scritto: > Am 30.05.2013 10:18, schrieb Alexey Kardashevskiy: >> On 05/30/2013 05:49 PM, Paolo Bonzini wrote: >>> Il 30/05/2013 09:44, Alexey Kardashevskiy ha scritto: Hi! I found the migration broken on pseries platform, specifically, this patch

Re: [Qemu-devel] broken incoming migration

2013-05-30 Thread Peter Maydell
On 30 May 2013 08:44, Alexey Kardashevskiy wrote: > I found the migration broken on pseries platform, specifically, this patch > broke it: > > f1c72795af573b24a7da5eb52375c9aba8a37972 > migration: do not sent zero pages in bulk stage > > The idea is not to send zero pages to the destination guest

Re: [Qemu-devel] broken incoming migration

2013-05-30 Thread Alexey Kardashevskiy
On 05/30/2013 07:08 PM, Peter Lieven wrote: > Am 30.05.2013 10:18, schrieb Alexey Kardashevskiy: >> On 05/30/2013 05:49 PM, Paolo Bonzini wrote: >>> Il 30/05/2013 09:44, Alexey Kardashevskiy ha scritto: Hi! I found the migration broken on pseries platform, specifically, this patch >>

Re: [Qemu-devel] broken incoming migration

2013-05-30 Thread Peter Lieven
Am 30.05.2013 10:18, schrieb Alexey Kardashevskiy: > On 05/30/2013 05:49 PM, Paolo Bonzini wrote: >> Il 30/05/2013 09:44, Alexey Kardashevskiy ha scritto: >>> Hi! >>> >>> I found the migration broken on pseries platform, specifically, this patch >>> broke it: >>> >>> f1c72795af573b24a7da5eb52375c9a

Re: [Qemu-devel] broken incoming migration

2013-05-30 Thread Alexey Kardashevskiy
On 05/30/2013 05:49 PM, Paolo Bonzini wrote: > Il 30/05/2013 09:44, Alexey Kardashevskiy ha scritto: >> Hi! >> >> I found the migration broken on pseries platform, specifically, this patch >> broke it: >> >> f1c72795af573b24a7da5eb52375c9aba8a37972 >> migration: do not sent zero pages in bulk stage

Re: [Qemu-devel] broken incoming migration

2013-05-30 Thread Paolo Bonzini
Il 30/05/2013 09:44, Alexey Kardashevskiy ha scritto: > Hi! > > I found the migration broken on pseries platform, specifically, this patch > broke it: > > f1c72795af573b24a7da5eb52375c9aba8a37972 > migration: do not sent zero pages in bulk stage > > The idea is not to send zero pages to the dest

Re: [Qemu-devel] broken incoming migration

2013-05-30 Thread Alexey Kardashevskiy
Forgot some cc:. On 05/30/2013 05:44 PM, Alexey Kardashevskiy wrote: > Hi! > > I found the migration broken on pseries platform, specifically, this patch > broke it: > > f1c72795af573b24a7da5eb52375c9aba8a37972 > migration: do not sent zero pages in bulk stage > > The idea is not to send zero p

[Qemu-devel] broken incoming migration

2013-05-30 Thread Alexey Kardashevskiy
Hi! I found the migration broken on pseries platform, specifically, this patch broke it: f1c72795af573b24a7da5eb52375c9aba8a37972 migration: do not sent zero pages in bulk stage The idea is not to send zero pages to the destination guest which is expected to have 100% empty RAM. However on pser