[Pkg-gmagick-im-team] Bug#638409: imagemagick: operations are extremely slow due to openmp

Simon Kuhn simon at zombe.es
Fri Aug 19 06:30:46 UTC 2011


Package: imagemagick
Version: 6.6.0.4-3
Severity: important


Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Simon Kuhn <simon at zombe.es>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: imagemagick: large performance degradation when compiled with openmp support
Message-ID: <20110819062606.9978.4587.reportbug at p23.polyvore.com>
X-Mailer: reportbug 4.12.6
Date: Thu, 18 Aug 2011 23:26:06 -0700

Package: imagemagick
Version: 8:6.6.0.4-3
Severity: important


When compiled with OpenMP support (which is the default), and the libgomp available
in Squeeze (among others), ImageMagick will process some operations extremely slowly.
This is most noticable when many ImageMagick operations are run in parallel,
such as when used as part of a web service. A reasonable number of ImageMagick processes
appear to block each other from executing, and result in astronomically high
system load and CPU utilization.

Adding '--disable-openmp' to the end of the configure parameters when building
bypasses the issue completely. I do not think that there is a relevant patch in
later versions of ImageMagick, although it is supposedly working properly
with newer libgomp versions.

This issue has been noted on numerous threads on the ImageMagick forum and elsewhere,
for instance:

  http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=14307&start=0
  http://dlcware.blogspot.com/2010/12/imagemagick-openmp-and-really-bad.html


-- System Information:
Debian Release: 6.0.2
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages imagemagick depends on:
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.4.2-2.1        FreeType 2 font engine, shared lib
ii  libglib2.0-0            2.24.2-1         The GLib library of C routines
ii  libice6                 2:1.0.6-2        X11 Inter-Client Exchange library
ii  libjpeg62               6b1-1            The Independent JPEG Group's JPEG 
ii  liblcms1                1.18.dfsg-1.2+b3 Color management library
ii  liblqr-1-0              0.4.1-1          converts plain array images into m
ii  libltdl7                2.2.6b-2         A system independent dlopen wrappe
ii  libmagickcore4          8:6.6.0.4-3      low-level image manipulation libra
ii  libmagickwand4          8:6.6.0.4-3      image manipulation library
ii  libsm6                  2:1.1.1-1        X11 Session Management library
ii  libtiff4                3.9.4-5+squeeze3 Tag Image File Format (TIFF) libra
ii  libx11-6                2:1.3.3-4        X11 client-side library
ii  libxext6                2:1.1.2-1        X11 miscellaneous extension librar
ii  libxt6                  1:1.0.7-1        X11 toolkit intrinsics library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages imagemagick recommends:
ii  ghostscript               8.71~dfsg2-9   The GPL Ghostscript PostScript/PDF
ii  libmagickcore4-extra      8:6.6.0.4-3    low-level image manipulation libra
ii  netpbm                    2:10.0-12.2+b1 Graphics conversion tools between 
ii  ufraw-batch               0.16-3+b1      batch importer for raw camera imag

Versions of packages imagemagick suggests:
pn  autotrace                     <none>     (no description available)
pn  cups-bsd | lpr | lprng        <none>     (no description available)
ii  curl                          7.21.0-2   Get a file from an HTTP, HTTPS or 
pn  enscript                      <none>     (no description available)
pn  ffmpeg                        <none>     (no description available)
pn  gimp                          <none>     (no description available)
pn  gnuplot                       <none>     (no description available)
pn  grads                         <none>     (no description available)
ii  groff-base                    1.20.1-10  GNU troff text-formatting system (
pn  hp2xx                         <none>     (no description available)
pn  html2ps                       <none>     (no description available)
pn  imagemagick-doc               <none>     (no description available)
pn  libwmf-bin                    <none>     (no description available)
pn  mplayer                       <none>     (no description available)
pn  povray                        <none>     (no description available)
pn  radiance                      <none>     (no description available)
pn  sane-utils                    <none>     (no description available)
pn  texlive-base-bin              <none>     (no description available)
pn  transfig                      <none>     (no description available)
pn  xdg-utils                     <none>     (no description available)

-- no debconf information

-- System Information:
Debian Release: 6.0.2
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Pkg-gmagick-im-team mailing list