From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QalNY-000471-1j for qemu-devel@nongnu.org; Sun, 26 Jun 2011 05:11:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QalNV-0004Kw-Su for qemu-devel@nongnu.org; Sun, 26 Jun 2011 05:11:43 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:56837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QalNV-0004Kr-An for qemu-devel@nongnu.org; Sun, 26 Jun 2011 05:11:41 -0400 Message-ID: <4E06F7CB.6080407@web.de> Date: Sun, 26 Jun 2011 11:11:39 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <20110413201615.GA15989@volta.aurel32.net> <4E059E78.4010606@web.de> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCEDF6DE643766F7847A4E675" 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: =?ISO-8859-1?Q?Andreas_F=E4rber?= Cc: Anthony Liguori , Marcelo Tosatti , qemu-devel Developers , Alexander Graf , Paolo Bonzini , Aurelien Jarno This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCEDF6DE643766F7847A4E675 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2011-06-26 00:44, Andreas F=E4rber wrote: > Am 25.06.2011 um 10:38 schrieb Jan Kiszka: >=20 >> 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 th= e >>>> io-thread mode for TCG here, specifically when emulating SMP. >>>> >>>> The major change in this version, besides rebasing, is the exclusion= of >>>> 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(-) >>>> >>> >>> Thanks for working on improving the io-thread with TCG. Your patches >>> 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 virti= o: >>> >>> no io-thread 122 MB/s >>> io-thread 97 MB/s >>> io-thread + patches 98 MB/s >>> >> >> Given that everyone seems to agree that these patches are a step into >> the right direction (for the current TCG locking architecture at least= ), >> can we please finally apply them? They do have positive impact in some= >> use cases. If rebasing is required (I don't think so), just let me kno= w. >> >> BTW, did you make any progress with tracing the remaining issues? >=20 > I've tested these together with Paolo's fixes, but it still hangs on > Darwin. Doesn't appear to make it worse though. http://thread.gmane.org/gmane.comp.emulators.qemu/106225 is still not merged. Jan --------------enigCEDF6DE643766F7847A4E675 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/ iEYEARECAAYFAk4G98sACgkQitSsb3rl5xQcQQCfewb894rn+8uE8E88lSD/i7bJ FNAAn1ugLU29om4ava41IRnyl9TsxRgo =bVwh -----END PGP SIGNATURE----- --------------enigCEDF6DE643766F7847A4E675--