Skip to content

RFC live migration/buffer_is_zero optimizations

Peter Lieven qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9move vector definitions to qemu-common.harch_init.c include/qemu-common.h+23 -200 replies
2/9add a function to find non-zero content in a bufferinclude/qemu-common.h util/cutils.c+31 -01 reply
3/9migration: add an indicator for bulk state of ram migrationarch_init.c+3 -00 replies
4/9buffer_is_zero: use vector optimizations if possibleutil/cutils.c+5 -03 replies
5/9migration: check for dup pages only in bulk stagearch_init.c+1 -10 replies
6/9migration: use XBZRLE only after bulk stagearch_init.c+1 -11 reply
7/9bitops: use vector algorithm to optimize find_next_bit()util/bitops.c+20 -31 reply
8/9migration: do not sent zero_pages in bulk stagearch_init.c+4 -21 reply
9/9migration: do not search dirty pages in bulk stagearch_init.c+8 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [RFC][PATCH 0/9] live migration/buffer_is_zero optimizations

I will sent a list of optimizations that have been developed during the last days. Your feedback is much appreciated.

@Paolo: Can you run your tests that you have made for your migration optimzations that are now upstream against these patches.

Thanks,
Peter

Peter Lieven (9):
move vector definitions to qemu-common.h
add a function to find non-zero content in a buffer
migration: add an indicator for bulk state of ram migration
buffer_is_zero: use vector optimizations if possible
migration: check for dup pages only in bulk stage
migration: use XBZRLE only after bulk stage
bitops: use vector algorithm to optimize find_next_bit()
migration: do not send zero_pages in bulk stage
migration: do not search dirty pages in bulk stage

 arch_init.c           |   43 +++++++++++++++++--------------------------
 include/qemu-common.h |   24 ++++++++++++++++++++++++
 util/bitops.c         |   23 ++++++++++++++++++++---
 util/cutils.c         |   35 +++++++++++++++++++++++++++++++++++
 4 files changed, 96 insertions(+), 29 deletions(-)
Signature · 1 line
1.7.9.5