Re: [virtio-dev] VM memory protection and zero-copy transfers.

2022-07-12 Thread Stefan Hajnoczi
On Fri, Jul 08, 2022 at 01:56:31PM +, Afsa, Baptiste wrote: > Hello everyone, > > The traditional virtio model relies on the ability for the host to access the > entire memory of the guest VM. The VIRTIO device model (virtqueues, configuration space, feature negotiation, etc) does not rely on

Re: [virtio-dev] VM memory protection and zero-copy transfers.

2022-07-15 Thread Stefan Hajnoczi
On Fri, Jul 15, 2022 at 02:18:32PM +, Afsa, Baptiste wrote: > > One thing I didn't see in your proposal was a copying vs zero-copy > > threshold. Maybe it helps to look at the size of requests and copy data > > instead of granting pages when descriptors are small? On the other hand, > > a 4 KB

Re: [virtio-dev] VM memory protection and zero-copy transfers.

2022-09-09 Thread Stefan Hajnoczi
On Fri, Sep 09, 2022 at 08:52:02AM +, Afsa, Baptiste wrote: > Hello, > > I ran some benchmarks to compare the performances achieved by the swiotlb > approach and our dynamic memory granting solution while using different buffer > sizes. Without any surprise, the swiotlb approach performs much