Bug 138106

Summary: Rebuild thumbnails should be multithreaded
Product: [Applications] digikam Reporter: Paul Waldo <paul>
Component: Database-ThumbsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0
Sentry Crash Report:

Description Paul Waldo 2006-11-29 21:22:07 UTC
Version:           0.9.0-rc1 (using KDE 3.5.5, Kubuntu (dapper) 4:3.5.5-0ubuntu1~dapper2)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-27-686

It would be nice to use multiple CPUs (if available) for rebuilding thumbnails.  Maybe allowing the user to specify how many threads he wants for rebuilding?
Comment 1 caulier.gilles 2006-11-30 07:34:36 UTC
Paul,

Thumbnails are generated by a separate process using KIO-slave.

Gilles
Comment 2 Fabien 2006-12-13 15:27:20 UTC
I rebuilded thumbnails on a 2xdual-core CPU PC, and it's true that only one processor is used at the same time. 
I can only see one kio_digikamthumbnail process (not multi-threaded) to do the job. So, it doesn't use multiple processors...
But maybe kio-slave can't handle multi-threaded jobs ?
Comment 3 caulier.gilles 2017-07-24 14:59:26 UTC
The KIO slave dedicated to generate thumbnails is now replaced by a multi-threaded interface since 5.0.0.