Unexpected behavior while using IPP with sample application

Unexpected behavior while using IPP with sample application

I am new to IPP and am trying to compile one of the sample applications that are freely available to the users, the string processing (pattern matching) application available at:


My machine has an intel CORE i3 processor - 2 cores and 2 threads for each core. I am using a relatively large file as an input to the pattern matching applicaton for test purposes. What baffles me is that the code runs faster when I have only one logical processor active vs 4 processors (those are the only situations I ran the test under). The way I disable cores is by using msconfig.exe. Could somebody please tell me why this is happening?

The OS is Windows 7 and code is compiled using Intel Parallel Studio 2011.

3 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

Hi Mohammad

I supposed you are checking the ippgrep sample, right?
You may know that not all IPP functions and IPP sample are multi-threaded. As most of ipp string porcessing functions are not threaded and IPP grep sample is not threaded. So there is no much different when run it with 1 or 2 or 4 threading.

You may check a list of the threaded primitives in the IPP library is provided in the ThreadedFunctionsList.txt file located in the library’s doc directory
and the article talking about IPP and threading : http://software.intel.com/en-us/articles/openmp-and-the-intel-ipp-library/

Best Regards,

I'd like to add that a list of threaded IPP functions ThreadedFunctionsList.txt is located in a folder:

[ ICCInstallDir ]\Composer XE\Documentation\en_US\Ipp

If you don't have that file please let me know and I'll upload it for you.

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui