I use IM to convert jpeg about six month ago, but convert become slow lately.
I don't know why, and I found goole or anything cannot give me any answer...anyone can help me??
environment:ImageMagick-6.6.9-5,httpd-2.2.10, php-5.2.6
Code: Select all
./configure --disable-openmp --without-x
Code: Select all
bash-3.00$ time convert -size 480x640 IMG_0123.JPG -fill '#00cc33' -pointsize 96 -font 8.ttf -draw "text 20,146' www.xxx.com '" -resize 480x640 -quality 80% ok.jpg
real 0m2.239s
user 0m2.113s
sys 0m0.118s
Code: Select all
bash-3.00$ time convert -resize 480x640 IMG_0123.JPG ok.jpg
real 0m2.794s
user 0m2.662s
sys 0m0.125s
Code: Select all
bash-3.00$ identify -list resource
File Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
768 3.1499GB 11.734GiB 23.469GiB unlimited 1 unlimited
Code: Select all
bash-3.00$ /usr/local/bin/convert --version
Version: ImageMagick 6.6.9-5 2011-04-15 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features:
Code: Select all
18:53:47 up 3 days, 17:16, 1 user, load average: 0.55, 0.61, 0.60
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 xxx.xxx.xxx.xxx 18:36 0.00s 0.07s 0.01s w
bash-3.00$ free
total used free shared buffers cached
Mem: 12304440 12002036 302404 0 389616 6950916
-/+ buffers/cache: 4661504 7642936
Swap: 1052248 160 1052088