From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpuRv-00011r-5y for qemu-devel@nongnu.org; Mon, 09 Dec 2013 01:36:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpuRt-0005Jf-Lm for qemu-devel@nongnu.org; Mon, 09 Dec 2013 01:36:11 -0500 Received: from mail-vc0-x22c.google.com ([2607:f8b0:400c:c03::22c]:52170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpuRt-0005Ja-HZ for qemu-devel@nongnu.org; Mon, 09 Dec 2013 01:36:09 -0500 Received: by mail-vc0-f172.google.com with SMTP id ij19so1201372vcb.3 for ; Sun, 08 Dec 2013 22:36:09 -0800 (PST) MIME-Version: 1.0 Date: Mon, 9 Dec 2013 15:36:08 +0900 Message-ID: From: Xin Tong Content-Type: multipart/alternative; boundary=bcaec501604b10a9a004ed1436d4 Subject: [Qemu-devel] save compiled qemu traces. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --bcaec501604b10a9a004ed1436d4 Content-Type: text/plain; charset=ISO-8859-1 Does anyone have profiles on how much time QEMU spends in translating instructions. QEMU does not have a baseline interpreter nor does it translate on trace-granularity. so i imagine QEMU must spend quite a bit of time translating instructions. Is it possible for QEMU to obviate some of the translations by attaching a signature (e.g. a hash) with every translated basic block and try to reuse translated basic block based on the signature as much as possible ? Reuses can be a result of rerunning programs or same libraries statically linked to programs. This could end up saving some translation time. Thank you, Xin --bcaec501604b10a9a004ed1436d4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Does anyone have profiles on how much time QEMU spends in tr= anslating instructions. QEMU does not have a baseline interpreter nor does = it translate on trace-granularity. =A0so i imagine QEMU must spend quite a = bit of time translating instructions.
Is it possible for QEMU to obviate some of the translations by attach= ing a signature (e.g. a hash) with every translated basic block and try to = reuse translated basic block based on the signature as much as possible ? R= euses can be a result of rerunning programs or same libraries statically li= nked to programs.=A0
This could end up saving some translation time.

Thank you,
Xin
--bcaec501604b10a9a004ed1436d4--