Incredibly slow conversion
Posted: 2010-10-19T03:24:59-07:00
I just installed imagemagick on Ubuntu Linux (Kernel: 2.6.18-028stab070.2, x86_64 GNU/Linux)
Now a resize of a small GIF file takes nearly 25 seconds:
The image is a GIF with 33 kB. The same problem occurs with other source files and target formats. The machine has lots of free RAM:
When running convert the average processor load rises from under 0.05 to above 10.
What can I do about this performance problem? I have been using convert on several installations for some years now but never encountered such a poor performance with it.
Code: Select all
Version: ImageMagick 6.5.7-8 2009-11-26 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Features: OpenMP
Code: Select all
time convert -resize 100x100 01.gif xx.gif
real 0m24.808s
user 0m9.636s
sys 0m0.116s
Code: Select all
free
total used free shared buffers cached
Mem: 109036776 123604 108913172 0 0 0
-/+ buffers/cache: 123604 108913172
Swap: 0 0 0
What can I do about this performance problem? I have been using convert on several installations for some years now but never encountered such a poor performance with it.