xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Dan Magenheimer <dan.magenheimer@oracle.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: reliable live migration of large and busy guests
Date: Wed, 7 Nov 2012 07:10:33 -0800 (PST)	[thread overview]
Message-ID: <73e55d7f-737f-4690-8b69-0252e0b749dd@default> (raw)
In-Reply-To: <509A65D6.6050505@citrix.com>

> From: Andrew Cooper [mailto:andrew.cooper3@citrix.com]
> Subject: Re: [Xen-devel] reliable live migration of large and busy guests
> 
> On 06/11/12 23:41, Dan Magenheimer wrote:
> >> From: Andrew Cooper [mailto:andrew.cooper3@citrix.com]
> >> Sent: Tuesday, November 06, 2012 4:19 PM
> >> To: xen-devel@lists.xen.org
> >> Subject: Re: [Xen-devel] reliable live migration of large and busy guests
> >>
> >> As potential food for thought:
> >>
> >> Is there wisdom in having a new kind of live migrate which, when pausing
> >> the VM on the source host, resumes the VM on the destination host.  Xen
> >> would have to track not-yet-sent pages and pause the guest on pagefault,
> >> and request the required page as a matter of priority.
> >>
> >> The advantages of this approach would be that a timing sensitive
> >> workloads would be paused for far less time.  Even if it was frequently
> >> being paused for pagefaults, the time to get a single page over the LAN
> >> would be far quicker than the entire dirty set, at which point on
> >> resume, the interrupt paths would fire again; The timing paths would
> >> quickly become fully populated.  Further to that, a busy workload in the
> >> guest dirtying a page which has already been sent will not result in any
> >> further network traffic.
> > Something like this?
> >
> > http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.184.2368
> 
> Oh wow - something quite like that.  Thankyou very much.  I will read
> the paper in full when I get a free moment, but the abstract looks very
> interesting.

Hi Andrew --

FYI, selfballooning is now built into the Linux kernel (since about
summer of 2011, so may not be in many distros yet).  It is currently
tied to tmem (transcendent memory), which is not turned on by
default but if you start developing something like post-copy migration,
let me know.  AFAIK, there is no way to do selfballooning in
Windows (not even in userspace I think, since IIRC, unlike Linux
sysfs, there is no way to adjust the balloon size outside the
kernel... but I know nothing about Windows ;-)
 
> From an idealistic point of view, it might be quite nice to have several
> live migrate mechanisms, so the user can choose whether they value
> minimum downtime, minimum network utilisation, or maximum safety.

Agreed.  IIRC, when post-copy was suggested for Xen years ago,
Ian Pratt was against it, though I don't recall why, so Michael
Hines work was never pursued (outside of academia).  Probably
worth asking IanP before investing too much time into it.

Dan

  reply	other threads:[~2012-11-07 15:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-06 20:28 reliable live migration of large and busy guests Olaf Hering
2012-11-06 20:45 ` Keir Fraser
2012-11-06 22:18   ` Olaf Hering
2012-11-06 23:18     ` Andrew Cooper
2012-11-06 23:41       ` Dan Magenheimer
2012-11-07 13:44         ` Andrew Cooper
2012-11-07 15:10           ` Dan Magenheimer [this message]
2012-11-08 10:58             ` George Dunlap
2012-11-12 17:12               ` Dan Magenheimer
2012-11-07 14:13       ` Olaf Hering

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=73e55d7f-737f-4690-8b69-0252e0b749dd@default \
    --to=dan.magenheimer@oracle.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=xen-devel@lists.xen.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).