From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3nkv-0002Tv-RJ for qemu-devel@nongnu.org; Tue, 01 Dec 2015 11:26:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3nks-0008OK-KJ for qemu-devel@nongnu.org; Tue, 01 Dec 2015 11:26:17 -0500 Received: from mail.kernel.org ([198.145.29.136]:45182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3nks-0008O6-EV for qemu-devel@nongnu.org; Tue, 01 Dec 2015 11:26:14 -0500 Message-ID: <1448987171.3041.2.camel@hasee> From: Ming Lin Date: Tue, 01 Dec 2015 08:26:11 -0800 In-Reply-To: <565DC48B.6030903@redhat.com> References: <1447978868-17138-1-git-send-email-mlin@kernel.org> <56506D95.70101@redhat.com> <1448266667.18175.5.camel@hasee> <56531F5F.3050709@redhat.com> <1448925639.27669.7.camel@ssi> <565DC48B.6030903@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH 0/9] vhost-nvme: new qemu nvme backend using nvme target List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, Christoph Hellwig , linux-nvme@lists.infradead.org, virtualization@lists.linux-foundation.org On Tue, 2015-12-01 at 17:02 +0100, Paolo Bonzini wrote: > > On 01/12/2015 00:20, Ming Lin wrote: > > qemu-nvme: 148MB/s > > vhost-nvme + google-ext: 230MB/s > > qemu-nvme + google-ext + eventfd: 294MB/s > > virtio-scsi: 296MB/s > > virtio-blk: 344MB/s > > > > "vhost-nvme + google-ext" didn't get good enough performance. > > I'd expect it to be on par of qemu-nvme with ioeventfd but the question > is: why should it be better? For vhost-net, the answer is that more > zerocopy can be done if you put the data path in the kernel. > > But qemu-nvme is already using io_submit for the data path, perhaps > there's not much to gain from vhost-nvme... What do you think about virtio-nvme+vhost-nvme? I also have patch for vritio-nvme: https://git.kernel.org/cgit/linux/kernel/git/mlin/linux.git/log/?h=nvme-split/virtio Just need to change vhost-nvme to work with it. > > Paolo > > > Still tuning.