From: Eric Blake <eblake@redhat.com>
To: Alexey Perevalov <a.perevalov@samsung.com>, qemu-devel@nongnu.org
Cc: heetae82.ahn@samsung.com, quintela@redhat.com,
dgilbert@redhat.com, peterx@redhat.com, i.maximets@samsung.com
Subject: Re: [Qemu-devel] [PATCH v12 1/6] migration: introduce postcopy-blocktime capability
Date: Tue, 2 Jan 2018 15:20:28 -0600 [thread overview]
Message-ID: <6edfb28b-09fe-5fe9-7457-ed1cf1064a89@redhat.com> (raw)
In-Reply-To: <1509369390-8285-2-git-send-email-a.perevalov@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]
On 10/30/2017 08:16 AM, Alexey Perevalov wrote:
> Right now it could be used on destination side to
> enable vCPU blocktime calculation for postcopy live migration.
> vCPU blocktime - it's time since vCPU thread was put into
> interruptible sleep, till memory page was copied and thread awake.
>
> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
> ---
> migration/migration.c | 9 +++++++++
> migration/migration.h | 1 +
> qapi/migration.json | 6 +++++-
> 3 files changed, 15 insertions(+), 1 deletion(-)
>
Is there any reason this has to be a new capability rather than
unconditionally enabled? What are the trade-offs for enabling vs.
disabling the capability that warrant it being a knob? Can we do a
better job of documenting in which cases the user would want to change
the knob from its default value, if we even need it to be a knob?
> +++ b/qapi/migration.json
> @@ -352,12 +352,16 @@
> #
> # @x-multifd: Use more than one fd for migration (since 2.11)
> #
> +# @postcopy-blocktime: Calculate downtime for postcopy live migration
> +# (since 2.11)
> +#
> # Since: 1.2
> ##
> { 'enum': 'MigrationCapability',
> 'data': ['xbzrle', 'rdma-pin-all', 'auto-converge', 'zero-blocks',
> 'compress', 'events', 'postcopy-ram', 'x-colo', 'release-ram',
> - 'block', 'return-path', 'pause-before-switchover', 'x-multifd' ] }
> + 'block', 'return-path', 'pause-before-switchover', 'x-multifd',
> + 'postcopy-blocktime' ] }
>
> ##
> # @MigrationCapabilityStatus:
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 619 bytes --]
next prev parent reply other threads:[~2018-01-02 21:20 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20171030131646eucas1p14d2fcb39b4916be2960719f68413c082@eucas1p1.samsung.com>
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 0/6] calculate blocktime for postcopy live migration Alexey Perevalov
[not found] ` <CGME20171030131647eucas1p2ea569225550a2250ee75f76b482b7498@eucas1p2.samsung.com>
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 1/6] migration: introduce postcopy-blocktime capability Alexey Perevalov
2018-01-02 20:49 ` Juan Quintela
2018-01-02 21:20 ` Eric Blake [this message]
2018-01-05 12:10 ` Alexey Perevalov
[not found] ` <CGME20171030131647eucas1p1b5fb0616e683e78fdca767d267400f50@eucas1p1.samsung.com>
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 2/6] migration: add postcopy blocktime ctx into MigrationIncomingState Alexey Perevalov
2018-01-02 20:51 ` Juan Quintela
2018-01-02 21:22 ` Eric Blake
2018-01-03 8:25 ` Juan Quintela
[not found] ` <CGME20171030131648eucas1p14830b04b73c8eb12d07b752738238b8a@eucas1p1.samsung.com>
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 3/6] migration: calculate vCPU blocktime on dst side Alexey Perevalov
2017-12-01 18:54 ` Dr. David Alan Gilbert
2018-01-02 20:53 ` Juan Quintela
[not found] ` <CGME20171030131649eucas1p1f96847d18071ffdc4ea869438edb2e12@eucas1p1.samsung.com>
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 4/6] migration: postcopy_blocktime documentation Alexey Perevalov
2018-01-03 8:18 ` Juan Quintela
[not found] ` <CGME20171030131650eucas1p11e65153f114fd66677a37751e4e82b2d@eucas1p1.samsung.com>
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 5/6] migration: add blocktime calculation into migration-test Alexey Perevalov
2018-01-03 8:19 ` Juan Quintela
[not found] ` <CGME20171030131650eucas1p183c745b845ded5e02e842582bb44fd7b@eucas1p1.samsung.com>
2017-10-30 13:16 ` [Qemu-devel] [PATCH v12 6/6] migration: add postcopy total blocktime into query-migrate Alexey Perevalov
2018-01-02 21:26 ` Eric Blake
2018-01-05 12:15 ` Alexey Perevalov
2018-01-05 16:21 ` Eric Blake
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=6edfb28b-09fe-5fe9-7457-ed1cf1064a89@redhat.com \
--to=eblake@redhat.com \
--cc=a.perevalov@samsung.com \
--cc=dgilbert@redhat.com \
--cc=heetae82.ahn@samsung.com \
--cc=i.maximets@samsung.com \
--cc=peterx@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 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).