Skip to content

Postcopy bandwidth limiting

Dr. David Alan Gilbert (git) qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3migration/postcopy: Add max-postcopy-bandwidth parameterhmp.c migration/migration.c qapi/migration.json+57 -41 reply
2/3migration: Wake rate limiting for urgent requestsmigration/migration.c migration/migration.h migration/trace-events+41 -43 replies
3/3migration/postcopy: Wake rate limit sleep on postcopy requestmigration/ram.c+8 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPeter Xu
1/3R-b
2/3R-b
3/3R-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 0/3] Postcopy bandwidth limiting

From: "Dr. David Alan Gilbert" <[email protected]>

Hi,
Postcopy currently turns off bandwidth limits during the postcopy
phase to make sure the urgent postcopy requests aren't delayed.
This causes problems for larger clusters which share networking
between the migration stream and other critical services.

This series restricts the background postcopy bandwidth but does
it in a way that lets the urgent postcopy requests get through.

Testing on a 10Gbps link and a 400MByte/s limit shows
very little difference in the postcopy request latency, but a network graph shows the bandwidth usage very close to the set limit, even with a very heavy memory load running in the guest.

Dr. David Alan Gilbert (3):
migration/postcopy: Add max-postcopy-bandwidth parameter
migration: Wake rate limiting for urgent requests migration/postcopy: Wake rate limit sleep on postcopy request

 hmp.c                  |  7 +++++
 migration/migration.c  | 70 +++++++++++++++++++++++++++++++++++++++---
 migration/migration.h  |  8 +++++
 migration/ram.c        |  9 +++++-
 migration/trace-events |  2 ++
 qapi/migration.json    | 19 ++++++++++--
 6 files changed, 106 insertions(+), 9 deletions(-)
Signature · 1 line
2.17.1