Re: [Qemu-devel] [PATCH v2 3/8] migration: show the statistics of compression

2018-07-25 Thread Peter Xu
On Wed, Jul 25, 2018 at 05:44:02PM +0100, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > On Mon, Jul 23, 2018 at 03:39:18PM +0800, Xiao Guangrong wrote: > > > > > > > > > On 07/23/2018 12:36 PM, Peter Xu wrote: > > > > On Thu, Jul 19, 2018 at 08:15:15PM +0800, guangrong

Re: [Qemu-devel] [PATCH v2 3/8] migration: show the statistics of compression

2018-07-25 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > On Mon, Jul 23, 2018 at 03:39:18PM +0800, Xiao Guangrong wrote: > > > > > > On 07/23/2018 12:36 PM, Peter Xu wrote: > > > On Thu, Jul 19, 2018 at 08:15:15PM +0800, guangrong.x...@gmail.com wrote: > > > > @@ -1597,6 +1608,24 @@ static void migration_update_r

Re: [Qemu-devel] [PATCH v2 3/8] migration: show the statistics of compression

2018-07-24 Thread Xiao Guangrong
On 07/23/2018 05:15 PM, Peter Xu wrote: On Mon, Jul 23, 2018 at 04:40:29PM +0800, Xiao Guangrong wrote: On 07/23/2018 04:05 PM, Peter Xu wrote: On Mon, Jul 23, 2018 at 03:39:18PM +0800, Xiao Guangrong wrote: On 07/23/2018 12:36 PM, Peter Xu wrote: On Thu, Jul 19, 2018 at 08:15:15PM +08

Re: [Qemu-devel] [PATCH v2 3/8] migration: show the statistics of compression

2018-07-23 Thread Peter Xu
On Mon, Jul 23, 2018 at 04:40:29PM +0800, Xiao Guangrong wrote: > > > On 07/23/2018 04:05 PM, Peter Xu wrote: > > On Mon, Jul 23, 2018 at 03:39:18PM +0800, Xiao Guangrong wrote: > > > > > > > > > On 07/23/2018 12:36 PM, Peter Xu wrote: > > > > On Thu, Jul 19, 2018 at 08:15:15PM +0800, guangrong

Re: [Qemu-devel] [PATCH v2 3/8] migration: show the statistics of compression

2018-07-23 Thread Xiao Guangrong
On 07/23/2018 04:05 PM, Peter Xu wrote: On Mon, Jul 23, 2018 at 03:39:18PM +0800, Xiao Guangrong wrote: On 07/23/2018 12:36 PM, Peter Xu wrote: On Thu, Jul 19, 2018 at 08:15:15PM +0800, guangrong.x...@gmail.com wrote: @@ -1597,6 +1608,24 @@ static void migration_update_rates(RAMState *rs,

Re: [Qemu-devel] [PATCH v2 3/8] migration: show the statistics of compression

2018-07-23 Thread Peter Xu
On Mon, Jul 23, 2018 at 03:39:18PM +0800, Xiao Guangrong wrote: > > > On 07/23/2018 12:36 PM, Peter Xu wrote: > > On Thu, Jul 19, 2018 at 08:15:15PM +0800, guangrong.x...@gmail.com wrote: > > > @@ -1597,6 +1608,24 @@ static void migration_update_rates(RAMState *rs, > > > int64_t end_time) > > >

Re: [Qemu-devel] [PATCH v2 3/8] migration: show the statistics of compression

2018-07-23 Thread Xiao Guangrong
On 07/23/2018 12:36 PM, Peter Xu wrote: On Thu, Jul 19, 2018 at 08:15:15PM +0800, guangrong.x...@gmail.com wrote: @@ -1597,6 +1608,24 @@ static void migration_update_rates(RAMState *rs, int64_t end_time) rs->xbzrle_cache_miss_prev) / iter_count; rs->xbzrle_cache_miss_

Re: [Qemu-devel] [PATCH v2 3/8] migration: show the statistics of compression

2018-07-22 Thread Peter Xu
On Thu, Jul 19, 2018 at 08:15:15PM +0800, guangrong.x...@gmail.com wrote: > @@ -1597,6 +1608,24 @@ static void migration_update_rates(RAMState *rs, > int64_t end_time) > rs->xbzrle_cache_miss_prev) / iter_count; > rs->xbzrle_cache_miss_prev = xbzrle_counters.cache_miss; >

[Qemu-devel] [PATCH v2 3/8] migration: show the statistics of compression

2018-07-19 Thread guangrong . xiao
From: Xiao Guangrong Currently, it includes: pages: amount of pages compressed and transferred to the target VM busy: amount of count that no free thread to compress data busy-rate: rate of thread busy reduced-size: amount of bytes reduced by compression compression-rate: rate of compressed size