All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] VSOCK: The performance problem of vhost_vsock.
@ 2018-10-15  1:43 jiangyiwen
  2018-10-15  2:33 ` Jason Wang
  2018-10-15  2:33 ` Jason Wang
  0 siblings, 2 replies; 22+ messages in thread
From: jiangyiwen @ 2018-10-15  1:43 UTC (permalink / raw)
  To: stefanha; +Cc: kvm, virtualization, netdev

Hi Stefan & All:

Now I find vhost-vsock has two performance problems even if it
is not designed for performance.

First, I think vhost-vsock should faster than vhost-net because it
is no TCP/IP stack, but the real test result vhost-net is 5~10
times than vhost-vsock, currently I am looking for the reason.

Second, vhost-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. So if there are multiple applications
in the guest, we should support "Multiqueue" feature for Virtio-vsock.

Stefan, have you encountered these problems?

Thanks,
Yiwen.

^ permalink raw reply	[flat|nested] 22+ messages in thread
* [RFC] VSOCK: The performance problem of vhost_vsock.
@ 2018-10-15  1:43 jiangyiwen
  0 siblings, 0 replies; 22+ messages in thread
From: jiangyiwen @ 2018-10-15  1:43 UTC (permalink / raw)
  To: stefanha; +Cc: netdev, kvm, virtualization

Hi Stefan & All:

Now I find vhost-vsock has two performance problems even if it
is not designed for performance.

First, I think vhost-vsock should faster than vhost-net because it
is no TCP/IP stack, but the real test result vhost-net is 5~10
times than vhost-vsock, currently I am looking for the reason.

Second, vhost-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. So if there are multiple applications
in the guest, we should support "Multiqueue" feature for Virtio-vsock.

Stefan, have you encountered these problems?

Thanks,
Yiwen.

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2018-10-18 10:44 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-15  1:43 [RFC] VSOCK: The performance problem of vhost_vsock jiangyiwen
2018-10-15  2:33 ` Jason Wang
2018-10-15  2:33 ` Jason Wang
2018-10-15  6:12   ` jiangyiwen
2018-10-15  6:12   ` jiangyiwen
2018-10-17  9:27     ` jiangyiwen
2018-10-17  9:27       ` jiangyiwen
2018-10-17  9:39       ` Jason Wang
2018-10-17  9:51         ` Jason Wang
2018-10-17 11:41           ` jiangyiwen
2018-10-17 11:41             ` jiangyiwen
2018-10-17 12:31             ` Jason Wang
2018-10-18  1:22               ` jiangyiwen
2018-10-18  1:22                 ` jiangyiwen
2018-10-18  2:45                 ` Jason Wang
2018-10-18  2:45                 ` Jason Wang
2018-10-17 12:31             ` Jason Wang
2018-10-17  9:51         ` Jason Wang
2018-10-17 11:32         ` jiangyiwen
2018-10-17 11:32         ` jiangyiwen
2018-10-17  9:39       ` Jason Wang
  -- strict thread matches above, loose matches on Subject: below --
2018-10-15  1:43 jiangyiwen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.