Skip to content

reduce overhead during live migration

Olaf Hering xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest23 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23tools: add readv_exact to libxenctrltools/libs/ctrl/xc_private.c tools/libs/ctrl/xc_private.h+55 -10 replies
2/23tools: add xc_is_known_page_type to libxenctrltools/libs/ctrl/xc_private.h+33 -00 replies
3/23tools: use xc_is_known_page_typetools/libs/guest/xg_sr_restore.c tools/libs/guest/xg_sr_save.c+7 -20 replies
4/23tools: unify type checking for data pfns in migration streamtools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c tools/libs/guest/xg_sr_save.c+24 -410 replies
5/23tools: show migration transfer rate in send_dirty_pagestools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_save.c+49 -00 replies
6/23tools/guest: prepare to allocate arrays oncetools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c tools/libs/guest/xg_sr_save.c+19 -10 replies
7/23tools/guest: save: move batch_pfnstools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_save.c+12 -150 replies
8/23tools/guest: save: move mfns arraytools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_save.c+4 -50 replies
9/23tools/guest: save: move types arraytools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_save.c+4 -50 replies
10/23tools/guest: save: move errors arraytools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_save.c+4 -50 replies
11/23tools/guest: save: move iov arraytools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_save.c+4 -50 replies
12/23tools/guest: save: move rec_pfns arraytools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_save.c+3 -100 replies
13/23tools/guest: save: move guest_data arraytools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_save.c+8 -50 replies
14/23tools/guest: save: move local_pages arraytools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_save.c tools/libs/guest/xg_sr_save_x86_hvm.c +1 more+39 -440 replies
15/23tools/guest: restore: move pfns arraytools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c+4 -40 replies
16/23tools/guest: restore: move types arraytools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c+2 -110 replies
17/23tools/guest: restore: move mfns arraytools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c+4 -30 replies
18/23tools/guest: restore: move map_errs arraytools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c+2 -110 replies
19/23tools/guest: restore: move mfns array in populate_pfnstools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c+4 -30 replies
20/23tools/guest: restore: move pfns array in populate_pfnstools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c+2 -100 replies
21/23tools/guest: restore: split record processingtools/libs/guest/xg_sr_common.c tools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c +1 more+63 -300 replies
22/23tools/guest: restore: split handle_page_datatools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c+231 -1210 replies
23/23tools/guest: restore: write data directly into guesttools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c+129 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 00/23] reduce overhead during live migration

The current live migration code can easily saturate an 1Gb link. There is still room for improvement with faster network connections. Even with this series reviewed and applied.
See description of patch #6.

Olaf

Olaf Hering (23):
tools: add readv_exact to libxenctrl
tools: add xc_is_known_page_type to libxenctrl
tools: use xc_is_known_page_type
tools: unify type checking for data pfns in migration stream
tools: show migration transfer rate in send_dirty_pages tools/guest: prepare to allocate arrays once tools/guest: save: move batch_pfns
tools/guest: save: move mfns array
tools/guest: save: move types array
tools/guest: save: move errors array
tools/guest: save: move iov array
tools/guest: save: move rec_pfns array tools/guest: save: move guest_data array tools/guest: save: move local_pages array tools/guest: restore: move pfns array
tools/guest: restore: move types array tools/guest: restore: move mfns array
tools/guest: restore: move map_errs array tools/guest: restore: move mfns array in populate_pfns tools/guest: restore: move pfns array in populate_pfns tools/guest: restore: split record processing tools/guest: restore: split handle_page_data tools/guest: restore: write data directly into guest

 tools/libs/ctrl/xc_private.c          |  54 ++-
 tools/libs/ctrl/xc_private.h          |  34 ++
 tools/libs/guest/xg_sr_common.c       |  33 +-
 tools/libs/guest/xg_sr_common.h       |  86 +++-
 tools/libs/guest/xg_sr_restore.c      | 562 +++++++++++++++++---------
 tools/libs/guest/xg_sr_save.c         | 158 ++++----
 tools/libs/guest/xg_sr_save_x86_hvm.c |   5 +-
 tools/libs/guest/xg_sr_save_x86_pv.c  |  31 +-
 8 files changed, 666 insertions(+), 297 deletions(-)