I have a 24 cores/ 48 GB RAM server machine on which I want to set processor affinity for worker process to last 12 cores through IIS Advance settings, is there any formula, i don't want to set affinity through task manager as this pool is recycled quite often.
Formula for Processor Affinity Mask (IIS)
central-processing-unitiis-7.5windows-server-2008-r2
Related Topic
- IIS – How to Prevent IIS from Recycling Applications
- IIS 7 AppPool logs an error after recycle due to inactivity
- Windows Server 2008 R2 CPU usage and Physical CPU
- Bad IIS 7.5 performance on webserver
- Windows – IIS 7.5 – Disable Overlapped Recycle property not being obeyed when web.config is updated
- Configure IIS 7.5 website to never shut down
- Numbering scheme for CPU affinity
- Iis – Why does IIS recycle the application pool every 15 minutes
Best Answer
http://www.iis.net/configreference/system.applicationhost/applicationpools/add/cpu
First, set smpAffinitized to true.
Processor identification goes from right to left. Starts at processor 0. To set the affinity to the last 12 processors:
Then you convert that to hex: