Set process affinity

On multi-CPU systems, you can set processor affinity for a process so that its threads will run only on the CPU you specify. By default, all processes can be scheduled on any available processor. You can change the affinity settings using Procexp to optimize throughput or to partition workloads to a specific set of processors.

Simply right-click the process in the main windows and select the Set Affinity option:

In the window that opens, select the CPUs on which you would like to run the process’ threads and click OK to save the changes:

In the picture above you can see that I’ve restricted the process to CPUs 2 and 3.

Geek University 2022