[PATCH v3 0/6] Eliminate multifd flush

Juan Quintela posted 6 patches 1 year, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230208133010.17323-1-quintela@redhat.com
Maintainers: Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Juan Quintela <quintela@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>
There is a newer version of this series
qapi/migration.json   |   9 +++-
migration/migration.h |   1 +
hw/core/machine.c     |   1 +
migration/migration.c |  13 +++++-
migration/ram.c       | 100 +++++++++++++++++++++++++++++-------------
5 files changed, 91 insertions(+), 33 deletions(-)
[PATCH v3 0/6] Eliminate multifd flush
Posted by Juan Quintela 1 year, 2 months ago
Hi

In this v3:
- update to latest upstream.
- fix checkpatch errors.

Please, review.

In this v2:
- update to latest upstream
- change 0, 1, 2 values to defines
- Add documentation for SAVE_VM_FLAGS
- Add missing qemu_fflush(), it made random hangs for migration test
  (only for tls, no clue why).

Please, review.

[v1]
Upstream multifd code synchronize all threads after each RAM section.  This is suboptimal.
Change it to only flush after we go trough all ram.

Preserve all semantics for old machine types.

Juan Quintela (6):
  multifd: Create property multifd-sync-after-each-section
  multifd: Protect multifd_send_sync_main() calls
  migration: Simplify ram_find_and_save_block()
  migration: Make find_dirty_block() return a single parameter
  multifd: Only sync once each full round of memory
  ram: Document migration ram flags

 qapi/migration.json   |   9 +++-
 migration/migration.h |   1 +
 hw/core/machine.c     |   1 +
 migration/migration.c |  13 +++++-
 migration/ram.c       | 100 +++++++++++++++++++++++++++++-------------
 5 files changed, 91 insertions(+), 33 deletions(-)

-- 
2.39.1