Bug 454766

Summary: Importing an album uses only a single thread
Product: [Applications] digikam Reporter: Roland Illig <roland.illig>
Component: Import-AlbumsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 7.6.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In: 7.7.0
Sentry Crash Report:

Description Roland Illig 2022-06-02 18:55:36 UTC
SUMMARY
I have a photo collection of 100_000 photos that I want to import.
Digikam takes about 1 week for that job. During that time, it uses only a single thread, even though my computer has 8 cores.

STEPS TO REPRODUCE
1. Import a folder containing 100_000 photos.
2. Wait 2 days, then look at the progress.

OBSERVED RESULT
Digikam is still importing the photos.
There is no useful progress bar.
During the import, Digikam crashes whenever I click around in the timeline.
After a crash, Digikam does not offer to report the crash.

EXPECTED RESULT
Digikam can import a reasonably large photo collection in a single day.
During the import, I can already work on the imported photos, for example, search for duplicates.
Importing the images happens in a background thread, it does not affect the UI.
Digikam does not end up as "not responding" even for a folder containing 100_000 images.

SOFTWARE/OS VERSIONS
Windows: 10
Comment 1 Maik Qualmann 2022-06-02 19:57:22 UTC
If you start with digiKam, you don't import images via the import tool. The import tool is for importing images from camera, memory card, USB. You simply add a collection to your existing image directory.

Maik
Comment 2 Maik Qualmann 2022-06-02 20:06:21 UTC
And since, depending on the device drivers used, multiple threads are not possible, I'll close here.

Maik