SUMMARY The option "use all cores" for face detection only uses one core STEPS TO REPRODUCE 1. Go to Persons -> choose "detect faces" 2. Settings -> check "use all cores" and "YOLO v3" 3. Press "Scan collection for faces" OBSERVED RESULT When I look at the taskmanager, only one CPU core has near 100% usage while every other core is doing nothing EXPECTED RESULT All cores are being used with near 100% usage SOFTWARE/OS VERSIONS Windows: 10 Version 21H2 (Build 19044.1645)
*** This bug has been marked as a duplicate of bug 448843 ***
I only have a double core with Windows7 at work at the moment, but both cores are running under full load at the same time. It's true that we limit the number of face detection workers to 5 I believe. So 5 cores should definitely be under load. Consider that today's computers have 8 or 16 cores, but we then also have 16 images with several GB in memory and then have problems on systems with 16GB. Maik
(In reply to Maik Qualmann from comment #2) > I only have a double core with Windows7 at work at the moment, but both > cores are running under full load at the same time. It's true that we limit > the number of face detection workers to 5 I believe. So 5 cores should > definitely be under load. Consider that today's computers have 8 or 16 > cores, but we then also have 16 images with several GB in memory and then > have problems on systems with 16GB. > > Maik Thanks for your reply. I have an 8 core cpu with 32 gb ram so i dont know why exactly its only using one core. Is there anything i can try to fix this?
A test with my 4-core Intel Core I5 laptop with Windows 10 also shows that all 4 cores are fully utilized relatively evenly. Maik
Same for me under Windows 11 and Windows 7. Database is sqlite. Gilles
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.
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 448843 FIXED-IN: 8.1.0 M +4 -0 main_window/people_view.rst https://invent.kde.org/documentation/digikam-doc/-/commit/7230f0154708c5066b666b1e10c2c3eceb17eb89