Re: [Qemu-devel] [PATCH v7 3/3] Force auto-convegence of live migration

2013-06-24 Thread Paolo Bonzini
Il 24/06/2013 15:08, Chegu Vinod ha scritto: > On 6/24/2013 6:01 AM, Paolo Bonzini wrote: >> One nit and one question: >> >> Il 23/06/2013 22:11, Chegu Vinod ha scritto: >>> @@ -404,6 +413,23 @@ static void migration_bitmap_sync(void) >>> /* more than 1 second = 1000 millisecons */ >>>

Re: [Qemu-devel] [PATCH v7 3/3] Force auto-convegence of live migration

2013-06-24 Thread Chegu Vinod
On 6/24/2013 6:01 AM, Paolo Bonzini wrote: One nit and one question: Il 23/06/2013 22:11, Chegu Vinod ha scritto: @@ -404,6 +413,23 @@ static void migration_bitmap_sync(void) /* more than 1 second = 1000 millisecons */ if (end_time > start_time + 1000) { +if (migrate_aut

Re: [Qemu-devel] [PATCH v7 3/3] Force auto-convegence of live migration

2013-06-24 Thread Paolo Bonzini
One nit and one question: Il 23/06/2013 22:11, Chegu Vinod ha scritto: > @@ -404,6 +413,23 @@ static void migration_bitmap_sync(void) > > /* more than 1 second = 1000 millisecons */ > if (end_time > start_time + 1000) { > +if (migrate_auto_converge()) { > +/* The fo

[Qemu-devel] [PATCH v7 3/3] Force auto-convegence of live migration

2013-06-23 Thread Chegu Vinod
If a user chooses to turn on the auto-converge migration capability these changes detect the lack of convergence and throttle down the guest. i.e. force the VCPUs out of the guest for some duration and let the migration thread catchup and help converge. Verified the convergence using the following