Slow DSP investigation with DFB1

Discussion and support for the DSTB1 & DFB1 boosters by BadWolf..
pakman
Posts: 76
Joined: Fri Feb 16, 2018 10:04 pm
Location: Germany

Re: Slow DSP investigation with DFB1

Post by pakman »

Badwolf wrote: Fri Nov 06, 2026 9:45 am Holger, @pakman (pakman with a K not a C)
And by the way "Parkman" is also wrong..
(Maybe I should better change my name to PAKman, since it refers to the PAK68/3 published in the german ct magazine back in 1994).
We can ask for permission to ship programmed gals with DFB1Xs, but I've not heard back from him for a long time. I hope he's OK.
Permission granted!
User avatar
viking272
Site sponsor
Site sponsor
Posts: 308
Joined: Mon Aug 10, 2020 11:32 am
Location: Reading, Berkshire, UK

Re: Slow DSP investigation with DFB1

Post by viking272 »

pakman wrote: Fri Nov 06, 2026 8:15 pm Permission granted!
Amazing, thank you! πŸ™ πŸ™
User avatar
exxos
Site Admin
Site Admin
Posts: 29749
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Slow DSP investigation with DFB1

Post by exxos »

pakman wrote: Fri Nov 06, 2026 8:15 pm Permission granted!
:dualthumbup: :thanksyellow:
User avatar
viking272
Site sponsor
Site sponsor
Posts: 308
Joined: Mon Aug 10, 2020 11:32 am
Location: Reading, Berkshire, UK

Re: Slow DSP investigation with DFB1

Post by viking272 »

exxos wrote: Thu Nov 05, 2026 11:04 pm Its not on sale on my store.. Partly because I can't find any GALs. I've got the Atmel ones in my mouser basket but i had given up trying to program them as the power down pin was always enabled. But I've got a different programmer now. So worth another try.
Hi @exxos
Did you manage to test your different programmer?
Just wondering if it got around the power down pin issue?
Is the u68 GAL socketed or a solder job?
User avatar
exxos
Site Admin
Site Admin
Posts: 29749
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Slow DSP investigation with DFB1

Post by exxos »

viking272 wrote: Mon Nov 09, 2026 9:36 am Did you manage to test your different programmer?
Just wondering if it got around the power down pin issue
I haven't got any chips to test yet.. They are in my mouser basket but I'm not ready to do the order yet
charon030
Posts: 20
Joined: Thu Nov 27, 2025 8:09 am

Re: Slow DSP investigation with DFB1

Post by charon030 »

mikro wrote: Sun Nov 01, 2026 12:02 pm
Nembench results when accessing ST RAM (MByte/s):

Code: Select all

  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”
  β”‚               Test                β”‚ DFB1X  β”‚  CT2   β”‚  Ξ”   β”‚                                                                                                                        
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€
  β”‚ Linear 32bit read ST-RAM          β”‚  5.297 β”‚ 10.240 β”‚ +93% β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€
  β”‚ Linear 32bit write ST-RAM         β”‚  6.406 β”‚ 11.477 β”‚ +79% β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€
  β”‚ Linear 32bit copy ST-RAM          β”‚  3.209 β”‚  5.738 β”‚ +79% β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€
  β”‚ Linear 16bit read ST-RAM          β”‚  4.890 β”‚  9.256 β”‚ +89% β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€
  β”‚ Linear 16bit write ST-RAM         β”‚  5.779 β”‚ 11.497 β”‚ +99% β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€
  β”‚ Linear 16bit copy ST-RAM          β”‚  2.066 β”‚  3.828 β”‚ +85% β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€
  β”‚ Linear 8bit read ST-RAM           β”‚  4.190 β”‚  6.660 β”‚ +59% β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€
  β”‚ Linear 8bit write ST-RAM          β”‚  2.894 β”‚  5.748 β”‚ +99% β”‚
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€
  β”‚ Linear 8bit copy ST-RAM           β”‚  1.034 β”‚  1.914 β”‚ +85% β”‚
TL;DR version:
- ST-RAM: about 1.6x - 2.0x faster on CT2
I wonder whether the faster ST-RAM accesses are only related to bus-overclocking.
At least for the CT60, Rodolphe emphasized that the ST-RAM write accesses are carried out in 3 instead of 4 clock cycles. https://mikrosk.github.io/ct60tos/ct60/ ... hs_eng.htm
Maybe that trick was already done on the CT2? Or maybe the CT2 did not toggle the CPU clock between 50 MHz and 16 MHz for ST-RAM accesses but sampled the Falcon bus at 50 MHz?
mikro
Posts: 866
Joined: Mon Aug 28, 2017 11:22 pm
Location: Kosice, Slovakia
Contact:

Re: Slow DSP investigation with DFB1

Post by mikro »

charon030 wrote: Tue Nov 10, 2026 9:11 pm I wonder whether the faster ST-RAM accesses are only related to bus-overclocking.
I'm almost sure that this isn't the case. Of course it helps but it isn't the whole story. I have got another Falcon with a Phantom@25 MHz so if I find time to switch the setups (I've got other things to try there, too) I can re-measure this again. I'll make a TODO note.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3176
Joined: Tue Nov 19, 2019 12:09 pm

Re: Slow DSP investigation with DFB1

Post by Badwolf »

mikro wrote: Tue Nov 10, 2026 10:41 pm
charon030 wrote: Tue Nov 10, 2026 9:11 pm I wonder whether the faster ST-RAM accesses are only related to bus-overclocking.
I'm almost sure that this isn't the case. Of course it helps but it isn't the whole story. I have got another Falcon with a Phantom@25 MHz so if I find time to switch the setups (I've got other things to try there, too) I can re-measure this again. I'll make a TODO note.
I hadn't quite clocked those were Nembench results so kind of missed them.

ST-RAM runs at a fixed speed with a proportion of it being used for video memory so assuming the same screen resolution was used between tests then I'd only expect a percent or two difference here or there as the instructions to carry out the tests are read and executed faster (if the instructions all fit in the cache then even even less).

*Unless*, for example, the bus runs faster (faster ST-RAM is kind of the point of that) or the CPU's spending more time executing from its cache at 50MHz.

My suspicion is that both these things are true here. I don't know much about the architecture of CT2, but I suspect it's not switching down (that's the elegant way to do things after all), meaning any cached instructions run faster.

If NEMBENCH is clever and is able to block all that out (I'm sure it's clever enough, I'm not sure if it's part of the design to do so or whether the effects of cache are what it's interested in), then the chances are you're seeing the effects of the bus speeder. 25MHz vs 16MHz is +160%.

CT2 (ignoring any bus speeding) is faster than DFB1. Known and accepted. It takes direct control of the bus rather than going through the bus arbitration dance and doing the whole 'pretending to be a 68000' thing.

BW
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
Post Reply

Return to β€œDSTB1 & DFB1 booster by BadWolf”