mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
Add XBZRLE statistics
Signed-off-by: Benoit Hudzia <benoit.hudzia@sap.com> Signed-off-by: Petter Svard <petters@cs.umu.se> Signed-off-by: Aidan Shribman <aidan.shribman@sap.com> Signed-off-by: Orit Wasserman <owasserm@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
004d4c10ae
commit
f36d55af74
6 changed files with 122 additions and 2 deletions
|
@ -2133,7 +2133,13 @@ The main json-object contains the following:
|
|||
- "transferred": amount transferred (json-int)
|
||||
- "remaining": amount remaining (json-int)
|
||||
- "total": total (json-int)
|
||||
|
||||
- "xbzrle-cache": only present if XBZRLE is active.
|
||||
It is a json-object with the following XBZRLE information:
|
||||
- "cache-size": XBZRLE cache size
|
||||
- "bytes": total XBZRLE bytes transferred
|
||||
- "pages": number of XBZRLE compressed pages
|
||||
- "cache-miss": number of cache misses
|
||||
- "overflow": number of XBZRLE overflows
|
||||
Examples:
|
||||
|
||||
1. Before the first migration
|
||||
|
@ -2204,6 +2210,32 @@ Examples:
|
|||
}
|
||||
}
|
||||
|
||||
6. Migration is being performed and XBZRLE is active:
|
||||
|
||||
-> { "execute": "query-migrate" }
|
||||
<- {
|
||||
"return":{
|
||||
"status":"active",
|
||||
"capabilities" : [ { "capability": "xbzrle", "state" : true } ],
|
||||
"ram":{
|
||||
"total":1057024,
|
||||
"remaining":1053304,
|
||||
"transferred":3720,
|
||||
"total-time":12345,
|
||||
"duplicate":10,
|
||||
"normal":3333,
|
||||
"normal-bytes":3412992
|
||||
},
|
||||
"xbzrle-cache":{
|
||||
"cache-size":67108864,
|
||||
"bytes":20971520,
|
||||
"pages":2444343,
|
||||
"cache-miss":2244,
|
||||
"overflow":34434
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
EQMP
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue