08-13-2009 10:36 AM
I am using ippAffine to align images of 5M pixel 12bit mono image. The computer is Dell Precision T3400 which use E8400 CPU Core2 Duo. The normal speed is 10-20ms for one operation in testing code. However, its speed is 10 to 20 times slower(200-500ms) in our application software, in which two threads running two Affine on each of them simultaneously. Does anyone run into this kind of problem? Your insight is appreciated.
08-13-2009 02:34 PM
I doubted if it islibrary dispatcher issue. Which Intel IPP version do you use? and how do you link with Intel IPP libraires, if you link with static library, do you link threaded vesion or non-threaded version?
New Contributor III
08-14-2009 12:42 AM
If you're using a threaded version of ipp (either DLL or static threaded), you might try ippSetNumThreads(1)
You're already doing the multithreading from the application so if ipp is trying to do it also, you get more threads than CPU cores leading to much-much overhead. I ran in this once, 100% CPU usage returned to 30% on a live stream processing...
Hope this helps.