Amiga.org

Amiga News and Community Announcements => Amiga News and Community Announcements => General Internet News => Topic started by: rachy on August 18, 2003, 11:24:41 AM

Title: AmigaOS4 Petunia benchmarks
Post by: rachy on August 18, 2003, 11:24:41 AM
I published new benchmarks on my web pages from the recent vesion of the dynamic recompiling based M68k emulator for AmigaOS4.

This version is already converted to AmigaOS4, and running on the native PowerPC system.

Petunia homepage (http://amigos.amiga.hu/rachy/petunia.html)

Title: Re: AmigaOS4 Petunia benchmarks
Post by: Elwood on August 18, 2003, 11:26:19 AM
One comment: Wow ! :)
Title: Re: AmigaOS4 Petunia benchmarks
Post by: FuZion on August 18, 2003, 11:30:11 AM


Oh boy oh boy oh boy!!!!

Title: Re: AmigaOS4 Petunia benchmarks
Post by: SlimJim on August 18, 2003, 11:51:53 AM
Quote
This version is already converted to AmigaOS4, and running on the native PowerPC system.

 
Is this to interpreted as "the integration of the emulator is
complete"?
.
SlimJim
Title: Re: AmigaOS4 Petunia benchmarks
Post by: HyperionMP on August 18, 2003, 12:45:16 PM
No, the actual integration is primarily the work of a different developer.

The concept is however finalised and implementation can begin now that Petunia is running on OS 4 using an application launcher.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: ikir on August 18, 2003, 01:35:30 PM
Faaaaaast 8-)
Title: Re: AmigaOS4 Petunia benchmarks
Post by: JoannaK on August 18, 2003, 01:46:07 PM
It's easy to amuse Natives .. :-D
Title: Re: AmigaOS4 Petunia benchmarks
Post by: amigamad on August 18, 2003, 03:25:49 PM
Quote
It's easy to amuse Natives


But harder to please amiga owners. :-)
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Wilse on August 18, 2003, 03:37:09 PM
Looking good so far.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: JoannaK on August 18, 2003, 03:44:52 PM
Amigamad:
True.. so true ... :-)
Title: Re: AmigaOS4 Petunia benchmarks
Post by: DanDude on August 18, 2003, 06:16:26 PM
sweet    :-)
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Glames on August 18, 2003, 06:42:39 PM
Great, great!

Tcho,

Glames
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Piru on August 18, 2003, 06:47:48 PM
MorphOS 1.4 JIT on 603/240 system is several times faster than the Petunia on 604/180.

c2ptest is over 3.5 times faster, mandel over 2.5, demoeffect over 1.5 times faster.

Remember that CSPPC has twice as fast memory bus, too. The Petunia page describes the A4000 CSPPC test machine to run OS 4.0, so there is no more WarpOS overhead in the results(?).

So does this mean Trance is much faster, or did I miss something?
Title: Re: AmigaOS4 Petunia benchmarks
Post by: hnl_dk on August 18, 2003, 07:20:20 PM
@ Piru

Quote
MorphOS 1.4 JIT on 603/240 system is several times faster than the Petunia on 604/180.


Does MorphOS 1.4 run on anything else than the Pegasos??

If not, then why do you troll?
Title: Re: AmigaOS4 Petunia benchmarks
Post by: HyperionMP on August 18, 2003, 07:21:04 PM
Just wait until the entire graphics subsystem runs PPC native and then compare again.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Lando on August 18, 2003, 07:39:06 PM
>Does MorphOS 1.4 run on anything else than the
>Pegasos??

Yes it also runs on Piru's BPPC, hence how he got the benchmark results.  Duh!
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Lando on August 18, 2003, 07:44:53 PM
Maybe someone could re-code the apps he's using to benchmark Petunia so that they don't render anything, just do the calculations (so we can factor out the graphics subsystem).  

As it is these Petunia benchmarks are disappointingly slow... I was expecting much more, given all the hype that has been spread about it over the last year or so. :-(
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Piru on August 18, 2003, 07:51:29 PM
Quote
Just wait until the entire graphics subsystem runs PPC native and then compare again.

Excuse my ignorance but isn't the graphics subsystem JITted aswell?

And even if it wasn't:

mandel does no OS calls in innerloop. It has 4 exec calls, 2 intuition calls and 200 graphics calls.

c2ptest does no OS calls in innerloop. It has 4 exec calls, and two intuition calls. It does open graphics.library but does nothing with it.

demoeffect does no OS calls in innerloop. For CGFX it has 14 exec calls, 3 dos calls, 1 cybergraphics call, 2 intuition calls and 2 timer.device calls.

Could you please explain how graphics subsystem being 68k can have such an impact on the results?

[EDIT: Added exact number of OS calls]
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Piru on August 18, 2003, 07:55:02 PM
@hnl_dk
Quote

@ Piru
Quote
MorphOS 1.4 JIT on 603/240 system is several times faster than the Petunia on 604/180.

Does MorphOS 1.4 run on anything else than the Pegasos??

Yes. It runs on CyberStorm PPC and Blizzard PPC boards. I performed the tests on my A1200+BPPC system.

Quote
If not, then why do you troll?

I don't.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: hnl_dk on August 18, 2003, 08:00:13 PM
@ Piru

Thanks for the clarification :-D

About the graphics subsystem ... IIRC one of the Friedens told some time ago that the 68k system components use the interpreted emulation ... Petunia is for aplications only ... but I might be wrong ;-)
Title: Re: AmigaOS4 Petunia benchmarks
Post by: PulsatingQuasar on August 18, 2003, 08:11:47 PM
Quote
About the graphics subsystem ... IIRC one of the Friedens told some time ago that the 68k system components use the interpreted emulation ... Petunia is for aplications only ... but I might be wrong


I read that somewhere too. Didn't that have something to do with reliability?
Title: Re: AmigaOS4 Petunia benchmarks
Post by: HyperionMP on August 18, 2003, 08:55:04 PM
Edit by Kees - Please solve this matter in private.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Piru on August 18, 2003, 09:26:57 PM
Edit by Kees - Please solve this matter in private.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: HyperionMP on August 18, 2003, 10:32:12 PM
Edit by Kees - Please solve this matter in private.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Jupp3 on August 18, 2003, 10:49:19 PM
HyperionMP:

Scroll up, and what you see?

"AmigaOS4 Petunia benchmarks"

It's not equivalent to "Piru's BPPC"

So, do you have anything to say about the subject?

(Of course, no-one prevents you from starting other thread with that "other" subject...)
Title: Re: AmigaOS4 Petunia benchmarks
Post by: shIva on August 18, 2003, 10:56:01 PM
great work ... but i think morphos jit is faster (?)

besides all this : have you seen the stats button at the bottom of the page ? press it and wonder about the 18th :-D
Title: Re: AmigaOS4 Petunia benchmarks
Post by: JoannaK on August 18, 2003, 11:01:46 PM
BenH. I really don't know what's been going on between you two in past
(and I really don't want to hear all gross details).. I just have to
say this is quite strange place and time to do any collecting of old
debts. You both must have each others E-mail addresses (or at least
able to get one ) not to mention post regularly to various boards.
Besides this must be real old stuff cause Piru has been on
mos-development quite a while?

So why here and now? Is this just normal
evasive-truth-avoidance-routine ... :-?
Title: Re: AmigaOS4 Petunia benchmarks
Post by: HyperionMP on August 19, 2003, 12:29:52 AM
>So why here and now? Is this just normal
>evasive-truth-avoidance-routine

Afraid not, it was the knee jerk reaction of somebody who was stupid enough to trust somebody and was ripped off by the person for more than 1000 euros.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: ikir on August 19, 2003, 08:18:38 AM
more than 060 50Mhz in a "poor" 604 180Mhz? And you say slow? Shut up piru.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: rachy on August 19, 2003, 08:36:40 AM
Let's make some things clear:

1. In every test emulation setup time calculated into the results. It takes 1.5 secs for a simple "RTS" program. (Later this time will be gone, eg. buliding jump tables take a lot of time, but it has to do only once.) So, I could decrease the running times with this value, but I want to be as correct as possible, and that vaules wouldn't be the ones what I actually measured.

2. Emulation is highly clock-speed dependant. On a 604/233 system results were a lot better, than on 604/180 actually is. (I could have explanation for this, but it is not really interesting, rather technical.) I had just no opportunity of getting such system right now. So, measuring the speed on a higher clocked system WILL imply better results.

3. The tests are sort. This is true, but on some system these tests take AGES to run. At the beginning I had a slower machine, and the emulation was slower too, that is why I chose these tests. Now everything run better, but I don't want to change the tests, because of these are the base of comparsion of the recent results.

4. Emulation is beta, not finished yet. AOS4 is beta not finished yet. I have ideas for improvements, but right now I am about stabilization and integration.

(BTW, I don't know what is wrong with julia test, it is running just fine on AmigaOS3.x, AmigaOS4 and UAE. Except MorphOS. Where is the fault then?  :-D Just a joke, don't take too serious...)
Title: Re: AmigaOS4 Petunia benchmarks
Post by: jacadcaps on August 19, 2003, 09:15:25 AM
Of course it's slow. It doesn't matter if it's faster than 060 if it runs half the speed it could get on PPC (or even less).
Title: Re: AmigaOS4 Petunia benchmarks
Post by: jacadcaps on August 19, 2003, 09:22:39 AM
2. You say it's clock dependant? Actually I launched some petunia tests on my 603/175 machine and demoeffect got 50 fps, c2ptest took around 6 seconds and mandelbrot took less than 4 seconds.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Merko on August 19, 2003, 10:14:06 AM
Well.. I guess it doesn't matter if you want to call Petunia "slow" or
Trance "fast". :-)
Title: Re: AmigaOS4 Petunia benchmarks
Post by: rachy on August 19, 2003, 12:24:50 PM
Just to let you know: I installed PPC based DOS to my AOS4 snapshot today morning (I used the emulated DOS up to now) and init of Petunia goes a lot faster. Eg. mandel test runs around 4 secs WITH the init...

Ok, I stop here now. Had enough for today.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: itix on August 19, 2003, 12:51:22 PM
Quote

more than 060 50Mhz in a "poor" 604 180Mhz? And you say slow? Shut up piru.


More than 060 100MHz in a "very poor" 603 175MHz is really cool ;)
Title: Re: AmigaOS4 Petunia benchmarks
Post by: itix on August 19, 2003, 12:55:47 PM
Quote

3. The tests are sort. This is true, but on some system these tests take AGES to run. At the beginning I had a slower machine, and the emulation was slower too, that is why I chose these tests. Now everything run better, but I don't want to change the tests, because of these are the base of comparsion of the recent results.


Running some real apps could be more fair in the future... Also making tests on OS4 without JIT could be interesting. To see how much PPC native OS can speed up 68k apps in the interpretive mode etc.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: zacman on August 19, 2003, 01:01:21 PM
>more than 060 50Mhz in a "poor" 604 180Mhz?
>And you say slow?

If you see that with some other JIT emulation you
can get more than three times better results on a
slower machine then this *is* slow.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Piru on August 19, 2003, 01:58:33 PM
Quote
1. In every test emulation setup time calculated into the results. It takes 1.5 secs for a simple "RTS" program. (Later this time will be gone, eg. buliding jump tables take a lot of time, but it has to do only once.) So, I could decrease the running times with this value, but I want to be as correct as possible, and that vaules wouldn't be the ones what I actually measured.

The whole running time is included in the Trance results aswell, including the setup time.

Also, the Petunia website lets you believe the emulation is almost finished (just some tuning left). I'm sorry but I assumed the results were from the finished emulation. Sorry for my misinterpretation.

Quote
2. Emulation is highly clock-speed dependant.

I have found it not to be so. It's linear to CPU performance here, not to clock speed.

Quote
On a 604/233 system results were a lot better, than on 604/180 actually is. (I could have explanation for this, but it is not really interesting, rather technical.)

Well, DUH! It's hardly a rocket science to realize the same CPU with higher clockrate is faster, now is it?

Also, the busclock affects the memory access speed, as well as the memory speed settings. But, 604 has 64-bit access to memory whereas 603 has only 32-bit, so most memory related operations are faster on 604 regardless of bus speed. This definetely affects the benchmarks that work on memory (most of them do, mandel and julia are mostly compute bound).

I still find it interesting that Trance on 603/175 beats Petunia on 604/180, however. Must be the jumptable setup you go on about?

Quote
I had just no opportunity of getting such system right now. So, measuring the speed on a higher clocked system WILL imply better results.

3x and 2x better?

Quote
3. The tests are sort.

Short you mean?

Quote
This is true, but on some system these tests take AGES to run. At the beginning I had a slower machine, and the emulation was slower too, that is why I chose these tests.

Why not run the tests for specific time instead? Say 20 seconds. Should not be too hard to implement.

Also the tests should all include internal timer and result reporting.

Quote
(BTW, I don't know what is wrong with julia test, it is running just fine on AmigaOS3.x, AmigaOS4 and UAE. Except MorphOS. Where is the fault then? Just a joke, don't take too serious...)

Runs fine on my Pegasos, due to luck. The julia_fpu code has two serious bugs.
Title: Re: AmigaOS4 Petunia benchmarks
Post by: Piru on August 19, 2003, 02:13:39 PM
Quote
BTW, I don't know what is wrong with julia test, it is running just fine on AmigaOS3.x, AmigaOS4 and UAE. Except MorphOS. Where is the fault then?

In julia_fpu code. Read WriteChunkyPixels autodoc carefully and fix it. Hint: You depend on two side-effects, which both are against the programming guidelines.

[edit: more friendly, added hint]