Page 1 of 1

openmp problem?

Posted: 2012-06-14T13:22:15-07:00
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

Re: openmp problem?

Posted: 2012-06-14T16:53:29-07:00
by anthony
Not all processing is multi-threaded. Some can not be. depends on the operation.
In IM only individual operations are multi-threaded.