adjusting number of cpu threads to be used

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
expo_bold
Posts: 1
Joined: 2014-12-19T10:22:27-07:00
Authentication code: 6789

adjusting number of cpu threads to be used

Post by expo_bold »

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
snibgo
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

Post by snibgo »

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
User avatar
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

Post by fmw42 »

Post Reply