Received: from [140.186.70.92] (port=55539 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq6Nr-0004TY-W3 for qemu-devel@nongnu.org; Thu, 17 Feb 2011 11:07:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq6Nq-0003XN-H3 for qemu-devel@nongnu.org; Thu, 17 Feb 2011 11:07:11 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:45650) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Pq6Np-0003X5-W4 for qemu-devel@nongnu.org; Thu, 17 Feb 2011 11:07:10 -0500 From: =?utf-8?Q?Llu=C3=ADs?= Subject: Re: [Qemu-devel] A question regarding QEMU. References: <1297822537.2205.86.camel@jacob> Date: Thu, 17 Feb 2011 17:04:26 +0100 In-Reply-To: <1297822537.2205.86.camel@jacob> (Chung Hwan Kim's message of "Tue, 15 Feb 2011 19:15:37 -0700") Message-ID: <87r5b63awl.fsf@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chung Hwan Kim Cc: qemu-devel@nongnu.org Chung Hwan Kim writes: > I and two other students have formed up a team for a project called > "Accelerating Dynamic Binary Translation with the GPUs". As the name of > the project suggests our main idea is to parallelize Dynamic Binary > Translation (DBT) process and speed it up with GPUs using the NVIDIA > CUDA library. AFAIK, DBT is a fairly control flow intensive code, so you'll probably run into lots of branch divergence problems, so that performance will suffer a lot, even if you use instruction template tables (like in qemu's PPC target). Nonetheless, I think new fermi models have less problems with that, but it's still an architecture thought for control-flow-homogeneous parallel code. In any case, I'm not sure what is the real cost of translation related to execution, it all depends on the kind of applications you're running; but the computation on the GPU better have a huge speedup compared to the current approach, or otherwise the data transfers to/from the GPU will dominate the cost, specially if they're small transfers. Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth