From: Eric Blake <eblake@redhat.com>
To: huangy81@chinatelecom.cn
Cc: Eduardo Habkost <ehabkost@redhat.com>,
Juan Quintela <quintela@redhat.com>,
qemu-devel@nongnu.org, Peter Xu <peterx@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
Chuan Zheng <zhengchuan@huawei.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH v7 2/2] migration/dirtyrate: implement dirty-bitmap dirtyrate calculation
Date: Thu, 4 Nov 2021 15:50:46 -0500 [thread overview]
Message-ID: <20211104205046.sen2xsk3zyfv4bdw@redhat.com> (raw)
In-Reply-To: <7397a1b19b8b520aaa9612bb410bf2d20daf5147.1626794163.git.huangy81@chinatelecom.cn>
On Tue, Jul 20, 2021 at 11:19:17PM +0800, huangy81@chinatelecom.cn wrote:
> From: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
>
> introduce dirty-bitmap mode as the third method of calc-dirty-rate.
> implement dirty-bitmap dirtyrate calculation, which can be used
> to measuring dirtyrate in the absence of dirty-ring.
>
> introduce "dirty_bitmap:-b" option in hmp calc_dirty_rate to
> indicate dirty bitmap method should be used for calculation.
>
> Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
> ---
> +++ b/qapi/migration.json
> @@ -1747,13 +1747,15 @@
> #
> # @page-sampling: calculate dirtyrate by sampling pages.
> #
> -# @dirty-ring: calculate dirtyrate by via dirty ring.
> +# @dirty-ring: calculate dirtyrate by dirty ring.
> +#
> +# @dirty-bitmap: calculate dirtyrate by dirty bitmap.
Missing a '(since 6.2)' tag.
> #
> # Since: 6.1
> #
> ##
> { 'enum': 'DirtyRateMeasureMode',
> - 'data': ['page-sampling', 'dirty-ring'] }
> + 'data': ['page-sampling', 'dirty-ring', 'dirty-bitmap'] }
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
next prev parent reply other threads:[~2021-11-04 20:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-20 15:19 [PATCH v7 0/2] support dirtyrate measurement with dirty bitmap huangy81
2021-07-20 15:19 ` [PATCH v7 1/2] memory: introduce total_dirty_pages to stat dirty pages huangy81
2021-11-01 22:30 ` Juan Quintela
2021-07-20 15:19 ` [PATCH v7 2/2] migration/dirtyrate: implement dirty-bitmap dirtyrate calculation huangy81
2021-11-04 20:50 ` Eric Blake [this message]
2021-07-21 18:50 ` [PATCH v7 0/2] support dirtyrate measurement with dirty bitmap Peter Xu
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=20211104205046.sen2xsk3zyfv4bdw@redhat.com \
--to=eblake@redhat.com \
--cc=dgilbert@redhat.com \
--cc=ehabkost@redhat.com \
--cc=huangy81@chinatelecom.cn \
--cc=pbonzini@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=zhengchuan@huawei.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).