[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/8] migration: improve and cleanup compression
From: |
guangrong . xiao |
Subject: |
[Qemu-devel] [PATCH 0/8] migration: improve and cleanup compression |
Date: |
Tue, 13 Mar 2018 15:57:31 +0800 |
From: Xiao Guangrong <address@hidden>
This is the first part of our work to improve compression to make it
be more useful in the production.
The first patch resolves the problem that the migration thread spends
too much CPU resource to compression memory if it jumps to a new block
that causes the network is used very deficient.
The second patch fixes the performance issue that too many VM-exits
happen during live migration if compression is being used, it is caused
by huge memory returned to kernel frequently as the memory is allocated
and freed for every signal call to compress2()
The remaining patches clean the code up dramatically
Xiao Guangrong (8):
migration: stop compressing page in migration thread
migration: stop allocating and freeing memory frequently
migration: support to detect compression and decompression errors
migration: introduce control_save_page()
migration: move calling control_save_page to the common place
migration: move calling save_zero_page to the common place
migration: introduce save_normal_page()
migration: remove ram_save_compressed_page()
migration/qemu-file.c | 38 ++++-
migration/qemu-file.h | 6 +-
migration/ram.c | 430 +++++++++++++++++++++++++++++---------------------
3 files changed, 290 insertions(+), 184 deletions(-)
--
2.14.3
- [Qemu-devel] [PATCH 0/8] migration: improve and cleanup compression,
guangrong . xiao <=
- [Qemu-devel] [PATCH 1/8] migration: stop compressing page in migration thread, guangrong . xiao, 2018/03/13
- Re: [Qemu-devel] [PATCH 1/8] migration: stop compressing page in migration thread, Dr. David Alan Gilbert, 2018/03/15
- Re: [Qemu-devel] [PATCH 1/8] migration: stop compressing page in migration thread, Xiao Guangrong, 2018/03/16
- Re: [Qemu-devel] [PATCH 1/8] migration: stop compressing page in migration thread, Dr. David Alan Gilbert, 2018/03/19
- Re: [Qemu-devel] [PATCH 1/8] migration: stop compressing page in migration thread, Peter Xu, 2018/03/21
- Re: [Qemu-devel] [PATCH 1/8] migration: stop compressing page in migration thread, Xiao Guangrong, 2018/03/22
- Re: [Qemu-devel] [PATCH 1/8] migration: stop compressing page in migration thread, Peter Xu, 2018/03/26
- Re: [Qemu-devel] [PATCH 1/8] migration: stop compressing page in migration thread, Xiao Guangrong, 2018/03/26
- Re: [Qemu-devel] [PATCH 1/8] migration: stop compressing page in migration thread, Peter Xu, 2018/03/27
- Re: [Qemu-devel] [PATCH 1/8] migration: stop compressing page in migration thread, Dr. David Alan Gilbert, 2018/03/27