[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V5 5/9] migration: introduce postcopy-blocktime
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH V5 5/9] migration: introduce postcopy-blocktime capability |
Date: |
Mon, 22 May 2017 11:20:13 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 05/12/2017 08:31 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.
>
> Signed-off-by: Alexey Perevalov <address@hidden>
> ---
> include/migration/migration.h | 1 +
> migration/migration.c | 9 +++++++++
> qapi-schema.json | 5 ++++-
> 3 files changed, 14 insertions(+), 1 deletion(-)
>
> +++ b/qapi-schema.json
> @@ -894,11 +894,14 @@
> # @release-ram: if enabled, qemu will free the migrated ram pages on the
> source
> # during postcopy-ram migration. (since 2.9)
> #
> +# @postcopy-blocktime: Calculate downtime for postcopy live migration (since
> 2.10)
> +#
> # Since: 1.2
> ##
> { 'enum': 'MigrationCapability',
> 'data': ['xbzrle', 'rdma-pin-all', 'auto-converge', 'zero-blocks',
> - 'compress', 'events', 'postcopy-ram', 'x-colo', 'release-ram'] }
> + 'compress', 'events', 'postcopy-ram', 'x-colo', 'release-ram',
> + 'postcopy-blocktime'] }
Why does this need to be a capability that we have to turn on, and not
something that is collected unconditionally? Is there a drawback to
having the stat collection always enabled without a capability?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
Message not available
Message not available
Message not available
Message not available
- [Qemu-devel] [PATCH V5 7/9] migration: calculate vCPU blocktime on dst side, Alexey Perevalov, 2017/05/12
- Re: [Qemu-devel] [PATCH V5 7/9] migration: calculate vCPU blocktime on dst side, Dr. David Alan Gilbert, 2017/05/16
- Re: [Qemu-devel] [PATCH V5 7/9] migration: calculate vCPU blocktime on dst side, Alexey, 2017/05/16
- Re: [Qemu-devel] [PATCH V5 7/9] migration: calculate vCPU blocktime on dst side, Alexey, 2017/05/18
- Re: [Qemu-devel] [PATCH V5 7/9] migration: calculate vCPU blocktime on dst side, Dr. David Alan Gilbert, 2017/05/19