[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 05/51] ram: Move bitmap_sync_count into RAMState
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH 05/51] ram: Move bitmap_sync_count into RAMState |
Date: |
Wed, 29 Mar 2017 14:55:33 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Tue, Mar 28, 2017 at 12:56:06PM +0200, Juan Quintela wrote:
> Peter Xu <address@hidden> wrote:
> > On Thu, Mar 23, 2017 at 09:44:58PM +0100, Juan Quintela wrote:
> >> Signed-off-by: Juan Quintela <address@hidden>
> >> Reviewed-by: Dr. David Alan Gilbert <address@hidden>
> >
> > Reviewed-by: Peter Xu <address@hidden>
> >
> > (I see that we have MigrationStats.dirty_pages_rate which looks
> > similar to this one. Maybe one day we can merge these two?)
>
> no, this one is how many times we have synchronized the dirty bitmap
> with kvm/rest of qemu.
> dirty_pages_rame is the pages we have dirtied in some <period>.
>
> Period is not clear, it tries to be around one second, but that part is
> not specially well done.
Oh, sorry... I was trying to mean MigrationStats.dirty_sync_count, not
MigrationStats.dirty_pages_rate. I think it was introduced in:
commit 58570ed894631904bcdbcd1e8b34479cebe2aae9
Author: ChenLiang <address@hidden>
Date: Fri Apr 4 17:57:55 2014 +0800
migration: expose the bitmap_sync_count to the end
And these two variables are synchronized every time in
migration_bitmap_sync(), so looks the same. Thanks,
-- peterx
- Re: [Qemu-devel] [PATCH 01/51] ram: Update all functions comments, (continued)
[Qemu-devel] [PATCH 03/51] ram: Create RAMState, Juan Quintela, 2017/03/23
[Qemu-devel] [PATCH 06/51] ram: Move start time into RAMState, Juan Quintela, 2017/03/23
[Qemu-devel] [PATCH 05/51] ram: Move bitmap_sync_count into RAMState, Juan Quintela, 2017/03/23
[Qemu-devel] [PATCH 04/51] ram: Add dirty_rate_high_cnt to RAMState, Juan Quintela, 2017/03/23
[Qemu-devel] [PATCH 07/51] ram: Move bytes_xfer_prev into RAMState, Juan Quintela, 2017/03/23
[Qemu-devel] [PATCH 08/51] ram: Move num_dirty_pages_period into RAMState, Juan Quintela, 2017/03/23
[Qemu-devel] [PATCH 09/51] ram: Move xbzrle_cache_miss_prev into RAMState, Juan Quintela, 2017/03/23
[Qemu-devel] [PATCH 10/51] ram: Move iterations_prev into RAMState, Juan Quintela, 2017/03/23