]> git.proxmox.com Git - mirror_qemu.git/commit - hmp.c
migrate/cpu-throttle: Add max-cpu-throttle migration parameter
authorLi Qiang <liq3ea@gmail.com>
Wed, 1 Aug 2018 13:00:20 +0000 (06:00 -0700)
committerJuan Quintela <quintela@redhat.com>
Wed, 22 Aug 2018 09:42:34 +0000 (11:42 +0200)
commit4cbc9c7ffd95d2702cf7ffb3bfdf3f1f0ffdca07
treec801c82f52bf803b7eae1fc360bc665ade81f26b
parent3eb21fe9e5a06e485dbb27838422ef85f4ae7967
migrate/cpu-throttle: Add max-cpu-throttle migration parameter

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 max-cpu-throttle parameter to limit the CPU throttle.

Signed-off-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
hmp.c
migration/migration.c
migration/migration.h
migration/ram.c
qapi/migration.json