search for: linux_gsg

Displaying 6 results from an estimated 6 matches for "linux_gsg".

2016 Apr 28
2
[RFC PATCH V2 2/2] vhost: device IOTLB API
...ly use bus addresses, but virtio will break. > > > > > >> Signed-off-by: Jason Wang <jasowang at redhat.com> > > What limits amount of entries that kernel keeps around? > > It depends on guest working set I think. Looking at > http://dpdk.org/doc/guides/linux_gsg/sys_reqs.html: > > - For 2MB page size in guest, it suggests hugepages=1024 > - For 1GB page size, it suggests a hugepages=4 > > So I choose 2048 to make sure it can cover this. 4K page size is rather common, too. > > Do we want at least a mod parameter for this? > >...
2016 Apr 28
2
[RFC PATCH V2 2/2] vhost: device IOTLB API
...ly use bus addresses, but virtio will break. > > > > > >> Signed-off-by: Jason Wang <jasowang at redhat.com> > > What limits amount of entries that kernel keeps around? > > It depends on guest working set I think. Looking at > http://dpdk.org/doc/guides/linux_gsg/sys_reqs.html: > > - For 2MB page size in guest, it suggests hugepages=1024 > - For 1GB page size, it suggests a hugepages=4 > > So I choose 2048 to make sure it can cover this. 4K page size is rather common, too. > > Do we want at least a mod parameter for this? > >...
2016 Apr 28
0
[RFC PATCH V2 2/2] vhost: device IOTLB API
...dependently. So looks ok? If not, looks not a problem to device IOTLB API itself. > > >> Signed-off-by: Jason Wang <jasowang at redhat.com> > What limits amount of entries that kernel keeps around? It depends on guest working set I think. Looking at http://dpdk.org/doc/guides/linux_gsg/sys_reqs.html: - For 2MB page size in guest, it suggests hugepages=1024 - For 1GB page size, it suggests a hugepages=4 So I choose 2048 to make sure it can cover this. > Do we want at least a mod parameter for this? Maybe. > >> --- >> drivers/vhost/net.c | 6 +- >...
2016 Apr 29
0
[RFC PATCH V2 2/2] vhost: device IOTLB API
...TLB too, this could be solved. > > > >>> >>>> Signed-off-by: Jason Wang <jasowang at redhat.com> >>> What limits amount of entries that kernel keeps around? >> It depends on guest working set I think. Looking at >> http://dpdk.org/doc/guides/linux_gsg/sys_reqs.html: >> >> - For 2MB page size in guest, it suggests hugepages=1024 >> - For 1GB page size, it suggests a hugepages=4 >> >> So I choose 2048 to make sure it can cover this. > 4K page size is rather common, too. I assume hugepages is used widely, and there...
2016 Apr 27
2
[RFC PATCH V2 2/2] vhost: device IOTLB API
On Fri, Mar 25, 2016 at 10:34:34AM +0800, Jason Wang wrote: > This patch tries to implement an device IOTLB for vhost. This could be > used with for co-operation with userspace(qemu) implementation of DMA > remapping. > > The idea is simple. When vhost meets an IOTLB miss, it will request > the assistance of userspace to do the translation, this is done > through: > >
2016 Apr 27
2
[RFC PATCH V2 2/2] vhost: device IOTLB API
On Fri, Mar 25, 2016 at 10:34:34AM +0800, Jason Wang wrote: > This patch tries to implement an device IOTLB for vhost. This could be > used with for co-operation with userspace(qemu) implementation of DMA > remapping. > > The idea is simple. When vhost meets an IOTLB miss, it will request > the assistance of userspace to do the translation, this is done > through: > >