Hi all,
I am trying to configure imagemagick on windows to use a predefined number of threads. I see inside the policy.xml file there is a tag: <policy domain="resource" name="thread" value="4"/> , I have adjusted this tag to the number of threads I wish to use but it doesn't seem to be taking effect. Is there another configuration somewhere I am missing? This is on a Windows server 2008 R2 machine. Imagemagick version is 6.8.0-Q16
Cheers
adjusting number of cpu threads to be used
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: adjusting number of cpu threads to be used
I've never played with that, but I suppose it sets the maximum number of threads to use. Is that how you are using it? How are you testing the number of threads created?
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: adjusting number of cpu threads to be used
Do you have OpenMP enabled in your compilation?
convert -version
will list that for current versions of IM.
Also see
viewtopic.php?f=2&t=20756&p=83407&hilit=thread#p83407
http://www.imagemagick.org/script/resou ... nvironment
http://www.imagemagick.org/script/comma ... .php#limit
http://www.imagemagick.org/script/archi ... hp#threads
convert -version
will list that for current versions of IM.
Also see
viewtopic.php?f=2&t=20756&p=83407&hilit=thread#p83407
http://www.imagemagick.org/script/resou ... nvironment
http://www.imagemagick.org/script/comma ... .php#limit
http://www.imagemagick.org/script/archi ... hp#threads