32-bit Mode Worker Processes

  • Author: Walter Oliver
  • Published on December 01, 2007 by walterov
  • Updated on May 11, 2009 by walterov

One of the performance benefits of the x64 platform is that it increases virtual address space, making more memory available. We recommend that you configure IIS to use a 32-bit worker processes on 64-bit Windows. Not only its compatibility better than the native 64-bit, performance and memory consumption are also better.

Set the Web server to enable this globally so that you do not need to set it for each application pool. Unlike previous versions of IIS, you can now configure specific worker processes to run in 32-bit or 64-bit mode independently of each other on the same server.

To configure 32-bit mode for the server

  • Open a command prompt and run the following:

%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.enable32BitAppOnWin64:true

Note: This setting applies only to 64-bit servers.

To configure 32-bit mode for the server using the IIS PowerShell Provider

  • Open a PowerShell prompt and run the following:
set-itemproperty iis:\ -name applicationPoolDefaults.enable32BitAppOnWin64 -value true

 

Comments

Can you please confirm that your recommendation is to use 32-bit application pools?

Jul 09 2009 by lmacomber

Yes, to confirm, we recommend that you use 32-bit app pools for maximizing perf on a 64-bit system.

Dec 03 2009 by mailant

So will the 32 bit worker processes have access to more than 2G of memory on a WS08 64 bit OS?

Feb 09 2010 by deshazer

Submit a Comment

You must Log In to comment.