| ▲ | Veserv an hour ago | |
Says it is fast, but presents zero benchmarks to demonstrate it is actually fast or even “faster”. It is shameful to make up adjectives just to sound cool. | ||
| ▲ | rwmj 23 minutes ago | parent [-] | |
vsock is pretty widely used, and if you're using virtio-vsock it should be fast. Anyway if you want to do some quick benchmarks and have an existing Linux VM on a libvirt host: (1) 'virsh edit' the guest and check it has '<vsock/>' in the <devices> section of the XML. (2) On the host:
(3) Inside the guest:
(You should see the size being 1G)And then you can try using commands like nbdcopy to copy data into and out of the host RAM disk over vsock. eg:
On my machine that's copying at a fairly consistent 20 Gbps, but it's going to depend on your hardware. | ||