From: Paolo Bonzini <pbonzini@redhat.com>
To: Zhang Haoyu <zhanghy@sangfor.com.cn>, qemu-devel <qemu-devel@nongnu.org>
Cc: Gleb Natapov <gleb@kernel.org>, Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] question about live migration with storage
Date: Wed, 14 Jan 2015 10:06:44 +0100 [thread overview]
Message-ID: <54B631A4.7090403@redhat.com> (raw)
In-Reply-To: <201501141558472151450@sangfor.com.cn>
On 14/01/2015 08:58, Zhang Haoyu wrote:
>> 2) Finer-grain control the parameters of block migration (dirty bitmap
>> granularity).
>>
>> 3) Block and RAM migration do not share the same socket and thus can
>> more easily be parallelized.
>>
> But, because of the parallelization, how to calculate the progress?
You can use "query-block-jobs".
> BTW, the traditional iterative mechanism is buggy-implemented?
> e.g., some bugs which are very difficult to fixed, or something?
There are no bugs that corrupt data. It's simply less flexible.
Regarding parallelization, the problems happen especially if you disable
migration bandwidth limits. Then you'll see large chunks of RAM and
large chunks of block device data being sent. This is a problem for
convergence in some workloads. Instead, with NBD-based storage migration
everything happens in parallel, and TCP makes sure that bandwidth is
split between the sockets.
If you have a migration bandwidth limit, NBD-based storage migration
will use a separate bandwidth limit for each disk and for RAM. Thus
network usage is less predictable than with block-migration.c. On the
other hand, storage migration uses a lot of network so it's usually more
likely that you do not have migration bandwidth limits.
Paolo
> Thanks,
> Zhang Haoyu
>> Note that 1-2 are not yet supported by libvirt as far as I remember.
>>
>> Paolo
>
>
>
next prev parent reply other threads:[~2015-01-14 9:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-13 1:48 [Qemu-devel] question about live migration with storage Zhang Haoyu
2015-01-13 2:03 ` Zhang Haoyu
2015-01-13 9:45 ` Paolo Bonzini
2015-01-14 2:41 ` Zhang Haoyu
2015-01-14 7:34 ` Paolo Bonzini
2015-01-14 7:58 ` Zhang Haoyu
2015-01-14 9:06 ` Paolo Bonzini [this message]
2015-01-15 3:54 ` Zhang Haoyu
2015-01-15 9:11 ` Paolo Bonzini
2015-01-15 9:56 ` Zhang Haoyu
2015-01-15 10:08 ` Paolo Bonzini
2015-03-10 2:01 ` Zhang Haoyu
2015-03-25 13:07 ` Paolo Bonzini
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=54B631A4.7090403@redhat.com \
--to=pbonzini@redhat.com \
--cc=gleb@kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=zhanghy@sangfor.com.cn \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).