jiangyiwen
2018-Oct-08 07:06 UTC
[RFC] VSOCK: About Virtio-vsock support "Multiqueue" feature ?
Hi Stefan & All: Now virtio-vsock only supports two vqs(tx and rx), that means if multiple sockets in the guest will use the same vq to transmit the message and get the response. In this way, the bandwidth will be limited to ~700MB/s. So if there are multiple applications in the guest, we should support "Multiqueue" feature for Virtio-vsock. I want to know whether we already have plans to support multiqueue or already have simple demo that can be used. If not, I will try to implement this feature. Thanks, Yiwen.
Stefan Hajnoczi
2018-Nov-29 14:06 UTC
[RFC] VSOCK: About Virtio-vsock support "Multiqueue" feature ?
On Mon, Oct 08, 2018 at 03:06:43PM +0800, jiangyiwen wrote:> Hi Stefan & All: > > Now virtio-vsock only supports two vqs(tx and rx), that means > if multiple sockets in the guest will use the same vq to transmit > the message and get the response. In this way, the bandwidth will > be limited to ~700MB/s. So if there are multiple applications in > the guest, we should support "Multiqueue" feature for Virtio-vsock. > > I want to know whether we already have plans to support multiqueue > or already have simple demo that can be used. If not, I will try > to implement this feature.Multiqueue is certainly interesting. It would be interesting to see if/how it affects common net/vmw_vsock/ code. Hopefully nothing much will change there but I haven't checked if any common locking would prevent multiqueue from working efficiently. Stefan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20181129/442f776c/attachment.sig>