VSOCK: From Convenience to Performant VirtIO Communication
summary
VSOCK gains datagram support and shows concrete wins: in virtio-over-vhost tests (8 vCPUs, one sender thread per vCPU, 1 RX/1 TX queue per CPU, equal buffer space) VSOCK datagrams deliver almost double throughput versus UDP across 64–4K payloads, with send-path latency much smaller; tests note a troubling 300 microsecond workq delay that still needs fixing. Integration of sockmap zero-copy potential reduces user/kernel copies and CPU, and datagram+sockmap prototypes work and are under upstream review.
AI-written summary · about
chapters (12)
- 0:00Introduction and speakers
- 0:22Background and usage of VSOCK
- 3:14VSOCK architecture and flow
- 6:53VSOCK protocol explained
- 10:48Performance characteristics of VSOCK
- 14:23Datagram support for VSOCK
- 24:29Sock map for VSOCK
- 29:36Summary and future work
- 30:20Q&A: High-throughput use cases
- 31:25Q&A: Zero-copy and IOU ring
- 32:51Q&A: User space interface
- 35:40Q&A: Latency testing tools
related talks
35mWhy OCP networking performances on VMs are suboptimal and how to improve them by 5x
47mSpeedrun through Splicing Sockets with Sockmap
01h 21mTutorial: Developing High-performance Networking Applications
28mvPipe: One Pipe to Connect Them All!
30mHA-IOV: Applying Hardware-assisted Techniques to IO Virtualization Framework
19mBring RoCE (RDMA over Converged Ethernet) Capability to Virtio-net Device
37mSPDK Based User Space NVMe Over TCP Transport Solution
14mPerf Characteristics of Userspace & Kernel-Space Datapaths in Container Networking
