I moved my photographic workflow from proprietary software (Capture One) to digikam for DAM and darktable for editing and post processing.
I currently use both software on a Macbook Air M1 8Gb. Not the fastest I admit, but both software are very very usable. I did not expect this for a basic machine. Some tasks obviously need more power and I decided to invest some money for a dedicated workstation.
I’m also using digikam and darktable on a Linux PC with Debian (AMD 3900X + RTX2070s) and I was curious to see the performance and understand if I could upgrade some components like the GPU that has ‘only 6Gb’
I stumbled upon this page by chance https://math.dartmouth.edu/~sarunas/darktable_bench.html
and out of curiosity I ran the same tests on both MacBook and PC.
I did the tests with a similar configuration and expected similar results, but:
Sarunas configuration
darktable 4.4.0
CPU only Ryzen 5 5600X @4.6GHz 6C/12T, 32GiB RAM @3.2GT/s, NVMe SSD, Linux 6.2, Ubuntu 23.04 (storas) > 12.5 sec
+GeForce RTX 2070 8GB GPU (TU106) > 2.3 secs.
My configuration
4.5.0~git194.0bbb6717-1+10382.1
CPU only Ryzen 9 AMD Ryzen 9 3900X 12-Core Processor, 32Gb > 8.9sec
+GPU GeForce RTX 2070 SUPER 8GB > 6.5sec
With CPU only, my configuration is better, but with the same GPU, mine is about 3 times slower.
In the console, there are two operations that have an error and I don’t know if related to my version of darktable or another problem.
[opencl_summary_statistics] device ‘NVIDIA CUDA NVIDIA GeForce RTX 2070 SUPER’ (0): 157 out of 159 events were successful and 2 events lost. max event=156, clmem runtime problem
Again out of curiosity, I ran the same tests on the MacBook Air M1 8Gb and apart from very slow times, everything worked without any problem.
On the Sarunas page I linked above there are comparisons of different configurations including even a MacStudio with one exaggerated configuration (M2 Ultra 24CPU/76GPU/192GiB) and another more moderate one (M2 Pro 10CPU/16GPU/32GiB).
The results of pure power performance are very similar if not better and the power consumption is also very noticeable always in favor of the Macs, and assuming constant use at the end of the year makes a difference on the electric bill.
I can already imagine the first objection concerning the cost of the mac, and I am aware of the price difference.
I am struggling to form an opinion and have some doubts and would like to ear your opinion.
Assuming that the current PC is used exclusively for gaming with my children, after some research and some suggestions I tried to figure out what a build for a dedicated darktable workstation might be:
CPU: Intel Core i5-13600KF 3.5 GHz 14-Core Processor
CPU Cooler: Thermalright Peerless Assassin 120 SE 66.17 CFM CPU Cooler
Motherboard: MSI B760 GAMING PLUS WIFI ATX LGA1700 Motherboard
Memory: Corsair Vengeance 32 GB (2 x 16 GB) DDR5-5600 CL36 Memory
Storage: Crucial P5 Plus 2 TB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive
Video Card: Sapphire PULSE Radeon RX 6700 XT 12 GB Video Card
Case: be quiet! Pure Base 500DX ATX Mid Tower Case
Power Supply: Gigabyte UD850GM 850 W 80+ Gold Certified Fully Modular ATX Power Supply
Wired Network Adapter: Asus XG-C100C 10 Gb/s Ethernet PCIe x4 Network AdapterTotal: ~1450EUR
Pros:
- In my budget
- 2TB of local storage
- 10GBe network card
- performance “should” be high (if no driver issue???)
- being a custom PC possibility to upgrade components in the future (e.g. storage, GPU, RAM etc)
Cons:
- usability/configuration frustation: I assumed an AMD GPU with 12gb, but on Linux I only have experience with NVIDIA and from my tests there have been some problems, this scares me because if because of the drivers the performance is compromised, I would not want to spend my time fixing driver problems instead of dealing with my photography workflow;
- high power consumption;
- the case is big;
- probably loud, not silent as a Mac.
For the Apple configuration I assumed 2 configurations of a Mac mini, one minimal in line with my budget and one similar to Sarunas’ one (for comparison).
The first is better than my current M1, but I added the 10GBe card and maximized the RAM:
Apple M2 with 8-core CPU, 10-core GPU, 16‑core Neural Engine
24GB unified memory
512GB SSD storage
10 Gigabit EthernetTotal: 1504EUR
Pros:
- compact, fits under the desk
- performance between my current M1 and sarunas configuration
- no driver issues(???)
- in line with my budget
- very low power consumption
- quiet
- no usability/configuration frustation
Cons:
- storage limited to 512Gb
- need to add an external drive (I already have one, but still a PITA)
- not expandable
- if it breaks, I can’t fix it
Sarunas configuration, to which I added the network card 10gbe:
Apple M2 Pro with 10‑core CPU, 16-core GPU, 16‑core Neural Engine
32GB unified memory
512GB SSD storage
10 Gigabit EthernetTotal: 2124EUR
Pros:
- compact, fits under the desk
- performance in line with expectations
- no driver issues(???)
- in line with my budget
- very low power consumption
- quiet
- no usability/configuration frustation
Cons:
- not in line with my budget
- storage limited to 512Gb
- need to add an external drive (I already have one, but still a PITA)
- not expandable
- if it breaks, I can’t fix it
I would like to have your opinion even though in a forum where most of the users are *nix, I already guess what are you thinking
Especially I’d like to be reassured more about the GPU and driver related part and the error due to clmem runtime problem
.
Finally, if anyone uses a mac M2 mini I am curious to hear your experience, and see if the performance is in line with that of Sarunas’ test.
Apologise for the wall of text and hope my doubts will help other users that are switching from proprietary software workflow to a FOSS one to form a better opinion.