I need to test performance of a multithreaded program on 1 CPU, but I have a dual CPU machine. I need to set affinity to those logical CPU's, that share their socket, oterwise they strongly benefit ...
In Windows, it is possible to make a program run on any number of cores in a multicore processor. It can be set in the Task Manager GUI. Likewise, Is it possible to set the process affinity in Linux, ...