From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2aS9-0004wt-3g for qemu-devel@nongnu.org; Tue, 28 Feb 2012 22:43:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2aS4-0000uI-Hf for qemu-devel@nongnu.org; Tue, 28 Feb 2012 22:43:44 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:42444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2aS4-0000sI-36 for qemu-devel@nongnu.org; Tue, 28 Feb 2012 22:43:40 -0500 Received: from euspt1 ([210.118.77.13]) by mailout3.w1.samsung.com (Sun Java(tm) System Messaging Server 6.3-8.04 (built Jul 29 2009; 32bit)) with ESMTP id <0M04000OMYCNG830@mailout3.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 29 Feb 2012 03:43:35 +0000 (GMT) Received: from [106.109.9.191] by spt1.w1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0M0400C7OYCMPH@spt1.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 29 Feb 2012 03:43:35 +0000 (GMT) Date: Wed, 29 Feb 2012 07:43:33 +0400 From: Evgeny Voevodin In-reply-to: <20120229032635.GA74258@cs.nctu.edu.tw> Message-id: <4F4D9EE5.3040207@samsung.com> MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_uqSKn6f2RrCoj1RvxM9Klg)" References: <1330340818-4125-1-git-send-email-e.voevodin@samsung.com> <1330344787-14482-1-git-send-email-e.voevodin@samsung.com> <4F4C4643.2080007@samsung.com> <20120229032635.GA74258@cs.nctu.edu.tw> Subject: Re: [Qemu-devel] [PATCH v2] TCG: Convert global variables to be TLS. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?6Zmz6Z+L5Lu7?= Cc: Peter Maydell , i.mitsyanko@samsung.com, qemu-devel@nongnu.org, kyungmin.park@samsung.com, d.solodkiy@samsung.com, m.kozlov@samsung.com This is a multi-part message in MIME format. --Boundary_(ID_uqSKn6f2RrCoj1RvxM9Klg) Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: QUOTED-PRINTABLE On 29.02.2012 07:26, =E9=99=B3=E9=9F=8B=E4=BB=BB wrote: > On Tue, Feb 28, 2012 at 08:10:58AM +0000, Peter Maydell wrote: >> On 28 February 2012 03:13, Evgeny Voevodin= wrote: >>> I wanted to get some feedback and points to show up a direction t= o move in >>> this field. >>> And qomification of translation caches is an interesting suggesti= on I think. >> If you're serious about multithreading TCG then I think the first >> steps are: >> * fix existing race conditions >> * think very hard >> * come up with an overall design for what you're proposing >> >> You won't get there by incremental steps unless you know where >> you're going... > Would the paper "PQEMU: A Parallel System Emulator Based on QEMU= " help on this? > > Regards, > chenwj > > [1] http://www.cs.nthu.edu.tw/~ychung/conference/ICPADS2011.pdf > Certainly would :) Also I've studied COREMU:=20 http://ppi.fudan.edu.cn/_media/publications%3Bcoremu-ppopp11.pdf But they are based on v0.14 as I can remember and seems that this= =20 project is not going to come upstream. Anyway, thee are a lot of useful approaches they done while facing= =20 different problems on the way of paralleling the TCG. I'm sure that those approaches should be used in future work. --=20 Kind regards, Evgeny Voevodin, Leading Software Engineer, ASWG, Moscow R&D center, Samsung Electronics e-mail: e.voevodin@samsung.com --Boundary_(ID_uqSKn6f2RrCoj1RvxM9Klg) Content-type: text/html; charset=UTF-8 Content-transfer-encoding: QUOTED-PRINTABLE On 29.02.2012 07:26, =E9=99=B3=E9=9F=8B=E4=BB=BB wrote:
On Tue, Feb 28, 2012 at 08:10:58AM +0000, Peter =
Maydell wrote:
On 28 February 2012 03:13, Evgeny Voevodin <e.voevodin@samsung.com> wrote:
I wanted to get some feedback and points to =
show up a direction to move in
this field.
And qomification of translation caches is an interesting suggestion I=
 think.
If you're serious about multithreading TCG then I think the first
steps are:
 * fix existing race conditions
 * think very hard
 * come up with an overall design for what you're proposing

You won't get there by incremental steps unless you know where
you're going...
  Would the paper "PQEMU: A Parallel System Emulator Based on QEMU " =
help on this?

Regards,
chenwj

[1] http://www.cs.nthu.edu.tw/~ych=
ung/conference/ICPADS2011.pdf


Certainly would :) Also I've studied COREMU: http://ppi.fudan.edu.cn/_media/publications%3Bcoremu-ppopp= 11.pdf
But they are based on v0.14 as I can remember and seems that this project is not going to come upstream.
Anyway, thee are a lot of useful approaches they done while facin= g different problems on the way of paralleling the TCG.
I'm sure that those approaches should be used in future work.

--=20
Kind regards,
Evgeny Voevodin,
Leading Software Engineer,=20
ASWG, Moscow R&D center, Samsung Electronics
e-mail: e.voevodin@samsung.com
--Boundary_(ID_uqSKn6f2RrCoj1RvxM9Klg)--