qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] VSOCK performance
@ 2019-01-29 11:39 Stefano Garzarella
  0 siblings, 0 replies; only message in thread
From: Stefano Garzarella @ 2019-01-29 11:39 UTC (permalink / raw)
  To: jiangyiwen
  Cc: Michael Tsirkin, Stefan Hajnoczi, Jason Wang, netdev,
	qemu devel list

Hi Yiwen,
I'm currently interested on how to improve the VSOCK performance and I
read your discussions with Jason, Michael, and Stefan on both
linux-netdev and qemu-devel mailing lists.

Are you still working on it?

Reading the discussions I understood that batching can help us a lot
to increase the VSOCK performance (especially for guest->host
direction).

As a first step, I added VSOCK support to iperf3 [1] in order to
measure the current performance of VSOCK (without any modification):

              Single socket
Guest->Host        ~950MB/s
Host->Guest       ~2700MB/s

They are slightly different from your results but I think that depends
on the hardware.
My current setup is the following:
HW: Lenovo T480s (i7-8650U, DDR4 2133 Mhz)
OS (guest/host): Fedora 29 (Linux 4.20.4-200.fc29.x86_64)
Guest app: iperf3 --vsock -s
Host app:  iperf3 --vsock -c $GUEST_CID -l 64K


Just to double check these values, can you share with me the tool that you used?


Thanks,
Stefano

#1 https://github.com/esnet/iperf/pull/840

-- 
Stefano Garzarella
Software Engineer @ Red Hat

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-29 11:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-29 11:39 [Qemu-devel] VSOCK performance Stefano Garzarella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).