* [Qemu-devel] A question about QEMU performance
@ 2006-09-26 18:57 Alessandro Corradi
0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Corradi @ 2006-09-26 18:57 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 364 bytes --]
Hi all,
This is my question:
If I run qemu for i386 without kqemu it uses soft-mmu, so it operates as
another architetture as ppc or mips right?
So... are the performace of qemu the same if I use i386 or mips or something
change deeply?
Example: if I run the same program on i386 emulation without kqemu or on
mips are the performance circa the same?
Thanks
Ale
[-- Attachment #2: Type: text/html, Size: 393 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] A question about QEMU performance
@ 2006-09-26 19:42 Ben Taylor
2006-09-27 8:27 ` Martin Guy
0 siblings, 1 reply; 5+ messages in thread
From: Ben Taylor @ 2006-09-26 19:42 UTC (permalink / raw)
To: qemu-devel
---- Alessandro Corradi <ale.corradi@gmail.com> wrote:
> Hi all,
> This is my question:
> If I run qemu for i386 without kqemu it uses soft-mmu, so it operates as
> another architetture as ppc or mips right?
> So... are the performace of qemu the same if I use i386 or mips or something
> change deeply?
> Example: if I run the same program on i386 emulation without kqemu or on
> mips are the performance circa the same?
Would you expect qemu to perform the same on an AMD 4600X2 as
a 400 Mhz MIPS?
It's probably all relative to the speed of the cpu, host OS, compiler
optimizations and trans cpu data transforms, as to how well the
emulated system performs.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] A question about QEMU performance
2006-09-26 19:42 [Qemu-devel] A question about QEMU performance Ben Taylor
@ 2006-09-27 8:27 ` Martin Guy
2006-09-27 8:28 ` Martin Guy
2006-10-25 18:51 ` Rob Landley
0 siblings, 2 replies; 5+ messages in thread
From: Martin Guy @ 2006-09-27 8:27 UTC (permalink / raw)
To: sol10x86, qemu-devel
> > If I run qemu for i386 without kqemu it uses soft-mmu, so it operates as
> > another architetture as ppc or mips right?
> > So... are the performace of qemu the same if I use i386 or mips or something
> > change deeply?
> > Example: if I run the same program on i386 emulation without kqemu or on
> > mips are the performance circa the same?
>
> Would you expect qemu to perform the same on an AMD 4600X2 as
> a 400 Mhz MIPS?
There are some statistics at freaknet.org/martin/QEMU for various
types of x86 processor, but giving only BogoMIPS, which are way
overrated.
I presume this is cos QEMU translates the kernel speed test loop once
then runs it as x86 code, while "real" tasks need to be translated all
the time.
The only concrete figures I have are from when I timed the running of
bash's configure script, which causes a lot of program execution as
well as compiling and running lots of short test programs. The results
are in cluster.aleph1.co.uk/~martin/qemu.html (please ignore the other
garbage on that page!)
M
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] A question about QEMU performance
2006-09-27 8:27 ` Martin Guy
@ 2006-09-27 8:28 ` Martin Guy
2006-10-25 18:51 ` Rob Landley
1 sibling, 0 replies; 5+ messages in thread
From: Martin Guy @ 2006-09-27 8:28 UTC (permalink / raw)
To: sol10x86, qemu-devel
> There are some statistics at freaknet.org/martin/QEMU for various
> are in cluster.aleph1.co.uk/~martin/qemu.html (please ignore the other
Sorry, that first page is bogus. I meant the second.
M
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] A question about QEMU performance
2006-09-27 8:27 ` Martin Guy
2006-09-27 8:28 ` Martin Guy
@ 2006-10-25 18:51 ` Rob Landley
1 sibling, 0 replies; 5+ messages in thread
From: Rob Landley @ 2006-10-25 18:51 UTC (permalink / raw)
To: qemu-devel; +Cc: Martin Guy
On Wednesday 27 September 2006 4:27 am, Martin Guy wrote:
> There are some statistics at freaknet.org/martin/QEMU for various
> types of x86 processor, but giving only BogoMIPS, which are way
> overrated.
> I presume this is cos QEMU translates the kernel speed test loop once
> then runs it as x86 code, while "real" tasks need to be translated all
> the time.
There is a cache of translated pages, and last I checked (0.8.0 or so) the
entire translation cache was flushed when it filled up, rather than trying to
do any kind of LRU-style thing.
I think of qemu as a processor with a bigger than normal penalty for faulting
executable pages from DRAM into L2. :)
Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-10-25 18:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-26 19:42 [Qemu-devel] A question about QEMU performance Ben Taylor
2006-09-27 8:27 ` Martin Guy
2006-09-27 8:28 ` Martin Guy
2006-10-25 18:51 ` Rob Landley
-- strict thread matches above, loose matches on Subject: below --
2006-09-26 18:57 Alessandro Corradi
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).