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.