From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlwyx-000269-QQ for qemu-devel@nongnu.org; Wed, 05 Nov 2014 04:34:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xlwys-0006FQ-V9 for qemu-devel@nongnu.org; Wed, 05 Nov 2014 04:34:27 -0500 Received: from szxga01-in.huawei.com ([119.145.14.64]:6182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xlwys-0006FB-A4 for qemu-devel@nongnu.org; Wed, 05 Nov 2014 04:34:22 -0500 Message-ID: <5459EF01.7080009@huawei.com> Date: Wed, 5 Nov 2014 17:33:53 +0800 From: Shannon Zhao MIME-Version: 1.0 References: <1415105252-14600-1-git-send-email-zhaoshenglong@huawei.com> In-Reply-To: <1415105252-14600-1-git-send-email-zhaoshenglong@huawei.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/4] ioeventfd support for virtio-mmio List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, hangaohuai@huawei.com, yingshiuan.pan@gmail.com, mst@redhat.com, john.liuli@huawei.com, peter.huangpeng@huawei.com, n.nikolaev@virtualopensystems.com, aliguori@amazon.com On 2014/11/4 20:47, Shannon Zhao wrote: > Add host/guest notifiers support for virtio-mmio, so that qemu can > enable vhost-net for kvm-arm. > > Refer to the patches from Ying-Shiuan Pan > https://lists.gnu.org/archive/html/qemu-devel/2014-02/msg00715.html > > As vhost-net can improve the net performance by about 30%, > so I think it's necessary to make virtio-mmio work with vhost-net > on arm/arm64. Hi, Some virtio-net with virtio-mmio performance data on ARM added as followed: Type of backend bandwith(GBytes/sec) (From Host to Guest) virtio-net 0.66 vhost-net 1.49 vhost-net with irqfd 2.01 Test cmd: ./iperf -c 192.168.0.2 -P 1 -i 10 -p 5001 -f G -t 60 >>From this test data, vhost-net and irqfd have great improvement on performance. So maybe it's necessary to enable ioeventfd make vhost-net work with virtio-mmio on ARM/ARM64. Look forward to your feedback :) Thanks, Shannon > > Shannon Zhao (4): > virtio-mmio: introduce set_host_notifier() > virtio-mmio: introduce set_guest_notifiers > virtio-mmio: start ioeventfd when status gets DRIVER_OK > virtio-mmio: add a new property for ioeventfd > > hw/net/virtio-net.c | 1 + > hw/virtio/virtio-mmio.c | 176 ++++++++++++++++++++++++++++++++++++++++++++ > include/hw/virtio/virtio.h | 1 + > 3 files changed, 178 insertions(+), 0 deletions(-) > > > -- Shannon