Skip to contentSkip to conversation

VSOCK: About Virtio-vsock support "Multiqueue" feature ?

RFC jiangyiwen 2 participants 2 messages Oct 8, 2018 – Nov 29, 2018

Subsystems (4)
lore
Share & tools
lore

jiangyiwen

author
#0 lore raw

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.

#1 lore raw
Quoted 11 lines · jiangyiwen

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

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization