Bug ID: 413972
Summary: align_image_stack and enfuse use only 1 CPU core if
called by digiKam plugin, 4 CPU core on command line
Platform: openSUSE RPMs
Target Milestone: ---
align_image_stack and enfuse command line tools take to long because they only
use 1 core if called from the Plugin-Generic-Expoblending. If OMP_NUM_THREADS=4
is set, they are using 4 cores if called from the command line.
STEPS TO REPRODUCE
1. export OMP_NUM_THREADS=4 (number of core your CPU has)
2. start digiKam from the same command line
3. use ksysguard to monitor how many cpu cores are used
4. align and enfuse 2 or more pictures with Expoblending Plugin
5. only the first CPU core is used 100%, the others are idle (<5%)
6. all cores are up to 100% usage most of the time like when called without
Linux/KDE Plasma: openLEAP 15.1
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.55.0
Qt Version: 5.9.7
Called from the digiKam Exposure Blending Plugin this always takes the time of
a 1 Core System, even when I have a 4 core Intel i7. This is my benchmark with
calls from the command line and different OMP_NUM_THREADS setting.
Both tools are linked with the openMP library libgomp.so.1.
I had to install enfuse-enblend from the KDE:graphics Repo because the one that
is default in openLEAP 15.1 is to old and not linked to openMP.
Problem could be upstream. I would like to know if this is a problem on other
Linux distributions or SUSE Versions as well.
time align_image_stack -v -c 16 -a aligned IMGP1842.JPG IMGP1843.JPG
enfuse -c --exposure-weight=1 --saturation-weight=0.2 --contrast-weight=0.2 -v
-o hdr.jpg aligned0000.tif aligned0001.tif aligned0002.tif
Thanks in advance,
You are receiving this mail because:
You are watching all bug changes.