migration: show the statistics of compression
commit76e030004f7fbabc2f978e8cd44052e17abd55b2
authorXiao Guangrong <xiaoguangrong@tencent.com>
Thu, 6 Sep 2018 07:01:00 +0000 (6 15:01 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 26 Sep 2018 11:27:27 +0000 (26 12:27 +0100)
treea082f6700d63b14e26cdba005e42f06640dff2b5
parent48df9d8002914137b0a1e5c4ca4d402224f205f9
migration: show the statistics of compression

Currently, it includes:
pages: amount of pages compressed and transferred to the target VM
busy: amount of count that no free thread to compress data
busy-rate: rate of thread busy
compressed-size: amount of bytes after compression
compression-rate: rate of compressed size

Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@tencent.com>
Message-Id: <20180906070101.27280-3-xiaoguangrong@tencent.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
hmp.c
migration/migration.c
migration/ram.c
migration/ram.h
qapi/migration.json