Marco.org

I’m : a programmer, writer, podcaster, geek, and coffee enthusiast.

Use ImageMagick on your webservers?

This thread just solved a big convert performance bottleneck for me, in which basic image operations (resize, sharpen, etc.) would take orders of magnitude more time than with older versions of ImageMagick and would saturate multiple CPU cores for far too long.

The symptom is easy to spot: you start seeing convert sticking around at the top of top with >100% CPU usage on servers with a lot of cores (4+) when doing operations that shouldn’t take that long.

Apparently, OpenMP isn’t very good yet for many-core, high-volume usage.

Compile ImageMagick with --disable-openmp and performance skyrockets.