summaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorChenLiang <chenliang88@huawei.com>2014-04-04 17:57:56 +0800
committerJuan Quintela <quintela@redhat.com>2014-05-05 22:15:03 +0200
commit8bc3923343e91902ca541112b3bdb5448f8d288e (patch)
tree2f6a005134c54ba599e21675ea93e1f2d4fcc0ae /qmp-commands.hx
parent58570ed894631904bcdbcd1e8b34479cebe2aae9 (diff)
migration: expose xbzrle cache miss rate
expose xbzrle cache miss rate Signed-off-by: ChenLiang <chenliang88@huawei.com> Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index aadcd04bb9..f437937e2c 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -2979,6 +2979,7 @@ The main json-object contains the following:
- "bytes": number of bytes transferred for XBZRLE compressed pages
- "pages": number of XBZRLE compressed pages
- "cache-miss": number of XBRZRLE page cache misses
+ - "cache-miss-rate": rate of XBRZRLE page cache misses
- "overflow": number of times XBZRLE overflows. This means
that the XBZRLE encoding was bigger than just sent the
whole page, and then we sent the whole page instead (as as
@@ -3087,6 +3088,7 @@ Examples:
"bytes":20971520,
"pages":2444343,
"cache-miss":2244,
+ "cache-miss-rate":0.123,
"overflow":34434
}
}