We recently tuned our web application using the following IIS performance tuning , which turned out to be very successful.
Two settings defined on the server have been changed:
Using working set memory . Servers running Windows Server β’ 2003 are configured by default to give preference to the file system cache over the working set when allocating memory. Microsoft does this because Windows benefits from having a large file system cache. Because IIS runs on top of the Windows operating system, it also benefits from having a large file system cache. However, if your server is a dedicated IIS server, you can see better performance if you instead transfer the priority to the working set. The reason for this is that preference is given to the file system cache, often used code for writing to virtual memory. The next time this information is needed, something else needs to be transferred to virtual memory, and previously downloaded information must be read into physical memory before it can be used. This results in very slow processing.
Network bandwidth . By default, servers running Windows Server 2003 are configured to give preference to the file system cache over the working sets of processes when allocating memory (through the server property Maximum increase in throughput for file sharing). Although IIS 6.0-based servers benefit from the large file system cache, giving preference to the file system cache often causes the IIS 6.0 page code to be written to disk, resulting in long processing delays. To avoid these processing delays, set server properties to maximize data throughput for network applications.
The following services are not required on a dedicated web server:
- Alert
- Clipbook
- Computer browser
- DHCP Client
- DHCP server
- Fax service
- File replication
- Infrared monitor
- Internet Sharing
- Messenger
- NetMeeting Remote Desktop Sharing
- Network DDE
- Network DDE DSDM
- NWLink NetBIOS
- NWLink IPX / SPX
- Print spooler
- Netbios TCP / IP Support
- Telephony
- Telnet
- Uninterruptible power system
source share