Results 1 to 10 of 10

Thread: Digikam: No multithreading / multicore support?

  1. #1

    Default Digikam: No multithreading / multicore support?

    For a while now I have been wondering why digikam feels so sluggish displaying pics, rebuilding thumbnails etc. Now I noticed that obviously, according to my system monitoring plasmoid, digikam seems to use only one core of my multicore CPU. It's easily reproducible, when doing some CPU intensive stuff like rebuilding the thumbnails or displaying larger image files, only one CPU peaks to 99%, all other cores are still idling.

    Is this a digikam error, or is something else going wrong? Usually in other situations, the load is balanced between the CPU cores.

  2. #2
    Join Date
    Oct 2008
    Location
    near Munich
    Posts
    507

    Default Re: Digikam: No multithreading / multicore support?

    It may help a little if digikam uses an external MySQL database. In this
    case digikam and database can use different cpus.

    However, I don't really want digikam to block my whole system by using all
    cpus.

  3. #3

    Default Re: Digikam: No multithreading / multicore support?

    Quote Originally Posted by Fruchtratte View Post
    However, I don't really want digikam to block my whole system by using all
    cpus.
    Well, this should be the job of a scheduler. Digikam locking up for minutes when refreshing picture thumbnails with one core at 100% and three other cores idling does not seem to be a reasonable policy to me.

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Digikam: No multithreading / multicore support?

    On 2011-12-09 15:26, Larx wrote:

    > Well, this should be the job of a scheduler. Digikam locking up for
    > minutes when refreshing picture thumbnails with one core at 100% and
    > three other cores idling does not seem to be a reasonable policy to me.


    If it maxed all cores, other people would complain because the rest of the
    tasks would crawl :-P

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  5. #5

    Default Re: Digikam: No multithreading / multicore support?



    Any constructive feedback besides the advice to have three multi-GHZ cores idling around just in case the mouse movement gets sluggish, while Digikam chokes in its workload?

  6. #6
    Join Date
    Jun 2008
    Location
    Florida, USA
    Posts
    974

    Default Re: Digikam: No multithreading / multicore support?

    I am runnng Digikam 2.2.0 rel 10 on 11.4/KDE4.7.3. Using the default SQLite DB setup.

    Having never run a refresh icons, I tried it and verify that only one (of my 4)core seems to be doing the work, at about 75-80% for a few seconds.
    I also tried a "Enhancement" plugin - Local Contrast, that I use a lot and has always seemed to be a "CPU hog", or should I say seemed "slow". Running Local Contrast on a 10Mpx photo takes 100% of a core, again for a few seconds.

    Is the lack of multicore suppot a SuSE question or a Digikam question?

  7. #7

    Default Re: Digikam: No multithreading / multicore support?

    The problem then would not only be with Digikam, but also with KIPI-plugins. I cannot really imagine that an image management tool by design does not use multicore in 2011, so I also wonder if that's a digikam problem or maybe a wrong compilation flag or something like that. The situation is the same for 2.3.

  8. #8
    Join Date
    Jun 2008
    Location
    Florida, USA
    Posts
    974

    Default Re: Digikam: No multithreading / multicore support?

    HMMM, a quick Google search on Digikam produces:
    1. Multithreading introduced in ver 1.2, one would assume it continues......
    2. A reference back to this SuSE forum thread

  9. #9

    Default Re: Digikam: No multithreading / multicore support?

    Reading the release announcement in detail, only selected parts seem to be multithreaded as of 1.2. Which was, to be sure, over 1 1/2 years ago.

  10. #10

    Default Re: Digikam: No multithreading / multicore support?

    Hi,

    Why not ask your questions here:
    https://mail.kde.org/mailman/listinfo/digikam-users

    Developers listening there!

    /Anders

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •