How to restrict ASP.NET to specific processors in a multiprocessor system

J

Juan T. Llibre

If the WebGarden property is set to false, the CpuMask
attribute is ignored and only one worker process runs :

<processModel enable="true" webGarden="false" />
 
D

Damien

bonse said:
According to reference
http://support.microsoft.com/default.aspx?scid=kb;en-us;815156 , I added
<processModel enable="true" webGarden="true" cpuMask="8" /> on web.config,
restart iis service, the w3wp.exe process always use all cpu. The iis server
is windows 2003 iis6, how can i restrict ASP.NET to specific processors in a
multiprocessor system?

in machine.config, it states the processModel is ignored in it and the
settings are taken from IIS. Don't know if the same is true in
web.config? I've taken a quick look through the IIS Manager, but cannot
see anywhere to set processor afinity (but you can throttle total CPU
usage)

Damien
 
J

Juan T. Llibre

rer:
I've taken a quick look through the IIS Manager,
but cannot see anywhere to set processor afinity

If you're using IIS 6, right-click "Application Pools" in the IIS Manager.
Select "Properties", and then the "Performance" tab.

There, you can set the number of processors enabled in a webGarden.

But, as mentioned, simply setting webGarden to "false"
in machine.config will do that for you at the machine level.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top