Skip to content

Add a new migrate_set_max_cpu_throttle qmp command

Li Qiang qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3migrate: replace the cpu throttle percentage max with a variablecpus.c+3 -10 replies
2/3migration: Add qmp command for migrate_set_max_cpu_throttlecpus.c include/qom/cpu.h migration/migration.c +1 more+36 -07 replies
3/3hmp: add hmp for migrate_set_max_cpu_throttlehmp-commands.hx hmp.c hmp.h+21 -00 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] [PATCH 0/3] Add a new migrate_set_max_cpu_throttle qmp command

Currently, the default maximum CPU throttle for migration is 99(CPU_THROTTLE_PCT_MAX). This is too big and can make a remarkable performance effect for the guest. We see a lot of packets latency exceed 500ms when the CPU_THROTTLE_PCT_MAX reached. This patch set adds a new qmp command to limit the CPU throttle.

Li Qiang (3):
migrate: replace the cpu throttle percentage max with a variable
migration: Add qmp command for migrate_set_max_cpu_throttle
hmp: add hmp for migrate_set_max_cpu_throttle

 cpus.c                |  9 ++++++++-
 hmp-commands.hx       | 14 ++++++++++++++
 hmp.c                 |  6 ++++++
 hmp.h                 |  1 +
 include/qom/cpu.h     |  8 ++++++++
 migration/migration.c | 10 ++++++++++
 qapi/migration.json   | 13 +++++++++++++
 7 files changed, 60 insertions(+), 1 deletion(-)
Signature · 1 line
2.11.0