[Qemu-devel] [PATCH 0/3] Add a new migrate_set_max_cpu_throttle qmp command

Li Qiang posted 3 patches 7 years, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1533026124-6740-1-git-send-email-liq3ea@gmail.com
Test checkpatch passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test docker-quick@centos7 passed
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(-)
[Qemu-devel] [PATCH 0/3] Add a new migrate_set_max_cpu_throttle qmp command
Posted by Li Qiang 7 years, 3 months ago
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(-)

-- 
2.11.0