Re: [Qemu-devel] Measure virtio-vsock speed

2016-12-16 Thread Stefan Hajnoczi
On Thu, Dec 15, 2016 at 05:00:35PM +0800, Zhang Shuaiyi wrote: > I used kernel 4.8 and qemu v2.8.0-rc3. > Qemu command line: > -device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=3 > > I try to use nc-vsock to test vsock speed. > 1. In host: > # modprobe vhost-vsock > # ./nc-vsock -l 1234

[Qemu-devel] Measure virtio-vsock speed

2016-12-15 Thread Zhang Shuaiyi
I used kernel 4.8 and qemu v2.8.0-rc3. Qemu command line: -device vhost-vsock-pci,id=vhost-vsock-pci0,guest-cid=3 I try to use nc-vsock to test vsock speed. 1. In host: # modprobe vhost-vsock # ./nc-vsock -l 1234 > /dev/null 2. In guest: a. use pv and nc-vsock, speed is about 62MB/s.