xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Chunyan Liu <cyliu@suse.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: Discussion: Add API to retrieve migration progress
Date: Fri, 8 Nov 2013 11:13:13 +0000	[thread overview]
Message-ID: <527CC749.6000001@citrix.com> (raw)
In-Reply-To: <CAERYnobbygX-Z_KC8z3t+HnRx=DdZ5SNUc=TOPnQ8hGsrLzesw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1622 bytes --]

On 08/11/13 08:05, Chunyan Liu wrote:
> Hi, list,
>
> One customer requests that we should show migration progress bar in
> 'xl migrate' or 'virsh migrate', like '-h/--hash' option in 'rpm'
> command, so that they could see clearly what happened in migration
> period. To deal with that, we need to have a method to retrieve
> migration progress. And we hope such stuff could be finally merged to
> upstream. How do you think?

There is no sensible way to determine timing here.

A non-live migrate can be approximated based solely %age of ram
transmitted.  However, with a live migrate, the actions of the live
guest affect how long the following iteration takes, and the longer an
iteration takes, the more likely it is that further iterations will be
needed later.  Over the timescales required to live migrate a sensibly
sized guest, changed in workload in dom0 can make a meaningful
difference in time taken to send an iteration, meaning the live guest
can dirty more ram and cause a larger next iteration.

~Andrew

>
> Besides, currently, there is some debug messages about the transferred
> pages and remaining dirty pages in libxc xc_domain_save, but that
> could not be reported to upper layer. We may need a libxl API, which
> could save the migration status (that could be libxc passed to libxl
> through pipe or other way); and may need an asyncprogress callback to
> handle the async thing. Do you have any prefers about how it will be like?
>
> Regards,
> Chunyan
>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel


[-- Attachment #1.2: Type: text/html, Size: 3024 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2013-11-08 11:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-08  8:05 Discussion: Add API to retrieve migration progress Chunyan Liu
2013-11-08  8:10 ` Chunyan Liu
2013-11-08 10:17   ` Ian Campbell
2013-11-12  8:37     ` Bamvor Jian Zhang
2013-11-12  9:21       ` Ian Campbell
2013-11-08 11:13 ` Andrew Cooper [this message]
2013-11-12 11:05   ` George Dunlap
2013-11-12 11:16     ` Ian Campbell
2013-11-13  8:23       ` Chun Yan Liu
2013-11-13  8:27         ` Ian Campbell
2013-11-13  9:47           ` Chun Yan Liu
2013-11-13 10:31             ` Ian Campbell

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=527CC749.6000001@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=cyliu@suse.com \
    --cc=xen-devel@lists.xensource.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 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).