[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 2/7] migration/multifd: Implement zero page transmission o
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v4 2/7] migration/multifd: Implement zero page transmission on the multifd thread. |
Date: |
Fri, 01 Mar 2024 08:28:29 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hao Xiang <hao.xiang@bytedance.com> writes:
> 1. Add zero_pages field in MultiFDPacket_t.
> 2. Implements the zero page detection and handling on the multifd
> threads for non-compression, zlib and zstd compression backends.
> 3. Added a new value 'multifd' in ZeroPageDetection enumeration.
> 4. Handle migration QEMU9.0 -> QEMU8.2 compatibility.
> 5. Adds zero page counters and updates multifd send/receive tracing
> format to track the newly added counters.
>
> Signed-off-by: Hao Xiang <hao.xiang@bytedance.com>
[...]
> diff --git a/qapi/migration.json b/qapi/migration.json
> index 8da05dba47..846d0411d5 100644
> --- a/qapi/migration.json
> +++ b/qapi/migration.json
> @@ -671,10 +671,15 @@
> #
> # @legacy: Perform zero page checking in main migration thread.
> #
> +# @multifd: Perform zero page checking in multifd sender thread.
> +# This option only takes effect if migration capability multifd
> +# is set. Otherwise, it will have the same effect as legacy.
Suggest
# @multifd: Perform zero page checking in multifd sender thread if
# multifd migration is enabled, else in the main migration
# thread as for @legacy.
Thoughts?
> +#
> # Since: 9.0
> +#
> ##
> { 'enum': 'ZeroPageDetection',
> - 'data': [ 'none', 'legacy' ] }
> + 'data': [ 'none', 'legacy', 'multifd' ] }
>
> ##
> # @BitmapMigrationBitmapAliasTransform:
QAPI schema
Acked-by: Markus Armbruster <armbru@redhat.com>
- Re: [PATCH v4 2/7] migration/multifd: Implement zero page transmission on the multifd thread.,
Markus Armbruster <=
Message not available