Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top