[virtio-dev] RE: [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-10-26 Thread Li, Liang Z
> On 10/26/2016 03:06 AM, Li, Liang Z wrote: > > 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' besid

[virtio-dev] RE: [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-10-26 Thread Li, Liang Z
> Cc: linux-ker...@vger.kernel.org; virtualizat...@lists.linux-foundation.org; > linux...@kvack.org; virtio-dev@lists.oasis-open.org; k...@vger.kernel.org; > qemu-de...@nongnu.org; quint...@redhat.com; dgilb...@redhat.com; > pbonz...@redhat.com; cornelia.h...@de.ibm.com; amit.s...@redhat.com > Subj

[virtio-dev] Re: [RESEND PATCH v3 kernel 2/7] virtio-balloon: define new feature bit and page bitmap head

2016-10-26 Thread Michael S. Tsirkin
On Fri, Oct 21, 2016 at 02:24:35PM +0800, Liang Li wrote: > Add a new feature which supports sending the page information with > a bitmap. The current implementation uses PFNs array, which is not > very efficient. Using bitmap can improve the performance of > inflating/deflating significantly > >

Re: [virtio-dev] packed ring layout proposal

2016-10-26 Thread Maxime Coquelin
On 10/26/2016 01:24 PM, Paolo Bonzini wrote: On 26/10/2016 12:14, Yuanhan Liu wrote: On Wed, Oct 26, 2016 at 11:49:17AM +0200, Maxime Coquelin wrote: On 09/16/2016 08:51 PM, Michael S. Tsirkin wrote: On Fri, Sep 16, 2016 at 10:28:19AM +0100, Stefan Hajnoczi wrote: On Fri, Sep 16, 2016 a

Re: [virtio-dev] packed ring layout proposal

2016-10-26 Thread Michael S. Tsirkin
On Wed, Oct 26, 2016 at 11:49:17AM +0200, Maxime Coquelin wrote: > > > On 09/16/2016 08:51 PM, Michael S. Tsirkin wrote: > > On Fri, Sep 16, 2016 at 10:28:19AM +0100, Stefan Hajnoczi wrote: > > > On Fri, Sep 16, 2016 at 01:39:15AM +0300, Michael S. Tsirkin wrote: > > > > Let's start a discussion

Re: [virtio-dev] packed ring layout proposal

2016-10-26 Thread Paolo Bonzini
On 26/10/2016 12:14, Yuanhan Liu wrote: > On Wed, Oct 26, 2016 at 11:49:17AM +0200, Maxime Coquelin wrote: >> >> >> On 09/16/2016 08:51 PM, Michael S. Tsirkin wrote: >>> On Fri, Sep 16, 2016 at 10:28:19AM +0100, Stefan Hajnoczi wrote: On Fri, Sep 16, 2016 at 01:39:15AM +0300, Michael S. Tsir

Re: [virtio-dev] packed ring layout proposal

2016-10-26 Thread Yuanhan Liu
On Wed, Oct 26, 2016 at 11:49:17AM +0200, Maxime Coquelin wrote: > > > On 09/16/2016 08:51 PM, Michael S. Tsirkin wrote: > >On Fri, Sep 16, 2016 at 10:28:19AM +0100, Stefan Hajnoczi wrote: > >>On Fri, Sep 16, 2016 at 01:39:15AM +0300, Michael S. Tsirkin wrote: > >>>Let's start a discussion around

[virtio-dev] RE: [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-10-26 Thread Li, Liang Z
> > 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

[virtio-dev] RE: [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-10-26 Thread Li, Liang Z
> 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/gu

Re: [virtio-dev] packed ring layout proposal

2016-10-26 Thread Maxime Coquelin
On 09/16/2016 08:51 PM, Michael S. Tsirkin wrote: On Fri, Sep 16, 2016 at 10:28:19AM +0100, Stefan Hajnoczi wrote: On Fri, Sep 16, 2016 at 01:39:15AM +0300, Michael S. Tsirkin wrote: Let's start a discussion around an alternative ring layout. This has been in my kvm forum 2016 presentation. T