In Windows XP, Windows Vista, and Windows 7 applications by default run on all available cores of the processor. If you have a dual or quad core processor, then you can set affinity to an application to control which core of the processor an application can use, in this way you can assign one application or a program to use only one processor while other application can run on other processor. Although you cannot set priority to system services but you can set affinity to applications like Google Chrome, Firefox or any Anti-Virus, in this way you can achieve a good overall performance.
Press Ctrl+Alt+Delete to open Windows Task Manager, and go to the Processes tab and look up for the process name that you want to set the affinity for. If you don’t know which process is associated with which application, go to the Applications tab and right-click on the application name and select Go To Process.
In the Processes tab the specified process will be highlighted. Now right-click on the process and select Set Affinity.
In a single dual core system you’ll see CPU 0 and CPU 1, from here you can check or uncheck the core you want the application to use.
Windows Vista and Windows 7
Press Ctrl+Shift+Esc to open Windows Task Manager.
On the Processes tab, at the bottom click on Show processes from all users button.
Right click the process (application) whose processor affinity you want to change and choose Set Affinity. Now Check the CPU(s) that you want the process (application) to run on and click OK
- It is recommended NOT TO change the Process Affinity for System Processes.
- The processor affinity setting lasts as long as an application is open, when you close the application or restart the computer, the affinity returns to the default.