qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] Add a new migrate_set_max_cpu_throttle qmp command
@ 2018-07-31  8:35 Li Qiang
  2018-07-31  8:35 ` [Qemu-devel] [PATCH 1/3] migrate: replace the cpu throttle percentage max with a variable Li Qiang
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Li Qiang @ 2018-07-31  8:35 UTC (permalink / raw)
  To: pbonzini, crosthwaite.peter, rth, quintela, dgilbert, eblake,
	armbru
  Cc: liqiang02, hzliuyingdong, qemu-devel, Li Qiang

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-08-01  8:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-31  8:35 [Qemu-devel] [PATCH 0/3] Add a new migrate_set_max_cpu_throttle qmp command Li Qiang
2018-07-31  8:35 ` [Qemu-devel] [PATCH 1/3] migrate: replace the cpu throttle percentage max with a variable Li Qiang
2018-07-31  8:35 ` [Qemu-devel] [PATCH 2/3] migration: Add qmp command for migrate_set_max_cpu_throttle Li Qiang
2018-07-31 11:29   ` Dr. David Alan Gilbert
2018-07-31 12:22     ` Eric Blake
2018-07-31 14:48     ` Juan Quintela
2018-07-31 15:38       ` Dr. David Alan Gilbert
2018-07-31 15:50       ` Daniel P. Berrangé
2018-08-01  1:14         ` Li Qiang
2018-08-01  8:01         ` Juan Quintela
2018-07-31  8:35 ` [Qemu-devel] [PATCH 3/3] hmp: add hmp " Li Qiang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).