Oh boy, I feel stupid.
Remember how I said my M1 Mac Mini was so slow in the Hello again, darktable thread? And then I proceeded to spend €2350 on a Mac Studio M2 Max, to speed things up? Well, today I did some performance measurements, to verify that my purchase was worth it and return it if it wasn’t.
To do this, I hooked up the two computers to my two 4k screens, both running the same 5k-ish internal resolution, opening the same picture with the same adjustments, with darktable -d perf
to measure computation times in a nearby terminal window.
I’ll first change an operation early in the pixelpipe, which should take a long time, then an operation late in the pixelpipe, which should be fast:
Operation | M1 | M2 Max |
---|---|---|
Exposure | 1.840 | 0.574 |
Color Balance Brilliance | 0.316 | 0.189 |
This looks like a clear win for the M2 Max! It is indeed much faster, exactly what I wanted!
And yet, while this is a worthwhile improvement, it is not exactly fast in its own right. 0.5 seconds is a pretty noticeable delay still.
While looking at the performance numbers, I noticed that the preview and full image were always calculated sequentially, on the GPU. And I remembered that they were supposed to be calculated in parallel on GPU and CPU.
To test if this makes a difference, I therefore switched the performance profile from “very fast GPU” to “default”. Which indeed changed things… you’ll be the judge:
Operation | M1 | M2 Max |
---|---|---|
Exposure | 0.378 | 0.225 |
Color Balance Brilliance | 0.212 | 0.128 |
So there you have it. All of you saying that my Mac was strangely slow, were right. I had misconfigured my Darktable. Why I did so I don’t know. Presumably I had my reasons at the time. Perhaps this was a leftover from an earlier version of Darktable? Perhaps it was a leftover from the previous computer, which had a much weaker CPU?
The new computer is still noticeably faster in practice. But I’m seriously considering sending it back regardless. The M1 is actually quite usable now.
TL;DR: switching my performance profile from “very fast GPU” to “default” was much more worthwhile than upgrading my computer.