From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 0/3] qemu-kvm: vhost net support Date: Thu, 20 Aug 2009 20:24:37 +0300 Message-ID: <4A8D86D5.4090809@redhat.com> References: <20090810192304.GA16781@redhat.com> <4A808840.70704@codemonkey.ws> <20090812173548.GA29981@redhat.com> <200908201649.48082.rusty@rustcorp.com.au> <20090820170028.GA8908@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Rusty Russell , virtualization@lists.linux-foundation.org, Anthony Liguori , kvm@vger.kernel.org To: "Michael S. Tsirkin" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:24016 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754863AbZHTRYP (ORCPT ); Thu, 20 Aug 2009 13:24:15 -0400 In-Reply-To: <20090820170028.GA8908@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 08/20/2009 08:00 PM, Michael S. Tsirkin wrote: > > Surprisingly, I seem to get better-than-userspace throughput with this > benchmark as well. Here's a test run locally, host-to-guest, > over a veth link: > > vhost: > [root@qus19 ~]# ping -c 1000000 -f -q 11.0.0.4 > PING 11.0.0.4 (11.0.0.4) 56(84) bytes of data. > > --- 11.0.0.4 ping statistics --- > 1000000 packets transmitted, 1000000 received, 0% packet loss, time 10230ms > rtt min/avg/max/mdev = 0.005/0.006/0.035/0.000 ms, ipg/ewma 0.010/0.006 ms > 6 microseconds is very impressive for round-trip time. > [root@qus19 ~]# ping -s 1024 -l 120 -c 1000000 -f -q 11.0.0.4 > PING 11.0.0.4 (11.0.0.4) 1024(1052) bytes of data. > > --- 11.0.0.4 ping statistics --- > 1000000 packets transmitted, 1000000 received, 0% packet loss, time 11270ms > rtt min/avg/max/mdev = 0.006/0.006/0.022/0.002 ms, pipe 120, ipg/ewma 0.011/0.007 ms > > That's only 100MB/sec, but understandable given the lack of interrupt mitigation. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.