Skip to content

Commit 7c2b0f6

Browse files
Cao jinjuanquintela
Cao jin
authored andcommitted
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>
1 parent 2ff3025 commit 7c2b0f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/xbzrle.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ nzrun = length byte...
4242
length = uleb128 encoded integer
4343

4444
On the sender side XBZRLE is used as a compact delta encoding of page updates,
45-
retrieving the old page content from the cache (default size of 512 MB). The
45+
retrieving the old page content from the cache (default size of 64MB). The
4646
receiving side uses the existing page's content and XBZRLE to decode the new
4747
page's content.
4848

@@ -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
7373

7474
Cache update strategy
7575
=====================
76-
Keeping the hot pages in the cache is effective for decreased cache
76+
Keeping the hot pages in the cache is effective for decreasing cache
7777
misses. XBZRLE uses a counter as the age of each page. The counter will
7878
increase after each ram dirty bitmap sync. When a cache conflict is
7979
detected, XBZRLE will only evict pages in the cache that are older than

0 commit comments

Comments
 (0)