Multifd zero page support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest11 patches 5 repliesIn review
- v111 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | migration: Update atomic stats out of the mutexmigration/ | +2 | 0 replies | |
| 2/11 | migration: Make multifd_bytes atomicmigration/ migration/ migration/ | +5 | 0 replies | |
| 3/11 | multifd: We already account for this packet on the multifd threadmigration/ | +0 | 0 replies | |
| 4/11 | multifd: Count the number of bytes sent correctlymigration/ migration/ | +6 | 2 replies | |
| 5/11 | migration: Make ram_save_target_page() a pointermigration/ | +15 | 0 replies | |
| 6/11 | multifd: Make flags field thread localmigration/ migration/ | +19 | 0 replies | |
| 7/11 | multifd: Prepare to send a packet without the mutex heldmigration/ migration/ | +8 | 0 replies | |
| 8/11 | multifd: Add capability to enable/disable zero_pagehw/ migration/ migration/ +1 more | +21 | 3 replies | |
| 9/11 | multifd: Support for zero pages transmissionmigration/ migration/ migration/ +1 more | +49 | 0 replies | |
| 10/11 | multifd: Zero pages transmissionmigration/ migration/ | +48 | 0 replies | |
| 11/11 | So we use multifd to transmit zero pages.migration/ migration/ | +32 | 0 replies |
Reviews trailers per patch
1 of 11 patches has a Reviewed-by or Acked-by.
| Patch | Dr. David Alan Gilbert |
|---|---|
| 1/11 | |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | R-b |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/11] Multifd zero page support
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(-)
Signature · 1 line
2.39.1