Page 1 of 1

My 15 minute command

Posted: 2009-10-22T21:07:11-07:00
by mattalexx
This command just took 15 minutes to complete. Why? I don't have the speediest of dev servers but 15 minutes seems a little high.

Here's the command

Code: Select all

convert -debug "All" input.jpg -resize 420x420\> output.jpg
Here's a link to the source image
http://files.mattalexander.me/misc/input.jpg (6.3 MB)

Here's the debug output
http://files.mattalexander.me/misc/debug_output.txt

Here's the version

Code: Select all

mattserver ~: convert -version
Version: ImageMagick 6.4.5 2009-06-04 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
Thanks for your attention

Re: My 15 minute command

Posted: 2009-10-23T05:33:30-07:00
by magick
Try rebuilding ImageMagick without OpenMP support. There are a few buggy implementations of libgomp that slows down ImageMagick rather than speed it up. We're using ImageMagick 6.5.7-0 and your command completed in 2 seconds.

Re: My 15 minute command

Posted: 2009-10-23T16:21:10-07:00
by mattalexx
Could you point me towards a good tutorial about how to rebuild IM?

Also, if I do that, doesn't my package manager lose track of it?

Thanks,

Re: My 15 minute command

Posted: 2009-10-23T18:40:44-07:00
by magick