openmp problem?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
robuntu
Posts: 41
Joined: 2012-01-22T10:56:10-07:00
Authentication code: 8675308

openmp problem?

Post by robuntu »

Hi together,
I just found this website:
http://www.daniloaz.com/en/617/systems/ ... agemagick/
and wondered if this could affect me.

I have a "monster" system with 32 CPU cores and 128 GB Ram (Oh yes!) running Ubuntu 12.04 64bit and try to manage a fast Imageconversion.

My system tells me:
Version: ImageMagick 6.6.9-7 2012-04-30 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP
When I convert a 700MB cmyk tif Image to an 4.5GB RGB mpc image, both placed in a ramdisk it takes 15 seconds.
When watching the CPU-meter only one cpu shows action.

After setting the MAGICK_THREAD_LIMIT=1 option in the /etc/envirement
I get the same time for conversion.

Question one: does the openmb-bug affect my version on IM?
Question two: Why does it take the same time with or without the MAGICK_THREAD_LIMIT=1 option?

Question three: and this is my main task: how do i speed up thes conversion?

Greetings
Roland
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: openmp problem?

Post by anthony »

Not all processing is multi-threaded. Some can not be. depends on the operation.
In IM only individual operations are multi-threaded.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply