From: Thiemo Seufer <ths@networkno.de>
To: Paul Borman <paul.borman@windriver.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] QEmu as a Device Software Optimization tool
Date: Thu, 26 Jul 2007 17:58:17 +0100 [thread overview]
Message-ID: <20070726165817.GD26960@networkno.de> (raw)
In-Reply-To: <E0BE420D-5F03-4DF5-8E82-E8B29643AA6A@windriver.com>
Paul Borman wrote:
> Greetings,
>
> I have been working with QEmu for a few months now at Wind River. I am
> sure many of you already know Jason Wessel and Alex deVries who championed
> QEmu as a tool for our Linux product. It is my goal to demonstrate the
> power of QEmu for embedded software development (excuse me, DSO - Device
> Software Optimization). I have identified several areas in which some work
> needs to be done to make QEmu more appropriate for embedded development. I
> am interested in comments or pointers to existing work for several areas (I
> have also done work in many of these areas already). I have been working
> mainly with PowerPC targets and X86 Linux as a host.
>
> System Clock - Currently it appears to me that QEmu attempt to sync the
> "system clock" with realtime resulting in a different number of emulated
> "clock" cycles per clock interrupt. In the embedded environment we are
> typically much more interested in a deterministic result from the clock.
> For the PowerPC I have implemented an alternate implementation of the TB
> and Decrementer that increments the time base based on the number of
> emulated instructions that have been processed. It is not perfect, but at
> least now the timer interrupt is triggered when the decrementer goes
> negative. Have others worked on this problem?
I think this goes in the more general area of instruction/cycle counting,
which would be also useful for basic performance analysis. IMHO the
alternatives should be switchable at runtime (from the monitor and via
command line), with host clock synchronization staying the default.
So far I haven't thought much about the other topics you raise.
Thiemo
next prev parent reply other threads:[~2007-07-26 16:58 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-20 14:58 [Qemu-devel] Patch for OHW bootinfos Tero Kaarlela
2007-07-26 16:34 ` [Qemu-devel] QEmu as a Device Software Optimization tool Paul Borman
2007-07-26 16:58 ` Thiemo Seufer [this message]
2007-07-26 17:33 ` Even Rouault
2007-07-26 19:00 ` andrzej zaborowski
2007-07-26 22:16 ` [Qemu-devel] " Hollis Blanchard
2007-07-27 9:46 ` Paul Borman
2007-07-27 11:12 ` Alexander Voropay
2007-07-27 22:54 ` andrzej zaborowski
2007-07-28 16:54 ` Paul Sokolovsky
-- strict thread matches above, loose matches on Subject: below --
2007-07-26 19:48 [Qemu-devel] " n schembr
2007-07-27 9:25 ` Paul Borman
2007-07-28 15:55 ` Paul Sokolovsky
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=20070726165817.GD26960@networkno.de \
--to=ths@networkno.de \
--cc=paul.borman@windriver.com \
--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 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).