qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu as a System Simulator
@ 2009-01-06 19:52 Andrea Pellegrini
  2009-01-07 10:22 ` Laurent Desnogues
  2009-01-07 22:37 ` Vince Weaver
  0 siblings, 2 replies; 3+ messages in thread
From: Andrea Pellegrini @ 2009-01-06 19:52 UTC (permalink / raw)
  To: qemu-devel

Hi all,
for my research in Computer Architecture I need to build a full 
multiprocessor system simulator where I can modify the interconnect 
between the CPUs and evaluate its performance.
I saw that many cycle accurate simulators are based on Qemu and I was 
wondering if anyone has experience and thinks that is possible to modify 
Qemu to support multiple interconnect (such as bus, mesh, NoC).
Thank you very much,
~Andrea Pellegrini

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

* Re: [Qemu-devel] Qemu as a System Simulator
  2009-01-06 19:52 [Qemu-devel] Qemu as a System Simulator Andrea Pellegrini
@ 2009-01-07 10:22 ` Laurent Desnogues
  2009-01-07 22:37 ` Vince Weaver
  1 sibling, 0 replies; 3+ messages in thread
From: Laurent Desnogues @ 2009-01-07 10:22 UTC (permalink / raw)
  To: qemu-devel

On Tue, Jan 6, 2009 at 8:52 PM, Andrea Pellegrini <apellegr@umich.edu> wrote:
> for my research in Computer Architecture I need to build a full
> multiprocessor system simulator where I can modify the interconnect between
> the CPUs and evaluate its performance.
> I saw that many cycle accurate simulators are based on Qemu and I was
> wondering if anyone has experience and thinks that is possible to modify
> Qemu to support multiple interconnect (such as bus, mesh, NoC).

qemu is not the right simulator to evaluate most kind of performance
metrics (the only thing you can do is instruction set usage, instruction
counts, memory traces, and the likes).  I wonder where you saw
cycle accurate simulators using qemu :-)


Laurent

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

* Re: [Qemu-devel] Qemu as a System Simulator
  2009-01-06 19:52 [Qemu-devel] Qemu as a System Simulator Andrea Pellegrini
  2009-01-07 10:22 ` Laurent Desnogues
@ 2009-01-07 22:37 ` Vince Weaver
  1 sibling, 0 replies; 3+ messages in thread
From: Vince Weaver @ 2009-01-07 22:37 UTC (permalink / raw)
  To: qemu-devel

On Tue, 6 Jan 2009, Andrea Pellegrini wrote:

> I saw that many cycle accurate simulators are based on Qemu and I was 
> wondering if anyone has experience and thinks that is possible to modify Qemu 
> to support multiple interconnect (such as bus, mesh, NoC).

It's true that some simulation methodologies use Qemu for functional 
(correctness) simulation.  This is only a small part of a fully functional 
"cycle-accurate" simulator.  See the
    FPGA-Accelerated Simulation Technologies (FAST) work by
    Derek Chiou's group:
        http://users.ece.utexas.edu/~derek/FAST.html
    (I doubt you'll ever see any of their Qemu-related code released)


You can also use Qemu to generate traces for use in simulation.
In some cases, especially on RISC architectures like MIPS, you can
estimate CPI and similar metrics and get results using Qemu
that are similar to those generated by "cycle-accurate" simulators
like SESC.  See my paper here for more info on that:
    http://www.csl.cornell.edu/~vince/papers/wddd08/index.html


What you describe though would involve adding a lot of extra code to Qemu.
Qemu is set up for fast emulation of binaries, not for architectural 
research.  There isn't any built in cache or cache-coherence simulation, 
let alone any sort of idea of inter-chip interconnects.


So to answer your question, I do think it is possible to use Qemu in the 
way you describe.  Unfortunately I don't think it's practical or likely to 
happen any time soon.

Vince

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

end of thread, other threads:[~2009-01-07 22:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-06 19:52 [Qemu-devel] Qemu as a System Simulator Andrea Pellegrini
2009-01-07 10:22 ` Laurent Desnogues
2009-01-07 22:37 ` Vince Weaver

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).