From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boSzu-0003K3-TN for qemu-devel@nongnu.org; Mon, 26 Sep 2016 06:18:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boSzq-0006Lc-IH for qemu-devel@nongnu.org; Mon, 26 Sep 2016 06:18:53 -0400 Received: from [59.151.112.132] (port=40032 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boSzq-0006Fm-6O for qemu-devel@nongnu.org; Mon, 26 Sep 2016 06:18:50 -0400 References: <1473333238-3307-1-git-send-email-caoj.fnst@cn.fujitsu.com> From: Cao jin Message-ID: <57E8F626.8020505@cn.fujitsu.com> Date: Mon, 26 Sep 2016 18:19:18 +0800 MIME-Version: 1.0 In-Reply-To: <1473333238-3307-1-git-send-email-caoj.fnst@cn.fujitsu.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] docs/xbzrle: correction List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: amit.shah@redhat.com, owasserm@redhat.com ping On 09/08/2016 07:13 PM, Cao jin wrote: > 1. Default cache size is 64MB. > 2. Semantics correction. > > Signed-off-by: Cao jin > --- > docs/xbzrle.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/docs/xbzrle.txt b/docs/xbzrle.txt > index 52c8511..c0a7dfd 100644 > --- a/docs/xbzrle.txt > +++ b/docs/xbzrle.txt > @@ -42,7 +42,7 @@ nzrun = length byte... > length = uleb128 encoded integer > > On the sender side XBZRLE is used as a compact delta encoding of page updates, > -retrieving the old page content from the cache (default size of 512 MB). The > +retrieving the old page content from the cache (default size of 64MB). The > receiving side uses the existing page's content and XBZRLE to decode the new > page's content. > > @@ -73,7 +73,7 @@ e9 07 0f 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 03 01 67 01 01 69 > > Cache update strategy > ===================== > -Keeping the hot pages in the cache is effective for decreased cache > +Keeping the hot pages in the cache is effective for decreasing cache > misses. XBZRLE uses a counter as the age of each page. The counter will > increase after each ram dirty bitmap sync. When a cache conflict is > detected, XBZRLE will only evict pages in the cache that are older than > -- Yours Sincerely, Cao jin