Hi!
I had ImageMagick 6.6.3-9 2010-08-22 Q16 running fine on my Win 2003 server with Apache 2.20 and PHP 5.xx, but on my new virtualized Win 2008 server the same ImageMagick, or some never-ones work, but awfully slow. Same PDF takes about 30 seconds to convert to thumb-image, as on my earlier server the same on took about 5 secs.! Is there anything to be done? I read in google, that the openmp-support might be the problem on virtualized servers, but how to get a non-openmp package on windows? Or is the performance issue something else? Thanks!
Imagick slow on Windows 2008
-
- Posts: 3
- Joined: 2012-04-08T23:02:59-07:00
- Authentication code: 8675308
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Imagick slow on Windows 2008
More likely you are having threading problems with two many threads, or not enough virtual CPU's.
See architure document for thread handling options.
http://imagemagick.org/script/architecture.php#threads
See architure document for thread handling options.
http://imagemagick.org/script/architecture.php#threads
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
-
- Posts: 3
- Joined: 2012-04-08T23:02:59-07:00
- Authentication code: 8675308
Re: Imagick slow on Windows 2008
Thank you for your answer. I tried increasing the amount of virtual CPU's to 4, but the load for httpd.exe was 25 during the generating-process and the time used in generating decreased only 3 seconds, to 27. And normally the time has been about 5-10 secs. So it's not the CPU-issue. Anything else to be done? Any suggestions are really welcome and appreciated!
-
- Posts: 3
- Joined: 2012-04-08T23:02:59-07:00
- Authentication code: 8675308
Re: Imagick slow on Windows 2008
BTW, I came to conclusion, that it is the OpenMP that might be causing this slowlyness. Is there a way to disable OpenMP on Windows, or are there any pre-compiled installer-packages for Windows without OpenMP?
Thanks!
Thanks!
Re: Imagick slow on Windows 2008
Set the threads resource limit to 1 to run ImageMagick algorithms in only one thread. For example, use -limit thread 1 on the command line.