Thumbnail creation taking 20 - 40 seconds
Posted: 2012-02-20T18:33:01-07:00
Hey all,
I'm creating thumbnails of photos taken with my 5MP digital camera, however it's taking anywhere from 20 to 40 seconds to create each thumbnail. Can anyone point me toward where the bottleneck might be?
CPU: Core 2 Duo E6300 (1.86GHz)
RAM: 4GB
# uname -a
SunOS server 5.11 snv_151a i86pc i386 i86pc
Compiled version 6.7.5-6 Q16 today
# /usr/local/imagemagick/bin/convert -version
Version: ImageMagick 6.7.5-6 2012-02-21 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features:
Resources
# /usr/local/imagemagick/bin/convert -list resource
File Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
192 8.4341GB 3.9274GiB 7.8549GiB unlimited 1 unlimited
001.jpg is 5MP @ 100% quality, 002.jpg is 5MP @ 50% quality
# ls -l
-rw-r----- 1 craig user 2092528 Feb 21 11:49 001.jpg
-rw-r----- 1 craig user 770605 Mar 8 2011 002.jpg
001.jpg > jpg
# time /usr/local/imagemagick/bin/convert 001.jpg -thumbnail 128x128 tn_001.jpg
real 0m36.374s
user 0m36.218s
sys 0m0.095s
002.jpg > jpg
# time /usr/local/imagemagick/bin/convert 002.jpg -thumbnail 128x128 tn_002.jpg
real 0m24.587s
user 0m24.465s
sys 0m0.088s
002.jpg > png
# time /usr/local/imagemagick/bin/convert 002.jpg -thumbnail 128x128 tn_002.png
real 0m24.583s
user 0m24.468s
sys 0m0.086s
Older version installed too, same performance results
# /usr/bin/convert -version
Version: ImageMagick 6.3.4 10/12/10 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
Cheers
Craig
I'm creating thumbnails of photos taken with my 5MP digital camera, however it's taking anywhere from 20 to 40 seconds to create each thumbnail. Can anyone point me toward where the bottleneck might be?
CPU: Core 2 Duo E6300 (1.86GHz)
RAM: 4GB
# uname -a
SunOS server 5.11 snv_151a i86pc i386 i86pc
Compiled version 6.7.5-6 Q16 today
# /usr/local/imagemagick/bin/convert -version
Version: ImageMagick 6.7.5-6 2012-02-21 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features:
Resources
# /usr/local/imagemagick/bin/convert -list resource
File Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
192 8.4341GB 3.9274GiB 7.8549GiB unlimited 1 unlimited
001.jpg is 5MP @ 100% quality, 002.jpg is 5MP @ 50% quality
# ls -l
-rw-r----- 1 craig user 2092528 Feb 21 11:49 001.jpg
-rw-r----- 1 craig user 770605 Mar 8 2011 002.jpg
001.jpg > jpg
# time /usr/local/imagemagick/bin/convert 001.jpg -thumbnail 128x128 tn_001.jpg
real 0m36.374s
user 0m36.218s
sys 0m0.095s
002.jpg > jpg
# time /usr/local/imagemagick/bin/convert 002.jpg -thumbnail 128x128 tn_002.jpg
real 0m24.587s
user 0m24.465s
sys 0m0.088s
002.jpg > png
# time /usr/local/imagemagick/bin/convert 002.jpg -thumbnail 128x128 tn_002.png
real 0m24.583s
user 0m24.468s
sys 0m0.086s
Older version installed too, same performance results
# /usr/bin/convert -version
Version: ImageMagick 6.3.4 10/12/10 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
Cheers
Craig