qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Herbert Poetzl <herbert@13thfloor.at>
To: Paul Brook <paul@codesourcery.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] SMB for DOS ?
Date: Sun, 19 Dec 2004 06:27:41 +0100	[thread overview]
Message-ID: <20041219052740.GA24211@mail.13thfloor.at> (raw)
In-Reply-To: <200412181832.24252.paul@codesourcery.com>

On Sat, Dec 18, 2004 at 06:32:24PM +0000, Paul Brook wrote:
> > > I hope you will not forget us poor mac users. Optimizing x86 on ppc
> > > performance would make a number of people very happy, I'd say.
> >
> > performance on ppc can become very good because
> > there are much more registers available for emulating
> > the x86 stuff ...
> 
> The really slow bit tends to be MMU emulation, and more 
> host registers doesn't help here. Mapping all guest registers 
> directly onto host registers probably doesn't make all that 
> much difference as the values will tend to be in L1 
> cache anyway.

well, thought I do some benchmarks with bintrans[1] vs
qemu (i386 userspace on PPC) to see what should be possible ...

the test cadidates[2] are cli only and do cpu-bound stuff
(fibonacci numbers, the game go, and the magic square) 


            version           [A]         [B]         [C]
---------------------------------------------------------------
qemu        0.5.5           33.20      583.30     1237.48
qemu        0.6.1           18.33      476.78      872.69
bintrans    0.1             10.33      176.71      348.64
---------------------------------------------------------------
speedup                     77.4%      169.8%      150.3%


[A] i386-root/bin/fib
    time i386-user/qemu-i386 i386-root/bin/fib
    time bintrans-0.1/bintrans i386-root/bin/fib

    39088169
    Command exited with non-zero status 9

[B] i386-root/bin/go
    time i386-user/qemu-i386 i386-root/bin/go 50 21 5stone21.in
    time bintrans-0.1/bintrans i386-root/bin/go 50 21 5stone21.in

    ...
    370 W pass
    371 B pass
    Game over
    exit (0)

[C] i386-root/bin/imc
    time i386-user/qemu-i386 i386-root/bin/imc 10000 >/dev/null
    time bintrans-0.1/bintrans i386-root/bin/imc 10000 >/dev/null
    

best,
Herbert

[1] http://www.complang.tuwien.ac.at/schani/bintrans/
[2] http://www.complang.tuwien.ac.at/schani/bintrans/i386-root.tar.gz


> Paul

  parent reply	other threads:[~2004-12-19  6:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-16 22:38 [Qemu-devel] SMB for DOS ? Fabrice Bellard
2004-12-16 22:48 ` Adrian Smarzewski
2004-12-16 23:10   ` Fabrice Bellard
2004-12-16 23:32     ` Adrian Smarzewski
2004-12-16 23:34     ` Johannes Schindelin
2004-12-16 23:41       ` Fabrice Bellard
2004-12-16 23:41     ` Laurent Amon
2004-12-16 23:49       ` optimizations, was " Johannes Schindelin
2004-12-18 18:13       ` Herbert Poetzl
2004-12-18 18:32         ` Paul Brook
2004-12-18 20:48           ` John R. Hogerhuis
2004-12-19  1:05             ` André Braga
2004-12-19  5:27           ` Herbert Poetzl [this message]
2004-12-18 18:03     ` Herbert Poetzl
2004-12-16 23:04 ` Ryan Underwood
2004-12-17 11:14 ` Andreas Bollhalder
2004-12-17 12:43   ` malc

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=20041219052740.GA24211@mail.13thfloor.at \
    --to=herbert@13thfloor.at \
    --cc=paul@codesourcery.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).