All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Xin Tong <trent.tong@gmail.com>, QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] save compiled qemu traces.
Date: Tue, 10 Dec 2013 10:04:14 +0000	[thread overview]
Message-ID: <87y53t58f5.fsf@linaro.org> (raw)
In-Reply-To: <CAFEAcA9h8H8OJEhd=FQLr2g2xXg7j=7NhrQSJ9dNU2g9TchXkg@mail.gmail.com>


peter.maydell@linaro.org writes:

> On 9 December 2013 06:36, Xin Tong <trent.tong@gmail.com> wrote:
>> 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.
>
> We already cache translated results. See tb_find_fast()
> and tb_find_slow() which do the lookup into the cache.

These are for the current execution context though aren't they? I
thought Xin was talking about caching translations between invocations
of QEMU.

I suspect address space randomisation would be another wrinkle in the
side of any such scheme though.

>
> thanks
> -- PMM

-- 
Alex Bennée
QEMU/KVM Hacker for Linaro

      parent reply	other threads:[~2013-12-10 10:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-09  6:36 [Qemu-devel] save compiled qemu traces Xin Tong
2013-12-09 15:25 ` Alex Bennée
2013-12-12  4:07   ` Xin Tong
2013-12-12  4:51     ` Xin Tong
2013-12-12 13:37     ` Laurent Desnogues
2013-12-09 15:32 ` Peter Maydell
2013-12-10  2:41   ` Xin Tong
2013-12-10 10:04   ` Alex Bennée [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y53t58f5.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=trent.tong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.