QuickDraw Speed - Fast Card Benchmarks

phipli

Active Tinkerer
Sep 23, 2021
398
263
63
Curious how you achieve this. NuBus is quite slow compared to the CPU in the Quadra and PPC era. Just sending command over the bus is going to take time. The 8*24GC "solved" the issue by offloading larger chunks of work, but that comes at the cost of compatibility. In my Quadra, the QuadraFPGA destroyed the NuBusFPGA performance-wise even though the internal acceleration engine & acceleration init are the same.
The chip on the card is a late 1996 Cirrus Logic chip - it has a very fast blit engine / accelerated rectangles and SDRAM. I'm trying to minimise register writes and VRAM writes over Nubus (the best I'm getting over Nubus is about 7.5MB/s write, and weirdly only 3.5MB/s read).
Some of the gains are just over benefiting the synthetic benchmark, such as my font and small image caches, other stuff I'm doing 1bit writes and colouring once on the card which especially benefits higher bitdepths (not shown above).

It is probably the fastest Nubus hardware out there to start with, but yes - Nubus being a bottleneck is the biggest issue.

Some stuff I've also cached on the host side so lookups / compares can be done quickly. Basically I've spent every non-work waking minute trying to squeeze every last bit out of it. Sadly its a battle with the cost of patches, especially with line drawing. I really should test on a slower machine where the CPU isn't so fast though - I'm worried I'm dismissing stuff that would benefit an 030.

Also curse Nubus not benefiting from MOVE16 on these machines (as far as I know).
 
Last edited:

phipli

Active Tinkerer
Sep 23, 2021
398
263
63
In my Quadra, the QuadraFPGA destroyed the NuBusFPGA performance-wise even though the internal acceleration engine & acceleration init are the same.
Same would happen here - a PDS card would give huge - insanely huge - gains. Especially in the bitcopy tests and picture, which are copies from RAM I believe. The actual throughput really matters for real world stuff - for example illustrator uses its own routines to memory and then just copies to VRAM, so you only really gain by speeding that copy up and I'm already knocking my head on the ceiling there. This chipset is begging for a faster host connection.

If I was building a card from scratch I'd try and put it in the PDS slot. I wish 040 connectors were more easy to get.

To optimise I used a QuickDraw profiler which recorded all the calls and how long each took. That helped me work out where time was spent, what was worth optimising and also whether I was seeing improvements. I used it to record a few things (Marathon just writes to the frame buffer, so no gains there), but the useful one is the MacBench "Graphics" test, which seems to just replay quickdraw calls like a VCR and gives a good general productivity usage activity to observe.