Skip to content

Eliminate multifd flush

Juan Quintela qemu-devel 11 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest3 patches 1 replyIn review
  2. v83 patches 3 repliesSuperseded
  3. v73 patches 0 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v63 patches9 repliesSuperseded
v5 posting 3/33 patches3 repliesSuperseded
v5 posting 2/36 of 8 patches1 replySuperseded
v5 posting 1/32 of 3 patches0 repliesSuperseded
v44 patches3 repliesSuperseded
v36 patches3 repliesSuperseded
v26 patches0 repliesSuperseded
v15 patches19 repliesSuperseded

Changes in v9 from the cover letter

- rebase over migration-pull-20230424
this means that we need to change things for options.c creation.
- make the property be set for 8.0 not 7.0 (thanks peter)
- the check that disabled the property was lost on some rebase, put it back.

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3multifd: Create property multifd-flush-after-each-sectionhw/core/machine.c migration/migration.c migration/migration.h +2 more+29 -10 replies
2/3multifd: Protect multifd_send_sync_main() callsmigration/ram.c+11 -50 replies
3/3multifd: Only flush once each full round of memorymigration/migration.c migration/migration.h migration/options.c +1 more+30 -90 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDr. David Alan GilbertPeter Xu
SeriesA-b
1/3R-b
2/3R-b A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [PATCH v9 0/3] Eliminate multifd flush

Hi

Changes in v9:
- rebase over migration-pull-20230424
this means that we need to change things for options.c creation.
- make the property be set for 8.0 not 7.0 (thanks peter)
- the check that disabled the property was lost on some rebase, put it back.

Please, review.

[v8]
- rebase over latests

[v7]
- Rebased to last upstream
- Rename the capability to a property. So we move all the problems that we have on last review dissaper because it is not a capability.

So now, it is works as expected. Enabled for old machine types,
disabled for new machine types. Users will only found it if they go through the migration properties.

[v6]
- Rename multifd-sync-after-each-section to multifd-flush-after-each-section
- Redo comments (thanks Markus)
- Redo how to comment capabilities that are enabled/disabled during development. (thanks Markus)

[v5]
- Remove RAM Flags documentation (already on PULL request)
- rebase on top of PULL request.

[v4]
- Rebased on top of migration-20230209 PULL request
- Integrate two patches in that pull request
- Rebase
- Address Eric reviews.

[v3]
- update to latest upstream.
- fix checkpatch errors.

[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).

[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 (3):
multifd: Create property multifd-flush-after-each-section
multifd: Protect multifd_send_sync_main() calls
multifd: Only flush once each full round of memory

 hw/core/machine.c     |  4 +++-
 migration/migration.c |  2 ++
 migration/migration.h | 11 +++++++++++
 migration/options.c   |  7 +++++++
 migration/options.h   |  1 +
 migration/ram.c       | 44 +++++++++++++++++++++++++++++++++++++------
 6 files changed, 62 insertions(+), 7 deletions(-)
Signature · 1 line
2.40.0