From mboxrd@z Thu Jan 1 00:00:00 1970 From: jiangyiwen Subject: [RFC] VSOCK: The performance problem of vhost_vsock. Date: Mon, 15 Oct 2018 09:43:48 +0800 Message-ID: <5BC3F0D4.60409@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: , , To: Return-path: Received: from szxga04-in.huawei.com ([45.249.212.190]:13634 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726186AbeJOJ04 (ORCPT ); Mon, 15 Oct 2018 05:26:56 -0400 Sender: netdev-owner@vger.kernel.org List-ID: 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.