* Eric Blake (eblake@xxxxxxxxxx) wrote: > On 1/11/19 12:37 AM, guangrong.xiao@xxxxxxxxx wrote: > > From: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxx> > > > > 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@xxxxxxxxxxx> > > --- > > 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@xxxxxxxxxx / Manchester, UK