summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorXiao Guangrong2019-01-11 07:37:30 +0100
committerDr. David Alan Gilbert2019-01-23 16:51:47 +0100
commitaecbfe9c64a6005f57b2132eb29db2ba7c0993fe (patch)
tree5c1b0e10566754158d5ab04af72ea4bb7adfa5c0 /qapi
parentvmstate: constify SaveVMHandlers (diff)
downloadqemu-aecbfe9c64a6005f57b2132eb29db2ba7c0993fe.tar.gz
qemu-aecbfe9c64a6005f57b2132eb29db2ba7c0993fe.tar.xz
qemu-aecbfe9c64a6005f57b2132eb29db2ba7c0993fe.zip
migration: introduce pages-per-second
It introduces a new statistic, pages-per-second, as bandwidth or mbps is not enough to measure the performance of posting pages out as we have compression, xbzrle, which can significantly reduce the amount of the data size, instead, pages-per-second is the one we want Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com> Message-Id: <20190111063732.10484-2-xiaoguangrong@tencent.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> With typo's Eric spotted fixed
Diffstat (limited to 'qapi')
-rw-r--r--qapi/migration.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/qapi/migration.json b/qapi/migration.json
index 31b589ec26..7a795ecc16 100644
--- a/qapi/migration.json
+++ b/qapi/migration.json
@@ -41,6 +41,9 @@
#
# @multifd-bytes: The number of bytes sent through multifd (since 3.0)
#
+# @pages-per-second: the number of memory pages transferred per second
+# (Since 4.0)
+#
# Since: 0.14.0
##
{ 'struct': 'MigrationStats',
@@ -49,7 +52,7 @@
'normal-bytes': 'int', 'dirty-pages-rate' : 'int',
'mbps' : 'number', 'dirty-sync-count' : 'int',
'postcopy-requests' : 'int', 'page-size' : 'int',
- 'multifd-bytes' : 'uint64' } }
+ 'multifd-bytes' : 'uint64', 'pages-per-second' : 'uint64' } }
##
# @XBZRLECacheStats: