qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] Eliminate multifd flush
@ 2023-02-08 13:30 Juan Quintela
  2023-02-08 13:30 ` [PATCH v3 1/6] multifd: Create property multifd-sync-after-each-section Juan Quintela
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Juan Quintela @ 2023-02-08 13:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: Dr. David Alan Gilbert, Markus Armbruster, Juan Quintela,
	Marcel Apfelbaum, Yanan Wang, Philippe Mathieu-Daudé,
	Eduardo Habkost, Eric Blake

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



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-02-09 13:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-08 13:30 [PATCH v3 0/6] Eliminate multifd flush Juan Quintela
2023-02-08 13:30 ` [PATCH v3 1/6] multifd: Create property multifd-sync-after-each-section Juan Quintela
     [not found]   ` <20230208202526.p2jmikndw5lx2ong@redhat.com>
2023-02-09 13:22     ` Juan Quintela
2023-02-08 13:30 ` [PATCH v3 2/6] multifd: Protect multifd_send_sync_main() calls Juan Quintela
2023-02-08 13:30 ` [PATCH v3 3/6] migration: Simplify ram_find_and_save_block() Juan Quintela
2023-02-08 13:30 ` [PATCH v3 4/6] migration: Make find_dirty_block() return a single parameter Juan Quintela
2023-02-08 13:30 ` [PATCH v3 5/6] multifd: Only sync once each full round of memory Juan Quintela
2023-02-08 13:30 ` [PATCH v3 6/6] ram: Document migration ram flags Juan Quintela
2023-02-08 20:29   ` Eric Blake
2023-02-09 13:27     ` Juan Quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).