From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: Markus Armbruster <armbru@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Juan Quintela <quintela@redhat.com>,
qemu-devel@nongnu.org,
"Dr . David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] migration: Increase default max_downtime from 30ms to 300ms
Date: Mon, 05 May 2014 19:17:17 +1000 [thread overview]
Message-ID: <5367571D.6010207@ozlabs.ru> (raw)
In-Reply-To: <53604D73.1040905@ozlabs.ru>
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 <aik@ozlabs.ru> 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 <aik@ozlabs.ru>
>>>> ---
>>>> 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
next prev parent reply other threads:[~2014-05-05 9:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-27 3:57 [Qemu-devel] [PATCH] migration: Increase default max_downtime from 30ms to 300ms Alexey Kardashevskiy
2014-03-27 9:01 ` Markus Armbruster
[not found] ` <53494FD0.8020009@ozlabs.ru>
[not found] ` <53604D73.1040905@ozlabs.ru>
2014-05-05 9:17 ` Alexey Kardashevskiy [this message]
2014-05-05 11:20 ` Juan Quintela
2014-06-04 8:13 ` Alexey Kardashevskiy
2014-06-04 10:25 ` Juan Quintela
2014-06-04 10:26 ` Paolo Bonzini
2014-06-06 12:50 ` Amit Shah
2014-06-06 16:48 ` Alexey Kardashevskiy
2014-06-09 5:22 ` Amit Shah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5367571D.6010207@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.