From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:34406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAGlD-0006uR-MZ for qemu-devel@nongnu.org; Thu, 14 Apr 2011 03:14:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAGlC-0000I6-KF for qemu-devel@nongnu.org; Thu, 14 Apr 2011 03:14:39 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:35465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAGlC-0000Hp-2d for qemu-devel@nongnu.org; Thu, 14 Apr 2011 03:14:38 -0400 Message-ID: <4DA69EDB.8080600@web.de> Date: Thu, 14 Apr 2011 09:14:35 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <20110413201615.GA15989@volta.aurel32.net> In-Reply-To: <20110413201615.GA15989@volta.aurel32.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCBBC4814DBE182BF1EC05254" Sender: jan.kiszka@web.de Subject: Re: [Qemu-devel] [PATCH v2 0/3] io-thread optimizations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: Paolo Bonzini , Anthony Liguori , Marcelo Tosatti , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCBBC4814DBE182BF1EC05254 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 2011-04-13 22:16, Aurelien Jarno wrote: > On Mon, Apr 11, 2011 at 10:27:41PM +0200, Jan Kiszka wrote: >> These patches were posted before. They bring down the overhead of the >> io-thread mode for TCG here, specifically when emulating SMP. >> >> The major change in this version, besides rebasing, is the exclusion o= f >> KVM from the main loop polling optimization. >> >> >> >> Jan Kiszka (3): >> Do not drop global mutex for polled main loop runs >> Poll main loop after I/O events were received >> Do not kick vcpus in TCG mode >> >> cpus.c | 2 +- >> sysemu.h | 2 +- >> vl.c | 22 ++++++++++++++++------ >> 3 files changed, 18 insertions(+), 8 deletions(-) >> >=20 > Thanks for working on improving the io-thread with TCG. Your patches=20 > make sense, but they don't seems to fix the slowdown observed when > enabling the io-thread. Well maybe they were not supposed to. This is > for example the results of netperf between guest and host using virtio:= >=20 > no io-thread 122 MB/s > io-thread 97 MB/s > io-thread + patches 98 MB/s >=20 Can you capture ftraces of io-thread enabled & disabled runs? They just need to cover a hand full of frames. Thanks, Jan --------------enigCBBC4814DBE182BF1EC05254 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.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk2mntsACgkQitSsb3rl5xS6QQCfYjmwPZyWehjhiHqrBbXNro0D VD8AnAit3MaCss/XXW3OS2EqOh85Tk93 =BYgI -----END PGP SIGNATURE----- --------------enigCBBC4814DBE182BF1EC05254--