Bug 448843

Summary: Multiple Cores Not Used
Product: [Applications] digikam Reporter: Stewart Bodzin <Stewart.Bodzin>
Component: Faces-RecognitionAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, jarzihesto, mas_masterandservant, metzpinguin, scpelitecontainer
Priority: NOR    
Version First Reported In: 7.5.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 8.1.0
Sentry Crash Report:

Description Stewart Bodzin 2022-01-20 18:17:49 UTC
This bug report program identifies my system as Windows 10; however, I'm running Windows 11.  When doing face recognition, the work on all cores does not work, only a single core is being used on my ASUS i9 which can run 16 threads on its 8 cores.
Comment 1 caulier.gilles 2022-01-20 18:23:54 UTC
In People left sidebar tab, did you turn on the option "Work on all processor cores" from Settings view ?

Gilles Caulier
Comment 2 Maik Qualmann 2022-04-19 13:06:38 UTC
*** Bug 452765 has been marked as a duplicate of this bug. ***
Comment 3 Michael 2022-06-02 14:15:44 UTC
Hi there,

Windows 11
MariaDB 10.6.3
Digikam 7.6.0
Prozessor AMD Ryzen 7 5800X 8 Cores (16 Threads)
3 SSD-Drives (2TB each)
32GB RAM
500.000 Images

Result: Only 1 Thread is running therefore only 1/2 CPU Core is used.

Same to fingerprinting.
Comment 4 Maik Qualmann 2022-06-02 14:34:18 UTC
MariaDB-10.6.x is currently not a good idea. The Qt-MySQL driver currently only supports MariaDB-10.5.x at maximum on Windows. Malfunctions and crashes may occur. MariaDB-10.6.x introduced a change to the API. We hope to be able to compile digiKam with a version of Qt on Windows that has an updated driver soon.

Maik
Comment 5 caulier.gilles 2023-05-02 16:59:05 UTC
Stewart

did you seen the last message from Maik ?

Gilles Caulier
Comment 6 Michael 2023-06-19 19:54:05 UTC
Since version 8.0.0 I am using SQLite. Performance is good and all available and possible cores are used.

Michael
Comment 7 caulier.gilles 2023-06-20 05:42:39 UTC
Git commit 7230f0154708c5066b666b1e10c2c3eceb17eb89 by Gilles Caulier.
Committed on 20/06/2023 at 05:21.
Pushed by cgilles into branch 'master'.

Online documentation: Multi-core support in faces management: add tip about Mysql/Mariadb limitations.
Related: bug 452765
FIXED-IN: 8.1.0

M  +4    -0    main_window/people_view.rst

https://invent.kde.org/documentation/digikam-doc/-/commit/7230f0154708c5066b666b1e10c2c3eceb17eb89