qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gary R Hook <grhookatwork@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Tunneled Migration with Non-Shared Storage
Date: Tue, 18 Nov 2014 10:51:39 -0600	[thread overview]
Message-ID: <546B791B.6040908@gmail.com> (raw)
In-Reply-To: <546B781B.3070309@gmail.com>

What I really need to figure out is why, when performing a migration
using non-shared storage, an entire VM is copied into memory before it’s 
sent across the wire using this method. A copy-on-read operation
is performed first, then the disk is sent, then the dirty pages, then
the RAM.

The odd thing is that non-tunneled migrations use a completely different
code path that does _not_ execute a copy-on-read first.

The problem: VMs (VM disks) that are larger than available memory can't
be migrated due to space constraints.

I'd like to disable this COR opration but I think it's important to
understand why the code is written this way. I've yet to run across any
comments that explain the need for this "extra" copy, and am looking
for background and advice.

Any insights are welcome.

-- 
Gary R Hook
Senior Kernel Engineer
NIMBOXX, Inc

       reply	other threads:[~2014-11-18 16:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <546B781B.3070309@gmail.com>
2014-11-18 16:51 ` Gary R Hook [this message]
2014-11-18 20:28   ` [Qemu-devel] Tunneled Migration with Non-Shared Storage Dr. David Alan Gilbert
2014-11-18 21:38     ` Paolo Bonzini
2014-11-19  9:35       ` Dr. David Alan Gilbert
2014-11-19 10:19         ` Paolo Bonzini
2014-11-19 10:55         ` Daniel P. Berrange
2014-11-19 20:00     ` Gary R Hook

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=546B791B.6040908@gmail.com \
    --to=grhookatwork@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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).