This patch set provides a new method for throttling a vcpu and makes use of said method to dynamically increase cpu throttling during an autoconverge migration until the migration completes. This method ensures that all migrations will eventually converge.
The method used here for throttling vcpus is likely not the best. However, I believe that it is preferable to what is used for autoconverge today. This work is related to the following discussion: https://lists.gnu.org/archive/html/qemu-devel/2015-03/msg00287.html Changelog ----------- v2 - Add cpu throttle ratio output to hmp/qmp info/query migrate commands v1 - Initial Jason J. Herne (3): cpu: Provide vcpu throttling interface migration: Dynamic cpu throttling for auto-converge qmp/hmp: Add throttle ratio to query-migrate and info migrate arch_init.c | 95 +++++++++++++++++---------------------------------- cpus.c | 62 +++++++++++++++++++++++++++++++++ hmp.c | 5 +++ include/qom/cpu.h | 46 +++++++++++++++++++++++++ migration/migration.c | 14 ++++++++ qapi-schema.json | 3 +- 6 files changed, 161 insertions(+), 64 deletions(-) -- 1.9.1