[Kde-imaging] [Bug 226799] libkdcraw should use all CPU cores when converting images

Roman Fietze rfkd at fietze-home.de
Sun Feb 14 14:57:23 CET 2010


https://bugs.kde.org/show_bug.cgi?id=226799


Roman Fietze <rfkd at fietze-home.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.0.0                       |unspecified




--- Comment #2 from Roman Fietze <rfkd fietze-home de>  2010-02-14 14:57:22 ---
(In reply to comment #1)

> ... whether parallelized demosaicing is active?

It tells me "Yes"

Some more info, just in case it might be useful:

digikam-1.1.0-29.8.x86_64
libkdcraw8-4.4.0-150.9.x86_64

I also checked the source files of kdegraphics4 and could see some code using
OMP, and the libs using ldd and I could see libgomp.

Hmmm? It seems the most CPU cycles are used to convert to the displayed image
format. See my small benchmarks below.

I tested it with a RAW-> 8 Bit PNG/PPM conversion from a Nikon 3s and 70s and a
Canon 350D on a Quad Core Phenom II 905e:

- digikam batch: 25-35s (PNG), 10-12s (PPM)
- ufraw-batch: 25-30s (PNG), 11-12s (JPG), 7.5-11s (PPM)
- my own dcraw OMP patch: 12-18s (PNG), 6.5-8.5 (JPG), 6.5-7.5s (PPM)

I can provide my own patches if you are interested. They are based on the older
8.89 of dcraw, the results do not differ in any bit from the results created by
the original dcraw version (test script) using Nikon 70s and Canon 350D images.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-imaging mailing list