[PATCH v2 00/10] Multifd Migration Compression

Juan Quintela posted 10 patches 4 years, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20191218020119.3776-1-quintela@redhat.com
Test asan failed
Test checkpatch failed
Test FreeBSD failed
Test docker-mingw@fedora failed
Test docker-clang@ubuntu failed
Test docker-quick@centos7 failed
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Juan Quintela <quintela@redhat.com>, Markus Armbruster <armbru@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Eric Blake <eblake@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>
There is a newer version of this series
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(-)
[PATCH v2 00/10] Multifd Migration Compression
Posted by Juan Quintela 4 years, 4 months ago
[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(-)

-- 
2.23.0