thanks snibgo
I try also with only one thread (i m inside an web ISAPI app)
so instead of doing :
THREAD 1
while true do
_ NewMagickWand
_ MagickReadImage
_ MagickResizeImage
_ DestroyMagickWand
end
THREAD 2
while true do
_ NewMagickWand
_ MagickReadImage
_ MagickResizeImage
_ DestroyMagickWand
end
THREAD 3
while true do
_ NewMagickWand
_ MagickReadImage
_ MagickResizeImage
_ DestroyMagickWand
end
I simply do
THREAD 1
while true do
_ NewMagickWand
_ MagickReadImage
_ MagickResizeImage
_ DestroyMagickWand
end
so only on Thread in my app is doing the block (in loop).
but i have same kind of problem, when i set MAGICK_THREAD_LIMIT from 1 to 8 only one (more or less) CPU is used and the operation is very slow.
The maximun speed is reach when i set MAGICK_THREAD_LIMIT=2
In average i have
8.5 seconds with MAGICK_THREAD_LIMIT=2,
19.1 seconds with MAGICK_THREAD_LIMIT = 8
13.5 seconds with MAGICK_THREAD_LIMIT=1
I quite complicated to understand how to configure Thread_limit
![Sad :(](./images/smilies/icon_sad.gif)