From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhF1c-0008Iv-29 for qemu-devel@nongnu.org; Mon, 05 May 2014 05:17:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhF1V-0005yw-P9 for qemu-devel@nongnu.org; Mon, 05 May 2014 05:17:28 -0400 Received: from mail-yh0-f41.google.com ([209.85.213.41]:58361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhF1V-0005yp-LE for qemu-devel@nongnu.org; Mon, 05 May 2014 05:17:21 -0400 Received: by mail-yh0-f41.google.com with SMTP id f73so1083694yha.28 for ; Mon, 05 May 2014 02:17:21 -0700 (PDT) Message-ID: <5367571D.6010207@ozlabs.ru> Date: Mon, 05 May 2014 19:17:17 +1000 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <1395892646-30283-1-git-send-email-aik@ozlabs.ru> <87siq4rp5b.fsf@blackfin.pond.sub.org> <53494FD0.8020009@ozlabs.ru> <53604D73.1040905@ozlabs.ru> In-Reply-To: <53604D73.1040905@ozlabs.ru> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] migration: Increase default max_downtime from 30ms to 300ms List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Paolo Bonzini , Juan Quintela , qemu-devel@nongnu.org, "Dr . David Alan Gilbert" On 04/30/2014 11:10 AM, Alexey Kardashevskiy wrote: > On 04/13/2014 12:38 AM, Alexey Kardashevskiy wrote: >> On 03/27/2014 08:01 PM, Markus Armbruster wrote: >>> Adding Juan. >> >> >> Ping? > > > Ping? > > Ping? >> >>> >>> Alexey Kardashevskiy writes: >>> >>>> The existing timeout is 30ms which on 100MB/s (1Gbit) gives us >>>> 3MB/s rate maximum. If we put some load on the guest, it is easy to >>>> get page dirtying rate too big so live migration will never complete. >>>> In the case of libvirt that means that the guest will be stopped >>>> anyway after a timeout specified in the "virsh migrate" command and >>>> this normally generates even bigger delay. >>>> >>>> This changes max_downtime to 300ms which seems to be more >>>> reasonable value. >>>> >>>> Signed-off-by: Alexey Kardashevskiy >>>> --- >>>> migration.c | 2 +- >>>> 1 file changed, 1 insertion(+), 1 deletion(-) >>>> >>>> diff --git a/migration.c b/migration.c >>>> index e0e24d4..02bbce9 100644 >>>> --- a/migration.c >>>> +++ b/migration.c >>>> @@ -144,7 +144,7 @@ void process_incoming_migration(QEMUFile *f) >>>> * the choice of nanoseconds is because it is the maximum resolution that >>>> * get_clock() can achieve. It is an internal measure. All user-visible >>>> * units must be in seconds */ >>>> -static uint64_t max_downtime = 30000000; >>>> +static uint64_t max_downtime = 300000000; >>>> >>>> uint64_t migrate_max_downtime(void) >>>> { >> >> > > -- Alexey