Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-12 Thread Ian Campbell
On Wed, 2015-03-11 at 13:30 +, Gareth Stockwell wrote: > On Wed, Mar 11, 2015 at 10:54:25, Ian Campbell wrote: > > > > What sorts of batch sizes are you expecting to see in your use case? > > > > > > We need to share hundreds of MB, so (assuming a 4kB guest page size) > > > the batch size can b

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-12 Thread Gareth Stockwell
Hi Ian, Thanks for your reply. On Tue, Mar 10, 2015 at 16:22:40, Ian Campbell wrote: > > > What is the recommended way for the donor to transmit a batch of > > grant references? I assume that this requires the donor to pack > > references into an index page, grant foreign access to the index and

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Gareth Stockwell
On Wed, Mar 11, 2015 at 10:54:25, Ian Campbell wrote: > > > What sorts of batch sizes are you expecting to see in your use case? > > > > We need to share hundreds of MB, so (assuming a 4kB guest page size) > > the batch size can be thousands of grant references. > > FWIW, the granularity of a gref

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 10:40 +, Gareth Stockwell wrote: > On Wed, Mar 11, 2015 at 10:24:48, Ian Campbell wrote: > > > I think this gives us two options for grant reference batch transmission: > > > > > > 1. Send the grant references via the ring buffer. > > > This doesn't require any additional

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Wei Liu
On Wed, Mar 11, 2015 at 10:24:48AM +, Ian Campbell wrote: > On Wed, 2015-03-11 at 10:12 +, Gareth Stockwell wrote: > > Hi Ian, > > > > Thanks for your reply. > > > > On Tue, Mar 10, 2015 at 16:22:40, Ian Campbell wrote: > > > > > > > What is the recommended way for the donor to transmit a

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Gareth Stockwell
On Wed, Mar 11, 2015 at 10:24:48, Ian Campbell wrote: > > I think this gives us two options for grant reference batch transmission: > > > > 1. Send the grant references via the ring buffer. > > This doesn't require any additional allocations, but means that if > > the number of grant references in

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-11 Thread Ian Campbell
On Wed, 2015-03-11 at 10:12 +, Gareth Stockwell wrote: > Hi Ian, > > Thanks for your reply. > > On Tue, Mar 10, 2015 at 16:22:40, Ian Campbell wrote: > > > > > What is the recommended way for the donor to transmit a batch of > > > grant references? I assume that this requires the donor to pa

Re: [Xen-devel] [Xen-users] Grant reference batch transmission

2015-03-10 Thread Ian Campbell
Hi Gareth, I think this counts as a -devel question, so I've added -devel and moved -users to bcc (-users is more for end users). I've done less quote trimming than usual for the other folks on -devel. On Tue, 2015-03-10 at 14:15 +, Gareth Stockwell wrote: > What is the recommended way to tra