[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 2/8] qapi/migration: Introduce x-vcpu-dirty-limit paramete
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v1 2/8] qapi/migration: Introduce x-vcpu-dirty-limit parameters |
Date: |
Fri, 02 Sep 2022 10:03:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
huangy81@chinatelecom.cn writes:
> From: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
>
> Introduce "x-vcpu-dirty-limit" migration parameter used
> to limit dirty page rate during live migration.
>
> "x-vcpu-dirty-limit" and "x-vcpu-dirty-limit-period" are
> two dirty-limit-related migration parameters, which can
> be set before and during live migration by qmp
> migrate-set-parameters.
>
> This two parameters are used to help implement the dirty
> page rate limit algo of migration.
>
> Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
[...]
> diff --git a/qapi/migration.json b/qapi/migration.json
> index 332c087..8554d33 100644
> --- a/qapi/migration.json
> +++ b/qapi/migration.json
> @@ -779,6 +779,9 @@
> # @x-vcpu-dirty-limit-period: Periodic time (ms) of dirty limit during live
> migration.
> # Defaults to 500ms. (Since 7.1)
> #
> +# @x-vcpu-dirty-limit: Dirtyrate limit (MB/s) during live migration.
> +# Defaults to 1. (Since 7.1)
> +#
> # Features:
> # @unstable: Member @x-checkpoint-delay and @x-vcpu-dirty-limit-period
> # are experimental.
> @@ -801,7 +804,8 @@
> 'max-cpu-throttle', 'multifd-compression',
> 'multifd-zlib-level', 'multifd-zstd-level',
> 'block-bitmap-mapping',
> - { 'name': 'x-vcpu-dirty-limit-period', 'features': ['unstable'] }
> ] }
> + { 'name': 'x-vcpu-dirty-limit-period', 'features': ['unstable'] },
> + 'x-vcpu-dirty-limit'] }
Shouldn't 'x-vcpu-dirty-limit-period' have feature 'unstable', too?
Same below.
>
> ##
> # @MigrateSetParameters:
> @@ -949,6 +953,9 @@
> # @x-vcpu-dirty-limit-period: Periodic time (ms) of dirty limit during live
> migration.
> # Defaults to 500ms. (Since 7.1)
> #
> +# @x-vcpu-dirty-limit: Dirtyrate limit (MB/s) during live migration.
> +# Defaults to 1. (Since 7.1)
> +#
> # Features:
> # @unstable: Member @x-checkpoint-delay and @x-vcpu-dirty-limit-period
> # are experimental.
> @@ -987,7 +994,8 @@
> '*multifd-zstd-level': 'uint8',
> '*block-bitmap-mapping': [ 'BitmapMigrationNodeAlias' ],
> '*x-vcpu-dirty-limit-period': { 'type': 'uint64',
> - 'features': [ 'unstable' ] } } }
> + 'features': [ 'unstable' ] },
> + '*x-vcpu-dirty-limit': 'uint64'} }
>
> ##
> # @migrate-set-parameters:
> @@ -1155,6 +1163,9 @@
> # @x-vcpu-dirty-limit-period: Periodic time (ms) of dirty limit during live
> migration.
> # Defaults to 500ms. (Since 7.1)
> #
> +# @x-vcpu-dirty-limit: Dirtyrate limit (MB/s) during live migration.
> +# Defaults to 1. (Since 7.1)
> +#
> # Features:
> # @unstable: Member @x-checkpoint-delay and @x-vcpu-dirty-limit-period
> # are experimental.
> @@ -1191,7 +1202,8 @@
> '*multifd-zstd-level': 'uint8',
> '*block-bitmap-mapping': [ 'BitmapMigrationNodeAlias' ],
> '*x-vcpu-dirty-limit-period': { 'type': 'uint64',
> - 'features': [ 'unstable' ] } } }
> + 'features': [ 'unstable' ] },
> + '*x-vcpu-dirty-limit': 'uint64'} }
>
> ##
> # @query-migrate-parameters:
[PATCH v1 1/8] qapi/migration: Introduce x-vcpu-dirty-limit-period parameter, huangy81, 2022/09/01
[PATCH v1 2/8] qapi/migration: Introduce x-vcpu-dirty-limit parameters, huangy81, 2022/09/01
- Re: [PATCH v1 2/8] qapi/migration: Introduce x-vcpu-dirty-limit parameters,
Markus Armbruster <=
[PATCH v1 5/8] migration: Export dirty-limit time info, huangy81, 2022/09/01
[PATCH v1 3/8] migration: Introduce dirty-limit capability, huangy81, 2022/09/01
[PATCH v1 6/8] tests: Add migration dirty-limit capability test, huangy81, 2022/09/01
[PATCH v1 7/8] tests/migration: Introduce dirty-ring-size option into guestperf, huangy81, 2022/09/01