Bug 454766 - Importing an album uses only a single thread
Summary: Importing an album uses only a single thread
Status: RESOLVED INTENTIONAL
Alias: None
Product: digikam
Classification: Applications
Component: Import-Albums (show other bugs)
Version: 7.6.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-02 18:55 UTC by Roland Illig
Modified: 2022-06-02 20:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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