mbox series

[v2,00/10] Multifd Migration Compression

Message ID 20191218020119.3776-1-quintela@redhat.com (mailing list archive)
Headers show
Series Multifd Migration Compression | expand

Message

Juan Quintela Dec. 18, 2019, 2:01 a.m. UTC
[v2]
- rebase on top of previous arguments posted to the list
- introduces zlib compression
- introduces zstd compression

Please help if you know anything about zstd/zlib compression.

This puts compression on top of multifd. Advantages about current
compression:

- We copy all pages in a single packet and then compress the whole
  thing.

- We reuse the compression stream for all the packets sent through the
  same channel.

- We can select nocomp/zlib/zstd levels of compression.

Please, review.

Juan Quintela (10):
  migration: Increase default number of multifd channels to 16
  migration-test: Add migration multifd test
  migration-test: introduce functions to handle string parameters
  migration: Make multifd_save_setup() get an Error parameter
  migration: Make multifd_load_setup() get an Error parameter
  migration: Add multifd-compress parameter
  migration: Make no compression operations into its own structure
  migration: Add zlib compression multifd support
  configure: Enable test and libs for zstd
  migration: Add zstd compression multifd support

 configure                    |  30 ++
 hw/core/qdev-properties.c    |  13 +
 include/hw/qdev-properties.h |   3 +
 migration/migration.c        |  36 +-
 migration/migration.h        |   3 +-
 migration/ram.c              | 750 ++++++++++++++++++++++++++++++++++-
 migration/ram.h              |   4 +-
 migration/rdma.c             |   2 +-
 monitor/hmp-cmds.c           |  13 +
 qapi/migration.json          |  30 +-
 tests/migration-test.c       | 112 ++++++
 11 files changed, 972 insertions(+), 24 deletions(-)