Skip to content

Multifd v4

Juan Quintela qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 12 patches 27 repliesIn review

Patches in v1 No applies recorded yet

None of the 12 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchDr. David Alan Gilbert
SeriesR-b R-b R-b R-b R-b R-b R-b R-b

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/12] Multifd v4

Hi

[v4]

- Address reviews
- move synchronization to semaphores (faster). Paolo suggestion
- improvements overall (see invidiual patches)
- fix all the checkpatch warnings
- fix all [HACKS] except for one

Please review.

[v3]

This is the 3rd version of multifd. Changes:
- comments for previous verion addressed
- lots of bugs fixed
- remove DPRINTF from ram.c

- add multifd-group parameter, it gives how many pages we sent each time to the worker threads. I am open to better names.
- Better flush support.
- with migration_set_speed 2G it is able to migrate "stress -vm 2 -vm-bytes 512M" over loopback.

Please review.

Thanks, Juan.

[v2]

This is a version against current code. It is based on top of QIO work. It improves the thread synchronization and fixes the problem when we could have two threads handing the same page.

Please comment, Juan.

The following changes since commit df96bfab49dab2d0373e49b51bbb51ce72e1601e:

Merge remote-tracking branch 'remotes/kraxel/tags/pull-vga-20170213-1' into staging (2017-02-13 10:54:49 +0000)

are available in the git repository at:

git://github.com/juanquintela/qemu.git tags/multifd/20170213

for you to fetch changes up to 733be4d2d815c6331b86364f68f6980699e9bb48:

migration: Test new fd infrastructure (2017-02-13 18:14:06 +0100)

----------------------------------------------------------------
multifd/next for 20170213

----------------------------------------------------------------
Juan Quintela (12):
migration: Test for disabled features on reception
migration: Don't create decompression threads if not enabled
migration: Add multifd capability
migration: Create x-multifd-threads parameter
migration: Create x-multifd-group parameter
migration: Create multifd migration threads
migration: Start of multiple fd work
migration: Create ram_multifd_page
migration: Create thread infrastructure for multifd send side
migration: Really use multiple pages at a time
migration: Send the fd number which we are going to use for this page
migration: Test new fd infrastructure

 hmp.c                         |  18 ++
 include/migration/migration.h |  17 ++
 migration/migration.c         |  77 ++++++-
 migration/ram.c               | 499 +++++++++++++++++++++++++++++++++++++++++-
 migration/socket.c            |  64 +++++-
 qapi-schema.json              |  29 ++-
 6 files changed, 690 insertions(+), 14 deletions(-)