From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYJrB-000453-Gw for qemu-devel@nongnu.org; Tue, 13 Nov 2012 12:01:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYJr8-0003qn-FO for qemu-devel@nongnu.org; Tue, 13 Nov 2012 12:01:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYJr8-0003qg-6C for qemu-devel@nongnu.org; Tue, 13 Nov 2012 12:00:58 -0500 Date: Tue, 13 Nov 2012 19:03:14 +0200 From: "Michael S. Tsirkin" Message-ID: <20121113170313.GA1082@redhat.com> References: <24E144B8C0207547AD09C467A8259F75577EE707@lisa.maurer-it.com> <6c17c45c1439f217b36df2c78f0a04e6.squirrel@ssl.dlhnet.de> <50A233AF.70107@dlhnet.de> <20121113162256.GA554@redhat.com> <50A2739E.1060107@dlhnet.de> <20121113162611.GB554@redhat.com> <3A27EC1A-869C-4C0F-8559-77F1371F77D7@dlhnet.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3A27EC1A-869C-4C0F-8559-77F1371F77D7@dlhnet.de> Subject: Re: [Qemu-devel] slow virtio network with vhost=on and multiple cores List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven Cc: Stefan Hajnoczi , Peter Lieven , Jan Kiszka , Dietmar Maurer , "qemu-devel@nongnu.org" On Tue, Nov 13, 2012 at 05:27:17PM +0100, Peter Lieven wrote: > > Am 13.11.2012 um 17:26 schrieb Michael S. Tsirkin: > > > On Tue, Nov 13, 2012 at 05:21:50PM +0100, Peter Lieven wrote: > >> On 13.11.2012 17:22, Michael S. Tsirkin wrote: > >>> On Tue, Nov 13, 2012 at 12:49:03PM +0100, Peter Lieven wrote: > >>>> On 09.11.2012 19:03, Peter Lieven wrote: > >>>>> Remark: > >>>>> If i disable interrupts on CPU1-3 for virtio the performance is ok again. > >>>>> > >>>>> Now we need someone with deeper knowledge of the in-kernel irqchip and the > >>>>> virtio/vhost driver development to say if this is a regression in qemu-kvm > >>>>> or a problem with the old virtio drivers if they receive the interrupt on > >>>>> different CPUs. > >>>> anyone? > >>> Looks like the problem is not in the guest: I tried ubuntu guest > >>> on a rhel host, I got 8GB/s with vhost and 4GB/s without > >>> on a host to guest banchmark. > >> which ubuntu version in the guest? > >> > >> Peter > > > > ubuntu-10.04.4-server-amd64.iso > > can you try with vnet_hdr=on on the nic. You mean on tap? Same thing. > the bug seems to be only relevant when vhost-net is used. > > Dietmar, see you implications with normal virtio? > > Peter