Imagemagick only uses one core

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
horen
Posts: 5
Joined: 2013-07-03T08:53:21-07:00
Authentication code: 6789

Imagemagick only uses one core

Post by horen »

I am running an Ubuntu server with 8 cores. However imagemagick always only uses 1 single core.
Running `identify -version` returns:

Code: Select all

Version: ImageMagick 6.6.9-7 2012-08-17 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP
So OpenMP which is apparently needed for multi threading is enabled.

Running a benchmark with -bench option (e.g. convert logo: -resize 500% -bench 10 logo.png) as described here: http://stackoverflow.com/questions/1172 ... erformance returns

Code: Select all

Performance: 10i 1.17647ips 14.390u 0.14166666666833332977:08.500
It does however not return Performance[1] through Performance[8] as described in the manual: http://docs.snake.de/ImageMagick/www/parallel.html which makes me wonder.

Any ideas how I can get imagemagick to use all 8 cores?
Post Reply