qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Storing code caching
@ 2004-07-08 12:26 Martin Williams
  2004-07-08 17:05 ` John R. Hogerhuis
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Williams @ 2004-07-08 12:26 UTC (permalink / raw)
  To: qemu-devel

Has anyone thought about trying to store the code caching on disk?
I am thinking of one file which contains the blocks of code that qemu 
compiles at run time, and another which has locations (within the file? 
locations from the base of where the application is launched in memory, 
not sure which would work best) of where these blocks start from. Qemu 
would then look for a .codecache at launch, then look inside the 
location list file when it wants a code block, then load it from the 
other file (obviously both files would be held in RAM).

Obviously this would be most effective if the .codecache files were 
generated in advance rather than saved retrospectively as qemu runs.

I would be willing to start writing a tool to generate the codecache 
files, however I was wondering what the developers think on the 
subject, and whether it is possible with qemu's current architechure 
etc, and whether the current qemu core is adaptable to generate the 
blocks the utility to save, etc.

Any thoughts, criticisms, suggestions, etc (including if I am beating 
down the wrong track and this is actually impossible) - just a thought 
to try and speed execution up in User Mode.

Martin

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-07-08 19:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).