From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=53453 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2PeC-0007LX-Gx for qemu-devel@nongnu.org; Sun, 03 Oct 2010 10:34:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2PeA-0006g9-NU for qemu-devel@nongnu.org; Sun, 03 Oct 2010 10:34:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2PeA-0006g4-Cz for qemu-devel@nongnu.org; Sun, 03 Oct 2010 10:34:38 -0400 Date: Sun, 3 Oct 2010 16:28:28 +0200 From: "Michael S. Tsirkin" Message-ID: <20101003142828.GB19775@redhat.com> References: <1285855312-11739-1-git-send-email-stefanha@linux.vnet.ibm.com> <4CA862A7.2080302@redhat.com> <20101003135138.GA19775@redhat.com> <4CA89185.6070302@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CA89185.6070302@redhat.com> Subject: [Qemu-devel] Re: [PATCH] virtio: Use ioeventfd for virtqueue notify List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Steve Dobbelstein , Anthony Liguori , Stefan Hajnoczi , kvm@vger.kernel.org, qemu-devel@nongnu.org, Khoa Huynh , Sridhar Samudrala On Sun, Oct 03, 2010 at 04:21:57PM +0200, Avi Kivity wrote: > On 10/03/2010 03:51 PM, Michael S. Tsirkin wrote: > >On Sun, Oct 03, 2010 at 01:01:59PM +0200, Avi Kivity wrote: > >> > > >> >Guest to Host TCP_STREAM throughput(Mb/sec) > >> >------------------------------------------- > >> >Msg Size vhost-net virtio-net virtio-net/ioeventfd > >> >65536 12755 6430 7590 > >> >16384 8499 3084 5764 > >> > 4096 4723 1578 3659 > >> > 1024 1827 981 2060 > >> > >> Even more impressive (expected since the copying, which isn't > >> present for block, is now shunted off into an iothread). > >> > >> On the last test you even exceeded vhost-net. Any theories how/why? > >> > >> Again, efficiency numbers would be interesting. > >> > >> >Host to Guest TCP_STREAM throughput(Mb/sec) > >> >------------------------------------------- > >> >Msg Size vhost-net virtio-net virtio-net/ioeventfd > >> >65536 11156 5790 5853 > >> >16384 10787 5575 5691 > >> > 4096 10452 5556 4277 > >> > 1024 4437 3671 5277 > >> > >> Here you exceed vhost-net, too. > > > >This is with small packets- I suspect this is the extra > >per interrupt overhead that eventfd has. > > This is using eventfd as well. Sorry, I meant irqfd. > -- > error compiling committee.c: too many arguments to function