From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzqHX-0003kk-5s for qemu-devel@nongnu.org; Tue, 02 Jun 2015 13:47:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzqHU-0006dd-0v for qemu-devel@nongnu.org; Tue, 02 Jun 2015 13:47:19 -0400 Received: from e19.ny.us.ibm.com ([129.33.205.209]:57033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzqHT-0006Yi-SE for qemu-devel@nongnu.org; Tue, 02 Jun 2015 13:47:15 -0400 Received: from /spool/local by e19.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 2 Jun 2015 13:46:53 -0400 Received: from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com [9.57.198.23]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 0C048C90045 for ; Tue, 2 Jun 2015 13:37:58 -0400 (EDT) Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t52Hko2g51904540 for ; Tue, 2 Jun 2015 17:46:50 GMT Received: from d01av01.pok.ibm.com (localhost [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t52HkoYY021186 for ; Tue, 2 Jun 2015 13:46:50 -0400 From: "Jason J. Herne" Date: Tue, 2 Jun 2015 13:46:46 -0400 Message-Id: <1433267209-9882-1-git-send-email-jjherne@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/3] migration: Dynamic cpu throttling for auto-converge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: afaerber@suse.de, amit.shah@redhat.com, dgilbert@redhat.com, borntraeger@de.ibm.com, quintela@redhat.com, qemu-devel@nongnu.org Cc: "Jason J. Herne" 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