Question

I have read the processor affinity section of the application pool in technet and got somewhat confused.

I have a quad core azure server for testing. I would like to set an application pool to one of the cores as its a naughty service that gobbles up CPU resource.

How do i work out the value to put in the affinity field on IIS 7/Windows2008r2?

Was it helpful?

Solution

It is a bit field, where each bit corresponds to one processor, starting with least significant bit.

If you want the affinity to just one of your four processor, set the value to either 1, 2, 4 or 8. For affinity to more processors, add these values together as needed.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top