Rebuilding thumbnails in digiKam is inefficient on multicore systems

Bug #417819 reported by tdn
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
digiKam
Fix Released
Wishlist
digikam (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

When rebuilding thumbnails in digiKam, the process is very slow. It could be sped up a lot on multi-core systems by utilizing that the system has multiple CPU cores.

Please make digiKam's Rebuild All Thumbnails functionality use multiple CPUs/CPU cores.

Revision history for this message
In , Oliver-koch-u (oliver-koch-u) wrote :

Version: 0.9.3 (using KDE 3.5.9)
Installed from: Debian testing/unstable Packages
OS: Linux

Is there the possibility to add multicore support in the image manipulation or enhance plugins. Most common cpus ourtimes have dual or more cores ? I saw if there are computing intensiv plugins, only one core is used.

Revision history for this message
Luka Renko (lure) wrote :

I added link to upstream report about multicore support.

Changed in digikam (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
In , Luka Renko (lure) wrote :

There is also wish in Ubuntu about thumbnail generation with multiple core/CPU:
https://launchpad.net/bugs/417819

Revision history for this message
In , Caulier-gilles-9 (caulier-gilles-9) wrote :

To be clear here, we need to use OpenMP API everywhere when it's possible...

Gilles Caulier

Revision history for this message
In , Johannes Wienke (languitar) wrote :

I'm not convinced that OpenMP is the one and only solution for generating multi-threaded code. For pre-existing algorithms it is a nice way but for other stuff that needs more control over the number of threads, synchronization etc. it's not a good way.

For the thumbnail generation a thread pool wit a user defined size sounds like a more appropriate solution to my mind.

Changed in digikam:
status: Unknown → New
Changed in digikam:
importance: Unknown → Wishlist
Revision history for this message
In , Caulier-gilles-9 (caulier-gilles-9) wrote :

Please tests and report. My patch is against git/master. Let's me hear if this solution is suitable for you. It's not configurable.

Gilles Caulier

Revision history for this message
In , Caulier-gilles-9 (caulier-gilles-9) wrote :

sorry for the noise. wrong report

Gilles Caulier

Revision history for this message
In , Caulier-gilles-9 (caulier-gilles-9) wrote :

*** This bug has been marked as a duplicate of bug 289204 ***

Changed in digikam:
status: New → Invalid
Revision history for this message
tdn (spam-thomasdamgaard) wrote :

Care to explain why this is marked invalid?

Revision history for this message
Rohan Garg (rohangarg) wrote :

Hello,

Thanks for reporting this feature request! Unfortunately, at this time Kubuntu does not have the developer manpower needed to implement and maintain many features at the Kubuntu level. This wish would best be reported and tracked at https://bugs.kde.org, so that it can be implemented by the KDE developers themselves. Once implemented in KDE, it will be included in Kubuntu once the KDE version the feature is implemented in reaches Kubuntu.

Thanks!

Changed in digikam (Ubuntu):
status: Triaged → Invalid
Revision history for this message
In , Caulier-gilles-9 (caulier-gilles-9) wrote :
Changed in digikam:
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.