IIS Performance Tuning
1. Adjust the IIS cache The range of HKEY_LOCAL_MACHINE Systemcurrentcontrolsetservicesinetinfoparametersmemorycachesize Memorycachesize is from 0 4GB, The default value is 3072000 (3MB). In general, this value should be set to 10% of the server memory. IIS improves system performance by caching system handles, directory listings, and other commonly used data values. This parameter indicates the amount of memory allocated to the cache. If the value is 0, that means "no caching is done." In this case, the performance of the system may be reduced. If your server network traffic is busy, and you have enough memory space, you can consider increasing the value. It is important to note that after you modify the registry, you need to reboot for the new value to take effect.
2, do not shut down the system services: "Protected Storage" 3, the access to traffic restrictions (1) Restrictions on the number of visitors to the site
(2) Site bandwidth limits. Keep the HTTP connection.
(3) Process limit, input CPU consumption percent
4, improve the processing efficiency of IIS Application settings, the Application Protection Drop-down button, from the Drop-down list that pops up, selects the low (IIS process) option, and the efficiency of the IIS server handler can be increased by about 20%. However, this setting poses a serious security issue and is not worth recommending.
5, set the IIS server as a stand-alone server (1) Improve the hardware configuration to optimize IIS performance
Hard disk: Hard disk space is used by NT and IIS services in the following two ways: one is simply storing the data, and the other is used as virtual memory. If you use a ULTRA2 SCSI hard drive, you can significantly improve the performance of IIS
(2) The NT Server can be distributed to the paging file on multiple physical disks, note that multiple "physical disk", distributed on multiple partitions is invalid. Also, do not place the paging file in the same partition as the Windows NT boot zone
(3) Use of disk mirroring or disk stripe set can improve disk read performance
(4) It is best to store all the data in a separate partition. Then run the Disk Defragmenter on a regular basis to ensure that there is no fragmentation in the partition where the Web server data is stored. Using NTFS helps reduce fragmentation. It is recommended that you use Norton's SpeedDisk to quickly organize NTFS partitions.
6. HTTP Compression HTTP compression is a way to transfer compressed text content between a Web server and a browser. HTTP compression uses a common compression algorithm such as gzip compression html, Javas cript, or CSS files. You can set it by using Pipeboost.
7. Recycle Resources Use IIS5 recycle to recycle process resources at timed intervals.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.