From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVfQZ-0005wd-UJ for qemu-devel@nongnu.org; Tue, 06 Nov 2012 04:26:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVfQV-00036I-HS for qemu-devel@nongnu.org; Tue, 06 Nov 2012 04:26:35 -0500 Received: from mout.web.de ([212.227.15.4]:59111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVfQV-00035e-7S for qemu-devel@nongnu.org; Tue, 06 Nov 2012 04:26:31 -0500 Message-ID: <5098D7B9.9020205@web.de> Date: Tue, 06 Nov 2012 10:26:17 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <24E144B8C0207547AD09C467A8259F75577D5BE5@lisa.maurer-it.com> <24E144B8C0207547AD09C467A8259F75577E90B9@lisa.maurer-it.com> <24E144B8C0207547AD09C467A8259F75577EC2E1@lisa.maurer-it.com> In-Reply-To: <24E144B8C0207547AD09C467A8259F75577EC2E1@lisa.maurer-it.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4DAE3BB1EDA8E66E42CE35FF" 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: Dietmar Maurer Cc: Stefan Hajnoczi , Peter Lieven , "qemu-devel@nongnu.org" , "Michael S. Tsirkin" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4DAE3BB1EDA8E66E42CE35FF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2012-11-06 10:01, Dietmar Maurer wrote: > OK, bisect point me to this commit: >=20 > # git bisect bad > 7d37d351dffee60fc7048bbfd8573421f15eb724 is the first bad commit > commit 7d37d351dffee60fc7048bbfd8573421f15eb724 > Author: Jan Kiszka > Date: Thu May 17 10:32:39 2012 -0300 >=20 > virtio/vhost: Add support for KVM in-kernel MSI injection > =20 > Make use of the new vector notifier to track changes of the MSI-X > configuration of virtio PCI devices. On enabling events, we establi= sh > the required virtual IRQ to MSI-X message route and link the signal= ing > eventfd file descriptor to this vIRQ line. That way, vhost-generate= d > interrupts can be directly delivered to an in-kernel MSI-X consumer= like > the x86 APIC. > =20 > Signed-off-by: Jan Kiszka > Signed-off-by: Avi Kivity >=20 > :040000 040000 1734ddc60cd8a85c7187e93e5a4c02e6d7706cf8 f417e63a684f3b9= 2f5ff35d256962a2490890f00 M hw >=20 >=20 > This obviously breaks vhost when using multiple cores. With "obviously" you mean you already have a clue why? I'll try to reproduce. Jan --------------enig4DAE3BB1EDA8E66E42CE35FF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCY17kACgkQitSsb3rl5xSqbQCgvdc1q+gFYCulJXc18yWvrxZS l9UAoNe2C7e+FNYNkMvFZffzPrR/E4Pe =BYaV -----END PGP SIGNATURE----- --------------enig4DAE3BB1EDA8E66E42CE35FF--