From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755250AbcJZKON convert rfc822-to-8bit (ORCPT ); Wed, 26 Oct 2016 06:14:13 -0400 Received: from mga03.intel.com ([134.134.136.65]:4194 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753567AbcJZKOL (ORCPT ); Wed, 26 Oct 2016 06:14:11 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,550,1473145200"; d="scan'208";a="23875951" From: "Li, Liang Z" To: "Li, Liang Z" , "Hansen, Dave" , "mst@redhat.com" CC: "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "linux-mm@kvack.org" , "virtio-dev@lists.oasis-open.org" , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" , "quintela@redhat.com" , "dgilbert@redhat.com" , "pbonzini@redhat.com" , "cornelia.huck@de.ibm.com" , "amit.shah@redhat.com" Subject: RE: [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration Thread-Topic: [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration Thread-Index: AQHSK2WJC1hKfNkP2EaN2boMpmMvBaCyo0uAgAfeEICAAAoPkA== Date: Wed, 26 Oct 2016 10:13:47 +0000 Message-ID: References: <1477031080-12616-1-git-send-email-liang.z.li@intel.com> <580A4F81.60201@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzBkYTE0Y2EtMWY1MC00NzZmLTk0ZWMtZjA4ZmYyZmNkYWIwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjdTcm9zZzA4c09KS3FoVE41cUppSUFNbVZwVVdIRU5QeThncTg0a1V0NEE9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > On 10/20/2016 11:24 PM, Liang Li wrote: > > > Dave Hansen suggested a new scheme to encode the data structure, > > > because of additional complexity, it's not implemented in v3. > > > > So, what do you want done with this patch set? Do you want it applied > > as-is so that we can introduce a new host/guest ABI that we must > > support until the end of time? Then, we go back in a year or two and > > add the newer format that addresses the deficiencies that this ABI has with > a third version? > > > > Hi Dave & Michael, > > I am working on Dave's new bitmap schema, I have finished the part of > getting the 'hybrid scheme bitmap' > and found the complexity was more than I expected. The main issue is more > memory is required to save the 'hybrid scheme bitmap' beside that used to > save the raw page bitmap, for the worst case, the memory required is 3 > times than that in the previous implementation. > 3 times memory required is not accurate, please ignore this. sorry ... The complexity is the point. > I am wondering if I should continue, as an alternative solution, how about > using PFNs array when inflating/deflating only a few pages? Things will be > much more simple. > > > Thanks! > Liang > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Li, Liang Z" Subject: RE: [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration Date: Wed, 26 Oct 2016 10:13:47 +0000 Message-ID: References: <1477031080-12616-1-git-send-email-liang.z.li@intel.com> <580A4F81.60201@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "linux-mm@kvack.org" , "virtio-dev@lists.oasis-open.org" , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" , "quintela@redhat.com" , "dgilbert@redhat.com" , "pbonzini@redhat.com" , "cornelia.huck@de.ibm.com" , "amit.shah@redhat.com" To: "Li, Liang Z" , "Hansen, Dave" , "mst@redhat.com" Return-path: Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: In-Reply-To: Content-Language: en-US List-Id: kvm.vger.kernel.org > > On 10/20/2016 11:24 PM, Liang Li wrote: > > > Dave Hansen suggested a new scheme to encode the data structure, > > > because of additional complexity, it's not implemented in v3. > > > > So, what do you want done with this patch set? Do you want it applied > > as-is so that we can introduce a new host/guest ABI that we must > > support until the end of time? Then, we go back in a year or two and > > add the newer format that addresses the deficiencies that this ABI has = with > a third version? > > >=20 > Hi Dave & Michael, >=20 > I am working on Dave's new bitmap schema, I have finished the part of > getting the 'hybrid scheme bitmap' > and found the complexity was more than I expected. The main issue is mor= e > memory is required to save the 'hybrid scheme bitmap' beside that used t= o > save the raw page bitmap, for the worst case, the memory required is 3 > times than that in the previous implementation. >=20 3 times memory required is not accurate, please ignore this. sorry ... The complexity is the point.=20 > I am wondering if I should continue, as an alternative solution, how abou= t > using PFNs array when inflating/deflating only a few pages? Things will b= e > much more simple. >=20 >=20 > Thanks! > Liang >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by kanga.kvack.org (Postfix) with ESMTP id BF71A6B0274 for ; Wed, 26 Oct 2016 06:13:53 -0400 (EDT) Received: by mail-pa0-f71.google.com with SMTP id rt15so2267763pab.14 for ; Wed, 26 Oct 2016 03:13:53 -0700 (PDT) Received: from mga04.intel.com (mga04.intel.com. [192.55.52.120]) by mx.google.com with ESMTPS id u29si1785402pfi.120.2016.10.26.03.13.52 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 26 Oct 2016 03:13:53 -0700 (PDT) From: "Li, Liang Z" Subject: RE: [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration Date: Wed, 26 Oct 2016 10:13:47 +0000 Message-ID: References: <1477031080-12616-1-git-send-email-liang.z.li@intel.com> <580A4F81.60201@intel.com> In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: "Li, Liang Z" , "Hansen, Dave" , "mst@redhat.com" Cc: "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "linux-mm@kvack.org" , "virtio-dev@lists.oasis-open.org" , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" , "quintela@redhat.com" , "dgilbert@redhat.com" , "pbonzini@redhat.com" , "cornelia.huck@de.ibm.com" , "amit.shah@redhat.com" > > On 10/20/2016 11:24 PM, Liang Li wrote: > > > Dave Hansen suggested a new scheme to encode the data structure, > > > because of additional complexity, it's not implemented in v3. > > > > So, what do you want done with this patch set? Do you want it applied > > as-is so that we can introduce a new host/guest ABI that we must > > support until the end of time? Then, we go back in a year or two and > > add the newer format that addresses the deficiencies that this ABI has = with > a third version? > > >=20 > Hi Dave & Michael, >=20 > I am working on Dave's new bitmap schema, I have finished the part of > getting the 'hybrid scheme bitmap' > and found the complexity was more than I expected. The main issue is mor= e > memory is required to save the 'hybrid scheme bitmap' beside that used t= o > save the raw page bitmap, for the worst case, the memory required is 3 > times than that in the previous implementation. >=20 3 times memory required is not accurate, please ignore this. sorry ... The complexity is the point.=20 > I am wondering if I should continue, as an alternative solution, how abou= t > using PFNs array when inflating/deflating only a few pages? Things will b= e > much more simple. >=20 >=20 > Thanks! > Liang >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzLDZ-0005sF-6W for qemu-devel@nongnu.org; Wed, 26 Oct 2016 06:13:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzLDW-00048c-1K for qemu-devel@nongnu.org; Wed, 26 Oct 2016 06:13:57 -0400 Received: from mga09.intel.com ([134.134.136.24]:19646) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzLDV-00048K-PH for qemu-devel@nongnu.org; Wed, 26 Oct 2016 06:13:53 -0400 From: "Li, Liang Z" Date: Wed, 26 Oct 2016 10:13:47 +0000 Message-ID: References: <1477031080-12616-1-git-send-email-liang.z.li@intel.com> <580A4F81.60201@intel.com> In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Li, Liang Z" , "Hansen, Dave" , "mst@redhat.com" Cc: "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "linux-mm@kvack.org" , "virtio-dev@lists.oasis-open.org" , "kvm@vger.kernel.org" , "qemu-devel@nongnu.org" , "quintela@redhat.com" , "dgilbert@redhat.com" , "pbonzini@redhat.com" , "cornelia.huck@de.ibm.com" , "amit.shah@redhat.com" > > On 10/20/2016 11:24 PM, Liang Li wrote: > > > Dave Hansen suggested a new scheme to encode the data structure, > > > because of additional complexity, it's not implemented in v3. > > > > So, what do you want done with this patch set? Do you want it applied > > as-is so that we can introduce a new host/guest ABI that we must > > support until the end of time? Then, we go back in a year or two and > > add the newer format that addresses the deficiencies that this ABI has = with > a third version? > > >=20 > Hi Dave & Michael, >=20 > I am working on Dave's new bitmap schema, I have finished the part of > getting the 'hybrid scheme bitmap' > and found the complexity was more than I expected. The main issue is mor= e > memory is required to save the 'hybrid scheme bitmap' beside that used t= o > save the raw page bitmap, for the worst case, the memory required is 3 > times than that in the previous implementation. >=20 3 times memory required is not accurate, please ignore this. sorry ... The complexity is the point.=20 > I am wondering if I should continue, as an alternative solution, how abou= t > using PFNs array when inflating/deflating only a few pages? Things will b= e > much more simple. >=20 >=20 > Thanks! > Liang >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org