English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. AMOS

 
 
Thread Tools
Old 02 March 2024, 14:49   #1
huggy70
Registered User
 
Join Date: Jan 2023
Location: Germany
Posts: 61
Question AMOS under pistorm

Hi,


i wanted to do some speed benchmarks with good old Amos under Pistorm/Pistorm32lite, so i wrote some simple code for prime number generation with Eratosthenes sieve and was a little surprised of the outcome, here are the results:


6543 Prime numbers calculation

A1200 EMU68 850Mips (Sysinfo)
340ms
compiled
80ms

A500 Musashi 20,5Mips
2300ms
compiled
560ms

A500 stock 0,73 Mips
52960ms


Any idea why Amos under EMU68 is only ~7 times faster than Musashi?


I did also a Test under winuae showing 350Mips but the compiled code needs only 40ms
huggy70 is offline  
Old 02 March 2024, 18:12   #2
derSammler
Senior Member
 
Join Date: Jun 2001
Location: Germany
Posts: 1,655
Because Mips in SysInfo is just crap. It does not represent any real value that shows actual speed. Best example is 040 vs. 060: a 50 MHz 060 has 80 Mips, but SysInfo will tell you it has only half as much - making it show as if a 040 at the same clock speed would not be any slower.

Also, Emu68 is JiT. Speed completely depends on the executed code. The more complex the code is, the slower it is, as there is not much translated code that can be re-used. Or in other words: Emu68 does not perform at 850 Mips only because SysInfo shows that number. It can in a very tight loop using few instructions. But that's not what most code is.
derSammler is offline  
Old 02 March 2024, 20:38   #3
huggy70
Registered User
 
Join Date: Jan 2023
Location: Germany
Posts: 61
yes it seems these sysinfo numbers are strange.

In addition with Sysinfo i only get 460 DMIPS and under winuae jit enabled (showing 350MIPS) i get nearly 2000DMIPS.

So as for the prime number code it behaves like 140MIPS then although this is a really simple code in a tight loop but who knows what AMOS/Compiler makes of it.
huggy70 is offline  
Old 03 March 2024, 16:36   #4
VladR
Registered User
 
Join Date: Dec 2019
Location: North Dakota
Posts: 741
Quote:
Originally Posted by derSammler View Post
Because Mips in SysInfo is just crap. It does not represent any real value that shows actual speed.
Is there any comprehensive 3D benchmark somewhere which shows all Amiga CPUs with their respective SysInfo MIPS and the game's performance ?

These days I only have time for some quick tweaks, not a full game dev (for now), but I'm tweaking my RTG flatshader that has a benchmarking component (which I only ran on WinUAE, Vampire V2 and V4 so far).


I'm hoping we can crossreference the SysInfo MIPS with a real-world 3D engine performance. Hopefully across as many Amiga configs as possible.


Then we'll see how meaningful the MIPS figure from SysInfo really is.

The actual non-sysinfo MIPS is a meaningful figure for 3D engine, as it averages all ops/instructions over a second, hence there's no potential for figure being skewed due to short loop or something, as the whole 3D pipeline has a lot of different stages.

I'm planning on having checkboxes for all separate stages of the pipeline, this way you can just benchmark Transform stage or scanline traversal, or scanline fill (or framebuffer update on/off - e.g. just a render into RAM).
VladR is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Wip] Amos Professional X : Bring AGA to Amos Pro! freddix Coders. AMOS 53 22 July 2023 09:53
AMOS Files from Writing RPG's in AMOS supercruiser request.Other 0 21 April 2020 13:03
How to use AMOS 3D with AMOS PRO? viddi Coders. AMOS 6 25 October 2012 23:11
f/s Amiga Amos Programming books / Disks / Easy Amos & other Books *mega collection!* fitzsteve MarketPlace 4 23 May 2012 04:35
Where's the amos.library on the 3-disk AMOS set? andreas support.Apps 0 15 November 2001 16:04

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:58.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06984 seconds with 12 queries