[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xenbus_client: extend interface to suppurt multi-page ring



On Tue, Aug 27, 2013 at 03:26:48PM +0100, David Vrabel wrote:
> On 23/08/13 23:27, Wei Liu wrote:
> > Originally Xen PV drivers only use single-page ring to pass along
> > information. This might limit the throughput between frontend and
> > backend.
> 
> Why does the number of pages in the ring have to be a power of two?
> Should we be able to handle any number of pages?
> 

No they don't. There is no problem changing to handle any number of
pages, given that the number of pages <= XENBUS_MAX_RING_PAGES. In fact
my first version was like that. :-)

I change to power of two because someone suggested that at Hackathon.
But that's pretty random suggestion too so it's quite safe to ignore
that.

Further thought is that using arbitrary number would be more
space-effecient. I will change to that.

Wei.

> David

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.