From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNTwR-0004fY-V2 for qemu-devel@nongnu.org; Tue, 11 Mar 2014 17:10:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNTwN-0004Gp-1O for qemu-devel@nongnu.org; Tue, 11 Mar 2014 17:10:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNTwM-0004Gb-Q9 for qemu-devel@nongnu.org; Tue, 11 Mar 2014 17:10:22 -0400 From: Juan Quintela In-Reply-To: <1394542415-5152-11-git-send-email-arei.gonglei@huawei.com> (arei gonglei's message of "Tue, 11 Mar 2014 20:53:35 +0800") References: <1394542415-5152-1-git-send-email-arei.gonglei@huawei.com> <1394542415-5152-11-git-send-email-arei.gonglei@huawei.com> Date: Tue, 11 Mar 2014 22:09:58 +0100 Message-ID: <87ob1c1ly1.fsf@elfo.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 10/10] XBZRLE: update the doc of XBZRLE Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: arei.gonglei@huawei.com Cc: ChenLiang , weidong.huang@huawei.com, qemu-devel@nongnu.org, owasserm@redhat.com, pbonzini@redhat.com wrote: > From: ChenLiang > > Signed-off-by: ChenLiang > Signed-off-by: Gonglei > --- > docs/xbzrle.txt | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/docs/xbzrle.txt b/docs/xbzrle.txt > index cc3a26a..cdf1e3e 100644 > --- a/docs/xbzrle.txt > +++ b/docs/xbzrle.txt > @@ -71,6 +71,13 @@ encoded buffer: > encoded length 24 > e9 07 0f 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 03 01 67 01 01 69 > > +The strategy of updating cache > +================================= > +Keeping the hot page in cache is effective to decrease cache missing. > +XBZRLE use a counter as the age of page. The counter will increase > +after the ram dirty bitmap syncing. When cache conflicts XBZRLE only > +replace the old page in cache. > + > Usage > ====================== > 1. Verify the destination QEMU version is able to decode the new format. You can merge this one with patch3, but not important. Thanks, Juan.