From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZaPj-00055Y-C6 for qemu-devel@nongnu.org; Fri, 25 Oct 2013 01:58:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZaPc-0004WF-0M for qemu-devel@nongnu.org; Fri, 25 Oct 2013 01:58:27 -0400 Received: from e28smtp04.in.ibm.com ([122.248.162.4]:42764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZaPb-0004VD-BJ for qemu-devel@nongnu.org; Fri, 25 Oct 2013 01:58:19 -0400 Received: from /spool/local by e28smtp04.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 25 Oct 2013 11:28:15 +0530 Received: from d28relay05.in.ibm.com (d28relay05.in.ibm.com [9.184.220.62]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id EF1271258017 for ; Fri, 25 Oct 2013 11:28:46 +0530 (IST) Received: from d28av03.in.ibm.com (d28av03.in.ibm.com [9.184.220.65]) by d28relay05.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r9P5w8Cv34209894 for ; Fri, 25 Oct 2013 11:28:09 +0530 Received: from d28av03.in.ibm.com (localhost [127.0.0.1]) by d28av03.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r9P5wAYV014821 for ; Fri, 25 Oct 2013 11:28:11 +0530 Message-ID: <526A0870.3020401@linux.vnet.ibm.com> Date: Fri, 25 Oct 2013 13:58:08 +0800 From: Lei Li MIME-Version: 1.0 References: <1382412341-1173-1-git-send-email-lilei@linux.vnet.ibm.com> <52692C10.3080604@redhat.com> In-Reply-To: <52692C10.3080604@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/17 v2] Localhost migration with side channel for ram List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: aarcange@redhat.com, quintela@redhat.com, mdroth@linux.vnet.ibm.com, mrhines@linux.vnet.ibm.com, qemu-devel@nongnu.org, Anthony Liguori , lagarcia@br.ibm.com, rcj@linux.vnet.ibm.com On 10/24/2013 10:17 PM, Paolo Bonzini wrote: > Il 22/10/2013 04:25, Lei Li ha scritto: >> This patch series tries to introduce a mechanism using side >> channel pipe for RAM via SCM_RIGHTS with unix domain socket >> protocol migration. >> >> This side channel is used for the page flipping by vmsplice, >> which is the internal mechanism for localhost migration that >> we are trying to add to QEMU. The backgroud info and previous >> patch series for reference, >> >> Localhost migration >> http://lists.nongnu.org/archive/html/qemu-devel/2013-08/msg02916.html >> >> migration: Introduce side channel for RAM >> http://lists.gnu.org/archive/html/qemu-devel/2013-09/msg04043.html >> >> I have picked patches from the localhost migration series and rebased >> it on the series of side channel, now it is a complete series that >> passed the basic test. >> >> Please let me know if there is anything needs to be fixed or improved. >> Your suggestions and comments are very welcome, and thanks for Paolo >> for his review and useful suggestions. > Thanks to you for listening. :) > > What is performance like? How much downtime do you get as the guest > size increases? Hi Paolo, Thanks very much for your continued reviews, as well as those nice suggestions and comments! For the performance, we have not yet benchmarked it from QEMU layer, as now it's just an initial implementation, and Robert Jennings has been worked on the improvement of performance on kernel side. Right now just has inaccurate numbers without the new vmsplice, which based on the result from info migrate, as the guest ram size increases, although the 'total time' is number of times less compared with the current live migration, but the 'downtime' performs badly. For a 1GB ram guest, total time: 702 milliseconds downtime: 692 milliseconds And when the ram size of guest increasesexponentially, those numbers are proportional to it. I will make a list of the performance with the new vmsplice later, I am sure it'd be much better than this at least. > Paolo > -- Lei