openmp in libmagickcore-6.q16-2:amd64
Posted: 2016-07-06T13:09:10-07:00
Hi ImageMagick Users,
We are trying to use imagemagick libraries within our code. I cannot post convert -version output since the imagemagick userspace binaries are not installed in the docker container that runs the application.
The code itself is multi-threaded. At a certain load, userspace CPU utilization spikes. the performance of the machine drops off accordingly. I believe that contention among the threads (possibly causing high processor cache miss rates) is the culprit.
In /usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/config-Q16/configure.xml which came with the package, we find -fopenmp under CFLAGS. Is it reasonable to assume that libmagickcore-6.q16-2:amd64 was compiled with openmp support?
Is it recommended to disable openmp if you are writing your own multi-threaded application?
Thanks so much all,
Joseph Hammerman
We are trying to use imagemagick libraries within our code. I cannot post convert -version output since the imagemagick userspace binaries are not installed in the docker container that runs the application.
The code itself is multi-threaded. At a certain load, userspace CPU utilization spikes. the performance of the machine drops off accordingly. I believe that contention among the threads (possibly causing high processor cache miss rates) is the culprit.
In /usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/config-Q16/configure.xml which came with the package, we find -fopenmp under CFLAGS. Is it reasonable to assume that libmagickcore-6.q16-2:amd64 was compiled with openmp support?
Is it recommended to disable openmp if you are writing your own multi-threaded application?
Thanks so much all,
Joseph Hammerman