From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaKmL-0004x8-HI for qemu-devel@nongnu.org; Tue, 24 Mar 2015 05:05:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaKmF-0002JL-Nk for qemu-devel@nongnu.org; Tue, 24 Mar 2015 05:05:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaKmF-0002JA-9h for qemu-devel@nongnu.org; Tue, 24 Mar 2015 05:05:35 -0400 Date: Tue, 24 Mar 2015 09:05:20 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20150324090519.GB2332@work-vm> References: <1424883128-9841-1-git-send-email-dgilbert@redhat.com> <1424883128-9841-39-git-send-email-dgilbert@redhat.com> <20150324045835.GC25043@voom.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150324045835.GC25043@voom.fritz.box> Subject: Re: [Qemu-devel] [PATCH v5 38/45] Don't sync dirty bitmaps in postcopy List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: aarcange@redhat.com, yamahata@private.email.ne.jp, quintela@redhat.com, qemu-devel@nongnu.org, amit.shah@redhat.com, pbonzini@redhat.com, yanghy@cn.fujitsu.com * David Gibson (david@gibson.dropbear.id.au) wrote: > On Wed, Feb 25, 2015 at 04:52:01PM +0000, Dr. David Alan Gilbert (git) wrote: > > From: "Dr. David Alan Gilbert" > > > > Once we're in postcopy the source processors are stopped and memory > > shouldn't change any more, so there's no need to look at the dirty > > map. > > > > There are two notes to this: > > 1) If we do resync and a page had changed then the page would get > > sent again, which the destination wouldn't allow (since it might > > have also modified the page) > > I'm not quite sure what you mean by "resync" in this context. I mean synchronise the raw dirty bitmap with the migration bitmap, which we normally do at every cycle through migration. > > 2) Before disabling this I'd seen very rare cases where a page had been > > marked dirtied although the memory contents are apparently identical > > > > Signed-off-by: Dr. David Alan Gilbert > > Reviewed-by: David Gibson Thanks, Dave > > -- > David Gibson | I'll have my music baroque, and my code > david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ > | _way_ _around_! > http://www.ozlabs.org/~dgibson -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK