From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: kvm@vger.kernel.org, mst@redhat.com, mtosatti@redhat.com,
Xiao Guangrong <xiaoguangrong@tencent.com>,
qemu-devel@nongnu.org, peterx@redhat.com, quintela@redhat.com,
wei.w.wang@intel.com, cota@braap.org, guangrong.xiao@gmail.com,
pbonzini@redhat.com
Subject: Re: [PATCH v2 1/3] migration: introduce pages-per-second
Date: Wed, 23 Jan 2019 12:51:20 +0000 [thread overview]
Message-ID: <20190123125111.GE5771@work-vm> (raw)
In-Reply-To: <fb4db77c-0cee-0f3b-d81a-0cc88d7f5406@redhat.com>
* Eric Blake (eblake@redhat.com) wrote:
> On 1/11/19 12:37 AM, guangrong.xiao@gmail.com wrote:
> > From: Xiao Guangrong <xiaoguangrong@tencent.com>
> >
> > It introduces a new statistic, pages-per-second, as bandwidth or mbps is
> > not enough to measure the performance of posting pages out as we have
> > compression, xbzrle, which can significantly reduce the amount of the
> > data size, instead, pages-per-second is the one we want
> >
> > Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com>
> > ---
> > hmp.c | 2 ++
I've queued this 1/3 and fixed these typos during the merge.
Dave
>
> > +++ b/migration/migration.h
> > @@ -126,6 +126,12 @@ struct MigrationState
> > */
> > QemuSemaphore rate_limit_sem;
> >
> > + /* pages already send at the beggining of current interation */
>
> beginning, iteration
>
> > + uint64_t iteration_initial_pages;
> > +
> > + /* pages transferred per second */
> > + double pages_per_second;
> > +
> > /* bytes already send at the beggining of current interation */
>
> although you copied the existing typos
>
> > +++ b/qapi/migration.json
> > @@ -41,6 +41,9 @@
> > #
> > # @multifd-bytes: The number of bytes sent through multifd (since 3.0)
> > #
> > +# @pages-per-second: the number of memory pages transferred per second
> > +# (Since 3.2)
> > +#
>
> 3.2 was last year; you'll need to update your series to use 4.0 on all
> new stuff
>
> --
> Eric Blake, Principal Software Engineer
> Red Hat, Inc. +1-919-301-3226
> Virtualization: qemu.org | libvirt.org
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
WARNING: multiple messages have this Message-ID (diff)
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: guangrong.xiao@gmail.com, pbonzini@redhat.com, mst@redhat.com,
mtosatti@redhat.com, qemu-devel@nongnu.org, kvm@vger.kernel.org,
peterx@redhat.com, wei.w.wang@intel.com, quintela@redhat.com,
cota@braap.org, Xiao Guangrong <xiaoguangrong@tencent.com>
Subject: Re: [Qemu-devel] [PATCH v2 1/3] migration: introduce pages-per-second
Date: Wed, 23 Jan 2019 12:51:20 +0000 [thread overview]
Message-ID: <20190123125111.GE5771@work-vm> (raw)
In-Reply-To: <fb4db77c-0cee-0f3b-d81a-0cc88d7f5406@redhat.com>
* Eric Blake (eblake@redhat.com) wrote:
> On 1/11/19 12:37 AM, guangrong.xiao@gmail.com wrote:
> > From: Xiao Guangrong <xiaoguangrong@tencent.com>
> >
> > It introduces a new statistic, pages-per-second, as bandwidth or mbps is
> > not enough to measure the performance of posting pages out as we have
> > compression, xbzrle, which can significantly reduce the amount of the
> > data size, instead, pages-per-second is the one we want
> >
> > Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com>
> > ---
> > hmp.c | 2 ++
I've queued this 1/3 and fixed these typos during the merge.
Dave
>
> > +++ b/migration/migration.h
> > @@ -126,6 +126,12 @@ struct MigrationState
> > */
> > QemuSemaphore rate_limit_sem;
> >
> > + /* pages already send at the beggining of current interation */
>
> beginning, iteration
>
> > + uint64_t iteration_initial_pages;
> > +
> > + /* pages transferred per second */
> > + double pages_per_second;
> > +
> > /* bytes already send at the beggining of current interation */
>
> although you copied the existing typos
>
> > +++ b/qapi/migration.json
> > @@ -41,6 +41,9 @@
> > #
> > # @multifd-bytes: The number of bytes sent through multifd (since 3.0)
> > #
> > +# @pages-per-second: the number of memory pages transferred per second
> > +# (Since 3.2)
> > +#
>
> 3.2 was last year; you'll need to update your series to use 4.0 on all
> new stuff
>
> --
> Eric Blake, Principal Software Engineer
> Red Hat, Inc. +1-919-301-3226
> Virtualization: qemu.org | libvirt.org
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2019-01-23 12:51 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-11 6:37 [PATCH v2 0/3] optimize waiting for free thread to do compression guangrong.xiao
2019-01-11 6:37 ` [Qemu-devel] " guangrong.xiao
2019-01-11 6:37 ` [PATCH v2 1/3] migration: introduce pages-per-second guangrong.xiao
2019-01-11 6:37 ` [Qemu-devel] " guangrong.xiao
2019-01-11 15:37 ` Eric Blake
2019-01-11 15:37 ` [Qemu-devel] " Eric Blake
2019-01-23 12:51 ` Dr. David Alan Gilbert [this message]
2019-01-23 12:51 ` Dr. David Alan Gilbert
2019-01-23 12:34 ` Dr. David Alan Gilbert
2019-01-23 12:34 ` [Qemu-devel] " Dr. David Alan Gilbert
2019-01-11 6:37 ` [PATCH v2 2/3] migration: fix memory leak when updating tls-creds and tls-hostname guangrong.xiao
2019-01-11 6:37 ` [Qemu-devel] " guangrong.xiao
2019-01-15 7:51 ` Peter Xu
2019-01-15 7:51 ` [Qemu-devel] " Peter Xu
2019-01-15 10:24 ` Dr. David Alan Gilbert
2019-01-15 10:24 ` [Qemu-devel] " Dr. David Alan Gilbert
2019-01-15 16:03 ` Eric Blake
2019-01-15 16:03 ` [Qemu-devel] " Eric Blake
2019-01-16 5:55 ` Peter Xu
2019-01-16 5:55 ` [Qemu-devel] " Peter Xu
2019-02-18 8:26 ` Xiao Guangrong
2019-02-18 8:26 ` [Qemu-devel] " Xiao Guangrong
2019-01-11 6:37 ` [PATCH v2 3/3] migration: introduce adaptive model for waiting thread guangrong.xiao
2019-01-11 6:37 ` [Qemu-devel] " guangrong.xiao
2019-01-11 9:57 ` Markus Armbruster
2019-01-11 9:57 ` [Qemu-devel] " Markus Armbruster
2019-02-18 8:47 ` Xiao Guangrong
2019-02-18 8:47 ` [Qemu-devel] " Xiao Guangrong
2019-01-16 6:40 ` Peter Xu
2019-01-16 6:40 ` [Qemu-devel] " Peter Xu
2019-02-18 9:01 ` Xiao Guangrong
2019-02-18 9:01 ` [Qemu-devel] " Xiao Guangrong
2019-01-11 9:53 ` [PATCH v2 0/3] optimize waiting for free thread to do compression Markus Armbruster
2019-01-11 9:53 ` [Qemu-devel] " Markus Armbruster
2019-01-13 14:43 ` no-reply
2019-01-13 14:43 ` [Qemu-devel] " no-reply
2019-01-13 17:41 ` no-reply
2019-01-13 17:41 ` [Qemu-devel] " no-reply
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=20190123125111.GE5771@work-vm \
--to=dgilbert@redhat.com \
--cc=cota@braap.org \
--cc=eblake@redhat.com \
--cc=guangrong.xiao@gmail.com \
--cc=kvm@vger.kernel.org \
--cc=mst@redhat.com \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=wei.w.wang@intel.com \
--cc=xiaoguangrong@tencent.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.