All of lore.kernel.org
 help / color / mirror / Atom feed
From: "John R. Hogerhuis" <jhoger@pobox.com>
To: jseward@acm.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Storing code caching
Date: Thu, 08 Jul 2004 12:45:12 -0700	[thread overview]
Message-ID: <1089315912.12383.1777.camel@aragorn> (raw)
In-Reply-To: <200407082011.54991.jseward@acm.org>

On Thu, 2004-07-08 at 12:11, Julian Seward wrote:

> Nice idea, but ... I suspect it solves a non-problem really.  Caching
> translations is only worthwhile when translation time is a large
> part of overall run time, but I bet that's not the case.  It certainly
> isn't with Valgrind, which uses similar technology.
> 

Right. That's entirely possible, but just as much speculation without
any numbers.

No one knows until the work or analysis is done...

Translation time is certainly not negligible. And a better code
generator would quite likely swamp any improvements a persistent cache
could give. There's disk I/O to consider there too. But it is possible
the improvements would make a faster emulator.

It depends on requirements too I guess. If you don't care about load
time then you probably don't care about translation time either since
from the user's point of view they are going to be conflated.

> If you want to throw lots of hacking effort at QEMU to make it
> go faster, I suspect you'll need to be building a more sophisticated
> code generator, a la "lcc" (http://www.cs.princeton.edu/software/lcc).

Interesting... why do you bring up lcc specifically? Just browsing that
page and its FAQ didn't tell me much about it other than it is a
retargetable C compiler.

      reply	other threads:[~2004-07-08 19:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-08 12:26 [Qemu-devel] Storing code caching Martin Williams
2004-07-08 17:05 ` John R. Hogerhuis
2004-07-08 17:25   ` Antony T Curtis
2004-07-08 18:42     ` [spam score 1/10 -pobox] " John R. Hogerhuis
2004-07-08 19:42     ` Re[2]: " Igor Shmukler
2004-07-08 17:57   ` Martin Williams
2004-07-08 18:28     ` John R. Hogerhuis
2004-07-08 19:11     ` Julian Seward
2004-07-08 19:45       ` John R. Hogerhuis [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=1089315912.12383.1777.camel@aragorn \
    --to=jhoger@pobox.com \
    --cc=jseward@acm.org \
    --cc=qemu-devel@nongnu.org \
    /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.