Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Windows vs. Linux performance

pvonkaenel
New Contributor III
3,185 Views

Hi,

We've started porting our video processing pipeline from Windows to Linux and we're seeing that many of the Linux IPP routines are slower than the Windows version.  In particular the resizers such asippiResizeFilter_8u_C1R() using theippResizeFilterLanczosfilter option.

General question: is it expected that the Linux IPP routines perform the same as the Windows equivalets?

Note that I've performed the timing test on two identical HW platforms which have dual Xeon X5680 3.33GHz CPUs.

Thanks,

Peter

0 Kudos
21 Replies
SergeyKostrov
Valued Contributor II
303 Views
>>...One thing I've noticed (at least under Windows), is that if you have a lot of other things happening in between the IPP call, >>you can get some IPP slowdown... That is why I recommended to boost a priority of a test process during tests. But, be carefull when an IPP function uses OpenMP threads because they are executed at 'Normal' priorities. If you boost a priority of your main thread to 'High' or 'Real-Time' then IPP OpenMP threads will be preempted and your test will work slower. So, you need to disable OpenMP threads for IPP functions. Here is an example of boosting a priority of a thread for a Windows platform: ... ::SetThreadPriority( ::GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL ); uiTicksStart = SysGetTickCount(); //... // Some processing //... uiTicksEnd = SysGetTickCount(); ::SetThreadPriority( ::GetCurrentThread(), THREAD_PRIORITY_NORMAL ); ...
0 Kudos
Reply