Question about PC upgrade for image editing -- Darktable is slow

#1

Finally getting around to setting up my desktop computer and I’m finding it to be slower than I thought it would be while using Darktable.

When I zoom in and/or scroll on a Fujifilm RAW file, I get the “Working” displayed for a few seconds. For some reason, I thought that zooming/scrolling would be nearly instantaneous.

My question is, what hardware do I need to upgrade to speed up image editing in Darktable?


My desktop configuration is as follows.

Motherboard: MSI B350M

CPU: Ryzen 3 2200G

Graphics: I’m using the CPU’s built-in graphics.

RAM: 16GB

OS: Linux Mint 19.1

Monitor: LG 4k 60hz monitor via HDMI


I thought it might be that I’m using the integrated graphics of the Ryzen 3, but the following article claims that I won’t see much of an improvement by upgrading to a high-powered graphics card.

The article in the link above also claims that CPU is the single most important factor in image editing and that image editing software “takes much greater advantage of increased single-threaded performance than increased multi-threaded performance, especially beyond four cores.”

Would I see a significant difference upgrading to a Ryzen 7 CPU and buying a dedicated graphics card?

(pphoto) #2

That article talks about software that does not use the GPU for processing. Darktable is able to do that.
You can take a look at this thread:

Many people post results comparing processing time with GPU and CPU. Increase is dramatically.

1 Like
(Ingo Weyrich) #3

That’s nonsense. I just measured Amaze demosaic of a 80 MP file in RT:

one core: 6 seconds
two cores: 3.1 seconds
four cores: 1.78 seconds
eight cores: 1.05 seconds

Doesn’t scale perfectly, but quite well.

Measured on my 6 years old AMD FX 8350 8-core cpu with not the fastest RAM (that’s in fact the limiting factor at my system)

2 Likes
#4

Thanks for the link, but it is a bit too technical for me and hard to follow.

What you guys are telling me is that I’d notice a significant difference in speed with Darktable if I upgrade my CPU to a Ryzen 5 or 7 as well as install a dedicated graphics card.

Something like this would work well for a graphics card? Price seems fairly reasonable.

Biostar Radeon RX 550 4GB GDDR5 128-Bit DirectX 12 PCI Express 3.0 x16 DVI-D Dual Link, HDMI

#5

Hi @Samuraidog, and welcome!

If you perform the two tests that Alessandro wrote about (see link in @pphoto’s post, above) that will give a good indication on what you can do to make dt perform faster.

Alessandro clocked his rig at

  • 13 seconds with openCL, and
  • 80 seconds without openCL.

What are your values?

Have fun!
Claes in Lund, Sweden

(Nick) #6

First of all, it depends upon the distro you’re using. Make sure OpenCL is available on your distro. The dt speedup is really dramatic with it. Then, provided you’re using Rizen, the shiny new AMD’s ROCm architecture is available on your machine, which is good. So you’ll want a card that is fully supported by ROCm. RX 5XX is good for that, yet 550 is an entry-level one. Here you can find the details: https://rocm.github.io/hardware.html
You can also use AMDGPU-PRO drivers on any card newer than GCN 1.1, but I would recommend to avoid this way, for you’ve a better choice, and AMD won’t invest much time into older solution. Have fun!
UPD: and yes, make sure you’re utilizing OpenCL on your built-in GPU. It will improve performance over CPU even on that weak GPU at least about x3.

#7

I use even two GTX1060, but nowadays better two 1660, which seems to be THE cost/performance beast.

My ones are rarely loaded >100% in total, still it feels better, even both run at ~35% but in parallel.