Re: [virtio-dev] packed ring layout proposal - todo list

2017-03-07 Thread Yuanhan Liu
On Wed, Mar 08, 2017 at 03:09:48PM +0800, Yuanhan Liu wrote: > On Wed, Mar 01, 2017 at 03:07:29AM +0200, Michael S. Tsirkin wrote: > > On Tue, Feb 28, 2017 at 12:29:43PM +0800, Yuanhan Liu wrote: > > > Hi Michael, > > > > > > Again, as usual, sorry for being late :/ > > > > > > On Wed, Feb 22,

Re: [virtio-dev] packed ring layout proposal - todo list

2017-03-07 Thread Yuanhan Liu
On Wed, Mar 01, 2017 at 03:07:29AM +0200, Michael S. Tsirkin wrote: > On Tue, Feb 28, 2017 at 12:29:43PM +0800, Yuanhan Liu wrote: > > Hi Michael, > > > > Again, as usual, sorry for being late :/ > > > > On Wed, Feb 22, 2017 at 06:27:11AM +0200, Michael S. Tsirkin wrote: > > > Stage 2: prototype

[virtio-dev] Re: [PATCH v7 kernel 4/5] virtio-balloon: define flags and head for host request vq

2017-03-07 Thread Michael S. Tsirkin
On Fri, Mar 03, 2017 at 01:40:29PM +0800, Wei Wang wrote: > From: Liang Li > > Define the flags and head struct for a new host request virtual > queue. Guest can get requests from host and then responds to > them on this new virtual queue. > Host can make use of this

[virtio-dev] Re: [PATCH v7 kernel 3/5] virtio-balloon: implementation of VIRTIO_BALLOON_F_CHUNK_TRANSFER

2017-03-07 Thread Michael S. Tsirkin
On Fri, Mar 03, 2017 at 01:40:28PM +0800, Wei Wang wrote: > From: Liang Li > > The implementation of the current virtio-balloon is not very > efficient, because the pages are transferred to the host one by one. > Here is the breakdown of the time in percentage spent on each

Re: [virtio-dev] packed ring layout proposal v2

2017-03-07 Thread Michael S. Tsirkin
On Tue, Mar 07, 2017 at 04:53:53PM +0100, Cornelia Huck wrote: > On Wed, 22 Feb 2017 18:43:05 +0200 > "Michael S. Tsirkin" wrote: > > > On Thu, Feb 09, 2017 at 05:11:05PM +0100, Cornelia Huck wrote: > > > > >>> * Non power-of-2 ring sizes > > > > >>> > > > > >>> As the ring

Re: [virtio-dev] packed ring layout proposal v2

2017-03-07 Thread Cornelia Huck
On Wed, 22 Feb 2017 18:43:05 +0200 "Michael S. Tsirkin" wrote: > On Thu, Feb 09, 2017 at 05:11:05PM +0100, Cornelia Huck wrote: > > > >>> * Non power-of-2 ring sizes > > > >>> > > > >>> As the ring simply wraps around, there's no reason to > > > >>> require ring size to be power