[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 00/11] Multifd zero page support
From: |
Juan Quintela |
Subject: |
[PATCH v2 00/11] Multifd zero page support |
Date: |
Mon, 30 Jan 2023 09:09:45 +0100 |
Based on top of my next branch.
- Rebased on top of latest upstream
- Redo a lot of the packet accounting
still not completely perfect, but much better than what is upstream
Still working continuing on that.
Please review.
[v2]
- rebased on top of latest upstream
- lots of minor fixes
- start support for atomic counters
* we need to move ram_limit_used/max to migration.c
* that means fixing rdma.c
* and test-vmstate.
So I am donig that right now.
Juan Quintela (11):
migration: Update atomic stats out of the mutex
migration: Make multifd_bytes atomic
multifd: We already account for this packet on the multifd thread
multifd: Count the number of bytes sent correctly
migration: Make ram_save_target_page() a pointer
multifd: Make flags field thread local
multifd: Prepare to send a packet without the mutex held
multifd: Add capability to enable/disable zero_page
multifd: Support for zero pages transmission
multifd: Zero pages transmission
So we use multifd to transmit zero pages.
qapi/migration.json | 8 ++-
migration/migration.h | 1 +
migration/multifd.h | 36 ++++++++++--
migration/ram.h | 1 +
hw/core/machine.c | 1 +
migration/migration.c | 16 +++++-
migration/multifd.c | 123 +++++++++++++++++++++++++++++++----------
migration/ram.c | 51 +++++++++++++++--
migration/trace-events | 8 +--
9 files changed, 197 insertions(+), 48 deletions(-)
--
2.39.1
- [PATCH v2 00/11] Multifd zero page support,
Juan Quintela <=
- [PATCH v2 01/11] migration: Update atomic stats out of the mutex, Juan Quintela, 2023/01/30
- [PATCH v2 02/11] migration: Make multifd_bytes atomic, Juan Quintela, 2023/01/30
- [PATCH v2 03/11] multifd: We already account for this packet on the multifd thread, Juan Quintela, 2023/01/30
- [PATCH v2 04/11] multifd: Count the number of bytes sent correctly, Juan Quintela, 2023/01/30
- [PATCH v2 05/11] migration: Make ram_save_target_page() a pointer, Juan Quintela, 2023/01/30
- [PATCH v2 06/11] multifd: Make flags field thread local, Juan Quintela, 2023/01/30
- [PATCH v2 07/11] multifd: Prepare to send a packet without the mutex held, Juan Quintela, 2023/01/30
- [PATCH v2 08/11] multifd: Add capability to enable/disable zero_page, Juan Quintela, 2023/01/30