21 May 2024, 00:48 | #1 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,861
|
Performance of Akiko C2P on 030/50 CD32 systems
Is there any good information as to the relative performance of Akiko C2P on 68030+FastRAM accelerated CD32 machines compared to well-optimised CPU-only routines on the same hardware?
|
21 May 2024, 09:22 | #2 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,624
|
Have a look around and you'll get some figures posted last year.
From memory I believed it showed that Akiko C2P is out-performed in SW as soon as you get fast-ram even with EC020@14MHz But there were some unusual outliers https://eab.abime.net/showpost.php?p...0&postcount=63 Any testing of Akiko with an 030 in the system must remember there is a bug in the 030 cache controller https://eab.abime.net/showthread.php?t=56255 https://aminet.net/package/util/misc/AkikoTFFix Last edited by alexh; 21 May 2024 at 09:34. |
21 May 2024, 09:45 | #3 |
Registered User
Join Date: May 2020
Location: Figueira da Foz
Posts: 458
|
|
21 May 2024, 09:51 | #4 |
Registered User
Join Date: Jan 2010
Location: >
Posts: 2,994
|
|
21 May 2024, 10:00 | #5 | |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,624
|
Quote:
C2P must have been a very last minute addition because the Akiko includes a DMA master (for the CD-ROM) which "could have been" plumbed into the C2P had there been more time. |
|
21 May 2024, 10:32 | #6 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,861
|
I'm not especially looking to debate the rights and wrongs of the feature, I just want some cold hard metrics. My plan would be something like having a tight conversion loop that starts off on a dummy scan line we don't care about. At the end of that line only, we would theoretically disable the data cache and then try to use thr chip to complete the conversion. Not sure if that would be sufficient.
|
21 May 2024, 11:05 | #7 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,624
|
I swear I remember a thread from earlier this year (maybe late last year) that examined the various performances of C2P implementations (direct to chip mem, using fast mem with a copy to chipmem, using blitter assisted, akiko etc.) on 030, 040 and 060.
I wonder if it was in the thread that discussed the "new" chunky screen mode? (PED81C) maybe not? I'll have a look tonight if you don't find it. |
21 May 2024, 12:11 | #8 |
Registered User
Join Date: May 2020
Location: Figueira da Foz
Posts: 458
|
I was thinking that if Akiko went on detracting commodore from adding fast ram it would be a bad decision, but along this lines it's not actually that bad.
|
21 May 2024, 12:29 | #9 | |
Registered User
Join Date: Jan 2010
Location: >
Posts: 2,994
|
Quote:
Commodore would never have added fast-ram to the budget models, simply down to cost. An '030 CD32 model (and plug in board for the 1993 model) was on the drawing board for late 1994 (possibly an updated A1200 too) but even then the Commodore papers never mentioned fast-ram, only the Hombre model planned for 1995 would include faster V-RAM. |
|
21 May 2024, 13:39 | #10 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,861
|
@alexh
It's the outlier that intrigues me. Perhaps the reason was the software 030 routine was not the best one, or perhaps it's the case that there are some common pitfalls in Akiko C2P to be avoided. Either way, if we are running in single-digit FPS, a 1-2fps increase from Akiko would be worth it for what doesn't seem like a huge amount of programming effort. |
21 May 2024, 18:11 | #11 | |
Registered User
Join Date: Jun 2008
Location: somewhere else
Posts: 548
|
Quote:
Amiga A1200 020/14Mhz 8Mb (Optimised 020 C2P) – 22976 realtics (3.3 fps) Amiga A1200 020/14Mhz 8Mb (Blitter 020 C2P) – 20660 realtics (3.6 fps) Amiga CD32 68020/14Mhz 8Mb (Optimised 020 C2P) – 18971 realtics (3.9 fps) Amiga CD32 68020/14Mhz 8Mb (Akiko Optimised C2P) – 12872 realtics (5.8 fps) Amiga A1200 030/28Mhz 64Mb (Optimised 020 C2P) – 17732 realtics (4.2 fps) Amiga A1200 030/28Mhz 64Mb (Blitter 020 C2P) – 12727 realtics (5.8 fps) Amiga A1200 030/50Mhz 128Mb (Optimised 020 C2P) – 8696 realtics (8.6 fps) Amiga A1200 030/50Mhz 128Mb (Blitter 020 C2P) – 8296 realtics (9.0 fps) |
|
21 May 2024, 18:27 | #12 | |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,624
|
Quote:
Someone will have to work what "Optimised 020 C2P" means. Which C2P implementation is it using? Is it really using FastRAM? |
|
21 May 2024, 19:29 | #13 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,861
|
I think the only practical option now is to just try it.
|
21 May 2024, 19:33 | #14 |
Amiga Fanatic
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 744
|
|
21 May 2024, 19:40 | #15 |
Registered User
Join Date: Jan 2010
Location: >
Posts: 2,994
|
|
21 May 2024, 20:22 | #16 |
Registered User
Join Date: Jun 2008
Location: somewhere else
Posts: 548
|
Maybe you could start here: https://aminet.net/search?query=doomattack
|
21 May 2024, 21:16 | #17 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,298
|
I know you already knew that I wish I had the hardware for testing since this seems like something that should have been "settled" long ago. C2P's haven't been changing for 020/030 for a long time, so I think we "just" need timings from one 030+fast ram user and a "good" Akiko C2P implementation. (IDK what "good" means here, but I guess at least chunky pixels coming from fast ram).
|
21 May 2024, 21:37 | #18 |
Senior Member
Join Date: Jun 2001
Location: Germany
Posts: 1,667
|
Even if that would be true, it still does not mean Akiko is useless in that case. Note that when the CPU does C2P, processing time is wasted that would otherwise be available to execute code. It seems people often completely ignore that. The DoomAttack figures are a perfect example of that. The CPU is better used to render the 3d graphics. Even if Akiko is slower in doing C2P than the CPU would, you still get better speed in the end. It's different when the CPU would otherwise mostly be idle, but how often is that the case?
|
21 May 2024, 22:09 | #19 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,861
|
Quote:
|
|
21 May 2024, 22:49 | #20 | |
Registered User
Join Date: Jun 2008
Location: somewhere else
Posts: 548
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
C2P Performance issues | meeku | Coders. Asm / Hardware | 10 | 09 April 2019 18:29 |
Alien Breed 3D CD32 - Akiko C2P? | wairnair | support.Games | 9 | 06 July 2018 14:32 |
Gloom Akiko C2P? | Whitesnake | support.Games | 5 | 23 April 2007 19:01 |
Blizzard 030/50 Accelerators | Parsec | Amiga scene | 20 | 14 February 2004 17:48 |
Cd32 Emulator (AKIKO) | Doozy | support.WinUAE | 3 | 06 December 2001 08:41 |
|
|