Received: from eggs.gnu.org ([2001:4830:134:3::10]:50425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VY452-0003mU-1y for qemu-devel@nongnu.org; Sun, 20 Oct 2013 21:14:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VY44u-00045c-EU for qemu-devel@nongnu.org; Sun, 20 Oct 2013 21:14:47 -0400 Received: from e31.co.us.ibm.com ([32.97.110.149]:47619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VY44u-00045T-6t for qemu-devel@nongnu.org; Sun, 20 Oct 2013 21:14:40 -0400 Received: from /spool/local by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 20 Oct 2013 19:14:38 -0600 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id C65BD1FF001C for ; Sun, 20 Oct 2013 19:14:22 -0600 (MDT) Received: from d03av06.boulder.ibm.com (d03av06.boulder.ibm.com [9.17.195.245]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r9L1EYDK092402 for ; Sun, 20 Oct 2013 19:14:34 -0600 Received: from d03av06.boulder.ibm.com (loopback [127.0.0.1]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r9L1Hk5L032572 for ; Sun, 20 Oct 2013 19:17:46 -0600 From: mrhines@linux.vnet.ibm.com Date: Mon, 21 Oct 2013 01:14:10 +0000 Message-Id: <1382318062-6288-1-git-send-email-mrhines@linux.vnet.ibm.com> Subject: [Qemu-devel] [RFC PATCH v1: 00/12] fault tolerance through micro-checkpointing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, quintela@redhat.com, owasserm@redhat.com, onom@us.ibm.com, abali@us.ibm.com, mrhines@us.ibm.com, gokul@us.ibm.com, pbonzini@redhat.com From: "Michael R. Hines" This patch implements RDMA-aware fault tolerance for the VM using Micro-Checkpointing (to be presented at the KVM Forum). The breakout of the patches is not ideal and is really meant to kick things off for review, which will likely extend well past 1.7 and into 1.8 version of QEMU, assuming about 5-6 months of reviews. Please begin with patch #01 as it provides a good narrative of what is different about this and previous attempts at fault tolerance, including a breakdown of the current empirical performance challenges. Michael R. Hines (12): mc: add documentation for micro-checkpointing rdma: remove reference to github.com migration: introduce parallelization of migration_bitmap mc: introduce a "checkpointing" status check into the VCPU states migration: support custom page loading rdma: accelerated memcpy() support mc: introduce state machine error handling and migration_bitmap prep mc: modified QMP statistics and migration_thread handoff mc: core logic mc: configure and makefile support mc: register MC qemu-file functions and expose MC tunable capability mc: activate and use MC core logic if requested Makefile.objs | 1 + arch_init.c | 276 +++++- configure | 45 + cpus.c | 9 +- docs/mc.txt | 261 ++++++ docs/rdma.txt | 1 - hmp-commands.hx | 14 + hmp.c | 23 + hmp.h | 1 + include/migration/migration.h | 69 +- include/migration/qemu-file.h | 55 +- include/qemu-common.h | 12 + migration-checkpoint.c | 1589 ++++++++++++++++++++++++++++++++ migration-rdma.c | 2008 ++++++++++++++++++++++++++++++----------- migration.c | 148 ++- qapi-schema.json | 92 +- qmp-commands.hx | 23 + savevm.c | 84 +- vl.c | 42 + 19 files changed, 4123 insertions(+), 630 deletions(-) create mode 100644 docs/mc.txt create mode 100644 migration-checkpoint.c -- 1.8.1.2