English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 19 December 2023, 18:23   #161
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 855
Problem found. Caused by a lazy cut'n'paste, which included in the initialization code this line...

dc.l $4e7b0006 ;enable copyback (movec.l d0,dttr0/dacr0)

... instead of this one...

dc.l $4e7b0007 ;enable copyback (movec.l d0,dttr1/dacr1)

Last edited by saimo; 28 December 2023 at 11:24. Reason: Removed attachment as the final version is now available from https://www.retream.com/PED81C..
saimo is offline  
Old 19 December 2023, 19:45   #162
Wrangler
Registered User
 
Join Date: Sep 2015
Location: London, UK
Posts: 419
Repeated benchmark results based on the 17:12 version posted today on various Amigas. RB CC CS now works btw

AA3000+, BFG9060 50MHz
RB 37.171
RB CC 36.744
RB CS 31.011
RB CC CS 31.003

AA3000+, BFG9060 100MHz
RB 63.586
RB CC 62.822
RB CS 53.422
RB CC CS 53.411

A4000D, Warp Engine 80MHz
RB 38.426
RB CC 38.363
RB CS 36.861
RB CC CS 36.855

A4000T, CSPPC 60MHz
RB 43.017
RB CC 42.759
RB CS 34.641
RB CC CS 34.632

There's a clear progression on all machines of:
RB marginally faster than RB CC, which in turn are both clearly faster than the CS versions (and those two are almost identical)

It's also clear the WE is out of line with the two other cards, I guess because as I recall the on-card mem is running at 40MHz.

If you ignore the WE results, the RB speeds are close to a linear relation to the CPU clock speed:

FPS ~= 11.23 + 0.524*clock speed

I'll go back into my corner now...
Wrangler is offline  
Old 19 December 2023, 19:52   #163
Karlos
Alien Bleed
 
Karlos's Avatar
 
Join Date: Aug 2022
Location: UK
Posts: 4,510
AA3000+

Say what?!
Karlos is offline  
Old 19 December 2023, 20:51   #164
pixie
Registered User
 
pixie's Avatar
 
Join Date: May 2020
Location: Figueira da Foz
Posts: 429
Quote:
Originally Posted by Karlos View Post
AA3000+

Say what?!
The holy Amiga 3000. The Amiga 4000 that never was.
Quote:
AA3000+ is an Amiga 3000 AGA motherboard based on the Commodore AA3000 schematics with some improvements and extra features that were missing from the original AA3000 motherboard, such as the scandoubler / flicker fixer.

The specifications of the AA3000+ motherboard are:
- Amiga 3000 motherboard with AGA chipset
- on-board 68030 PGA CPU and 68881/68882 PLCC FPU running at 25MHz
- DSP processor (AT&T DSP3210)
- CPU slot for A3000/A4000 accelerators
- 16MB Fast RAM using two SIMM modules (no expensive ZIP RAM chips needed)
- 2MB Chip RAM (no expensive ZIP RAM chips needed)
- extended Fast RAM support (up to 64MB?, work in progress)
- extended Kickstart ROM support up to 4MB
- on-board full 24bit AGA scandoubler / flicker fixer
- support for two external video inputs (for example a graphics card and another scandoubler such as Indivision AGA)
- monitor switch between the video inputs, similar to Ratte monitor switch (controllable by software or external switch)
AA3000+ Motherboard
pixie is offline  
Old 19 December 2023, 23:17   #165
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 855
Quote:
Originally Posted by Wrangler View Post
Repeated benchmark results based on the 17:12 version posted today on various Amigas.
I'm most thankful to you for the patience.

Quote:
RB CC CS now works btw
Evidently, the race condition I mentioned a few posts earlier and fixed shortly thereafter was the only culprit (so, I had underestimated it).

Quote:
AA3000+, BFG9060 50MHz
RB 37.171
RB CC 36.744
RB CS 31.011
RB CC CS 31.003

AA3000+, BFG9060 100MHz
RB 63.586
RB CC 62.822
RB CS 53.422
RB CC CS 53.411

A4000D, Warp Engine 80MHz
RB 38.426
RB CC 38.363
RB CS 36.861
RB CC CS 36.855

A4000T, CSPPC 60MHz
RB 43.017
RB CC 42.759
RB CS 34.641
RB CC CS 34.632

There's a clear progression on all machines of:
RB marginally faster than RB CC, which in turn are both clearly faster than the CS versions (and those two are almost identical)

It's also clear the WE is out of line with the two other cards, I guess because as I recall the on-card mem is running at 40MHz.

If you ignore the WE results, the RB speeds are close to a linear relation to the CPU clock speed:

FPS ~= 11.23 + 0.524*clock speed

I'll go back into my corner now...
No need to, that put a big smile on my face!

The main point that your figures stress is that all the data cache fiddling is detrimental: just leaving it on all the time is the best solution...
... other than on TerribleFire cards, where the on/off switching provides a major boost. Copyback, instead, results always in a slight loss.
saimo is offline  
Old 19 December 2023, 23:18   #166
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 855
Updated table, including the results I got privately from klx300r.

Code:
------+---------------------+-------+---------+---------+---------+---------+---
AMIGA | EXPANSION BOARD     | CPU   |       D |       C |       S |     C+S | N.
------+---------------------+-------+---------+---------+---------+---------+---
1200  | Blizzard 1230 IV    | 3@50  |  21.137 |       - |  21.237 |       - | 3a
1200  | Blizzard 1260       | 6@50  |         |         |         |         |
1200  | E-Matrix 1230-50    | 3@50  |  20.341 |       - |  20.333 |       - | 3b
1200  | Ex1T                | 2@14  |   6.401 |       - |       - |       - | 2
1200  | M1207               | 2@14  |   6.138 |       - |       - |       - | 2
1200  | PiStorm32-lite      |  -    | 134.171 | 134.242 | 126.232 | 127.680 | R3
1200  | PiStorm32-lite      |  -    | 171.927 | 172.506 | 168.089 | 168.310 | R4
1200  | TerribleFire TF1260 | 6@50  |  23.747 |  23.372 |  27.883 |  27.877 | 6a
1200  | TerribleFire TF1260 | 6@50  |  23.716 |         |  28.002 |         |
1200  | TerribleFire TF1260 | 6@100 |  40.654 |         |  48.256 |         |
3000+ | BFG9060             | 6@50  |  37.171 |  36.744 |  31.011 |  31.003 |
3000+ | BFG9060             | 6@100 |  63.586 |  62.822 |  53.422 |  53.411 |
4000  | A3640               | 4@33  |  14.930 |  14.959 |  17.233 |  17.236 |
4000  | Cyberstorm MK III   | 6@50  |  33.143 |  32.812 |  28.854 |  28.848 | 6b
4000  | Warp Engine         | 6@80  |  38.426 |  38.363 |  36.861 |  36.855 | 6c
4000T | CyberStorm PPC      | 6@60  |  43.017 |  42.759 |  34.641 |  34.632 |
CD³²  | The Beast 030       | 3@70  |  29.240 |       - |  29.260 |       - | 3c

CPU:
 X@F -> 680X0 @ F MHz

DATA CACHE MODE:
 D = Default (always on + writethrough)
 C = Copyback
 S = Switching

NOTES:
 2.  FAST RAM only
 3a. SIMM 60 ns
 3b. SIMM 70 ns
 3c. SRAM
 6a. 68060 rev. 5
 6b. 68060 rev. 1
 6c. SIMM 25 ns (maybe)
 R3. Raspberry Pi 3 A+
 R4. Raspberry Pi 4 B

Last edited by saimo; 21 December 2023 at 16:48. Reason: Table updated with more data.
saimo is offline  
Old 20 December 2023, 10:29   #167
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,643
Quote:
Originally Posted by saimo View Post
Updated table, including the results I got privately from klx300r.

Code:
DATA CACHE MODE:
 D = Default (always on + writethrough)
 C = Copyback
 S = Switching
Is writethrough the default for a 060? On a 040 it defaults to copyback after SetPatch has been run.
hooverphonique is offline  
Old 20 December 2023, 12:35   #168
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 855
@hooverphonique

Quote:
Originally Posted by hooverphonique View Post
Is writethrough the default for a 060? On a 040 it defaults to copyback after SetPatch has been run.
If the CACHECOPYBACK switch is not specified, PVE sets the data cache to writethrough for both 68040 and 68060 (hance SetPatch doesn't matter).

@all

Updated table above with results from PiStorm32+.
saimo is offline  
Old 20 December 2023, 12:46   #169
modrobert
old bearded fool
 
modrobert's Avatar
 
Join Date: Jan 2010
Location: Bangkok
Age: 57
Posts: 779
Don't add this to the table, but tried FS-UAE with JIT enabled.

Code:
> pve RUNBENCHMARK
rendered frames number:     256
elapsed seconds:            0.121
frames rendered per second: 2115.702
modrobert is offline  
Old 20 December 2023, 13:09   #170
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 855
Quote:
Originally Posted by modrobert View Post
Don't add this to the table, but tried FS-UAE with JIT enabled.

Code:
> pve RUNBENCHMARK
rendered frames number:     256
elapsed seconds:            0.121
frames rendered per second: 2115.702
Yeah, with UAE it's possible to reach ridiculous speeds (even my underpowered PC manages to reach 1000 fps)
saimo is offline  
Old 20 December 2023, 15:11   #171
Dunny
Registered User
 
Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,105
Hopefully this is done right - PiStorm32Lite, Pi4B no overclock.

Dunny is offline  
Old 20 December 2023, 15:30   #172
pixie
Registered User
 
pixie's Avatar
 
Join Date: May 2020
Location: Figueira da Foz
Posts: 429
Quote:
Originally Posted by saimo View Post
Yeah, with UAE it's possible to reach ridiculous speeds (even my underpowered PC manages to reach 1000 fps)
Even chipset on WinUAE can be way faster then the real thing.
pixie is offline  
Old 20 December 2023, 18:09   #173
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 855
Quote:
Originally Posted by Dunny View Post
Hopefully this is done right - PiStorm32Lite, Pi4B no overclock.

Definitely right Thanks! Table updated.

By the way, one of the rare cases where copyback gives a little improvement.
saimo is offline  
Old 20 December 2023, 19:42   #174
klx300r
Registered User
 
klx300r's Avatar
 
Join Date: Oct 2007
Location: ManCave, Canada
Posts: 1,650
Thumbs up

cool seeing all the test results!

would be great if any 040 owners could run the tests too
klx300r is offline  
Old 20 December 2023, 23:09   #175
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,643
Quote:
Originally Posted by saimo View Post
@hooverphonique
If the CACHECOPYBACK switch is not specified, PVE sets the data cache to writethrough for both 68040 and 68060 (hance SetPatch doesn't matter).
Ah,ok.. I thought you meant OS default, when you said default
hooverphonique is offline  
Old 20 December 2023, 23:09   #176
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,643
Quote:
Originally Posted by klx300r View Post
cool seeing all the test results!

would be great if any 040 owners could run the tests too

Will try to run it on my A4k tomorrow, if I remember.
hooverphonique is offline  
Old 20 December 2023, 23:19   #177
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 855
Quote:
Originally Posted by hooverphonique View Post
Ah,ok.. I thought you meant OS default, when you said default
No problem, understandable

Quote:
Will try to run it on my A4k tomorrow, if I remember.
That would be great! A test on 68040 is sorely missing.
saimo is offline  
Old 20 December 2023, 23:26   #178
klx300r
Registered User
 
klx300r's Avatar
 
Join Date: Oct 2007
Location: ManCave, Canada
Posts: 1,650
Thumbs up

Quote:
Originally Posted by hooverphonique View Post
Will try to run it on my A4k tomorrow, if I remember.

thanks & don't worry we'll remind you
klx300r is offline  
Old 21 December 2023, 16:21   #179
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,643
Please find attached a photo of the results from my A4000 with an A3640 @ 33MHz (i.e. the cpu side of the motherboard also runs at this frequency).
I booted OS 3.1 w/o SS, ran SetPatch, and then PVE - the screen was all black during the benchmark, I hope this is correct/intentional!?

Attached Thumbnails
Click image for larger version

Name:	20231221_161342.jpg
Views:	125
Size:	110.3 KB
ID:	81105  
hooverphonique is offline  
Old 21 December 2023, 16:54   #180
saimo
Registered User
 
saimo's Avatar
 
Join Date: Aug 2010
Location: Italy
Posts: 855
Quote:
Originally Posted by hooverphonique View Post
Please find attached a photo of the results from my A4000 with an A3640 @ 33MHz (i.e. the cpu side of the motherboard also runs at this frequency).
Thank you!
Table updated.


Quote:
I booted OS 3.1 w/o SS, ran SetPatch, and then PVE - the screen was all black during the benchmark, I hope this is correct/intentional!?
Yes, it's correct. I have removed the displaying of graphics during the benchmark to avoid the restrictions caused by buffering, which would not allow to measure the actual computational performance.

Did you try it to run it normally? Could you move around without problems?
saimo 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
No native AGA screens on PIV since P96 v3 upgrade LoadWB support.Apps 0 30 October 2020 01:57
Extra bottom line on native screens, chipset feature or WinUAE? PeterK support.WinUAE 5 11 September 2019 21:21
My pseudo 3D jump code Brick Nash Coders. AMOS 24 03 September 2016 00:18
Chunky to Planar (C2P) -- USELESS GIMMICK?! crosis38 support.Hardware 10 09 July 2016 04:17
Pseudo Ops Viruskiller Promax request.Apps 0 28 July 2010 22:21

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 01:14.

Top

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