How To: Set Processor Affinity To An Application(Or Process) In Windows Vista/XP

In Windows XP and Windows Vista, 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.Processor Affinity is the process by which particular tasks on the computer are scheduled and accomplished. A computer’s processor (CPU) creates a queue for tasks to be performed and determines, by level of importance, which tasks should be performed first and which can be performed later. To change these settings, you must adjust your computer’s processor affinity.

If you have a dual-core processor, you may discover that certain older applications that ran fine on systems with a single core CPU have problems running with two cores. For example, your application may suddenly begin maxing out the CPU usage at 100 percent, appearing to lock up.The setting allows you to work around such problems by configuring older applications to use only one of the cores.

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.

Steps to set set affinity to applications in Windows XP

Steps to set set affinity to applications in Windows Vista

Limitations on assigning processor affinities in windows vista:

Set Processor Affinity in Windows Vista or in XP using Command Prompt.

Note:

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

Popularity: 13%

Did You Like This Post? Then You Might Find These Also Interesting:

Written by Tony on September 2nd, 2008 with 3 comments.
Read more articles on Vista Tweaks and Windows Tweaks and XP Tweaks.

Related articles

3 comments

Read the comments left by other users below, or:

Get your own gravatar by visiting gravatar.com Vipin
#1. February 20th, 2009, at 10:51 PM.

Very useful info.
Thanks.

Get your own gravatar by visiting gravatar.com seet
#2. March 31st, 2009, at 8:40 AM.

the section titled
Set Processor Affinity in Windows Vista or in XP using Command Prompt.
seems to be for IIS? can anyone verify?

Get your own gravatar by visiting gravatar.com admin
#3. March 31st, 2009, at 11:07 AM.

Yes your doubt is correct,

Adsutil.vbs is an IIS administration utility that uses Microsoft Visual Basic Scripting Edition (VBScript) with Active Directory Service Interfaces (ADSI) to manipulate the IIS configuration. This script should be run using CScript, which is installed with Windows Script Host.

The sysntax:Cscript.exe adsutil.vbs COMMAND [...]

But the original application of Adsutil.vbs is explained above and it can be used to set the affinity in a different way.

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .