From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMKbG-0006Q5-3Q for qemu-devel@nongnu.org; Thu, 21 Jan 2016 14:08:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMKbB-00035s-5x for qemu-devel@nongnu.org; Thu, 21 Jan 2016 14:08:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:51231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMKbB-00035o-0n for qemu-devel@nongnu.org; Thu, 21 Jan 2016 14:08:49 -0500 Date: Thu, 21 Jan 2016 19:08:44 +0000 From: "Dr. David Alan Gilbert" Message-ID: <20160121190843.GH2446@work-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] COLO hybrid mode and other changes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: zhang.zhanghailiang@huawei.com, zhangchen.fnst@cn.fujitsu.com, lizhijian@cn.fujitsu.com, xiecl.fnst@cn.fujitsu.com, wency@cn.fujitsu.com Cc: qemu-devel@nongnu.org Hi, I've got a world with a few COLO changes in that you might like to look at; they're all experimental, but it seems to be working for me. The world is at: https://github.com/orbitfp7/qemu/commits/orbit-wp4-colo-jan16 It's based off: The December/2.4 colo framework world with periodic checkpoints + The december user space colo-proxy + The integration code that was in the colo-proxy git repo (those needed some updates to go into the 2.4-periodic world) And then I've added: - An updated version of my hybrid mode code that switches between COLO and periodic checkpoints depending on the frequency of miscompares - A minimum checkpoint time, so that on fast miscompares we do get some runtime (as in the earlier colo series) - I'm using a condition-variable to flag the miscompares from the colo-proxy to the colo thread; this seems cleaner and it avoids having to do short waits; it might be a bit tricky to make portable. - Add back some statistcs in 'info migrate' - An HMP command equivalent to x-blockdev-change. - RDMA transport for COLO I don't intend to post any of these changes in full to the list until your main COLO code is in; although if any of my changes are useful to you, then feel free to include them in sets you post. Dave -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK