summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCao jin <caoj.fnst@cn.fujitsu.com>2016-09-08 19:13:58 +0800
committerJuan Quintela <quintela@trasno.org>2016-10-13 17:23:53 +0200
commit7c2b0f65cc2b6b14ad797549b8bde13aa97f6ba2 (patch)
treeea5627e0532e0cbfffd103be09cff3796f5122d0 /docs
parent2ff30257974e19ebe2a97baad32ac29c06da5fb9 (diff)
downloadqemu-7c2b0f65cc2b6b14ad797549b8bde13aa97f6ba2.tar.gz
qemu-7c2b0f65cc2b6b14ad797549b8bde13aa97f6ba2.tar.bz2
qemu-7c2b0f65cc2b6b14ad797549b8bde13aa97f6ba2.zip
docs/xbzrle: correction
1. Default cache size is 64MB. 2. Semantics correction. Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/xbzrle.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/xbzrle.txt b/docs/xbzrle.txt
index 52c8511a4c..c0a7dfd44c 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