or CPU Pinning
enables the binding and un-binding of a process
to a physical CPU or a range of CPUs, so that the process or thread in question will run only on the CPU or range of CPUs in question, rather than being able to run on any CPU
By default, Windows runs an application on all available cores of the processor. If you have a multi-core processor, then this tutorial will show you how to set the processor affinity
of an application to control which core(s) of the processor the application will run on.
If the application and CPU supports Symmetric Multiprocessing (SMP)
or HyperThreading (HT)
, then Windows will automatically adjust the application's usage of each processor core for the best performance. You will not gain much, if anything, from manually changing the processor affinity for these type of applications.
If you have more then one processor intensive applications running, then you could improve their performance by setting the processor affinity of their processes to run on a different core(s). This way they are not competing for the resources of the same core(s).
This tutorial will show you how to create a shortcut
that will always run an application
with a set CPU affinity
by default in XP, Vista, Windows 7, and Windows 8.