IIS performance optimization Server

Source: Internet
Author: User

IIS Performance Optimization
1. Adjust IIS Cache
HKEY_LOCAL_MACHINE SystemCurrentControlSetServicesInetInfoParametersMemoryCacheSize the range of MemoryCacheSize is from 0 to 4 GB. The default value is 3072000 (3 MB ). Generally, this value should be at least 10% of the server memory. IIS improves system performance by using the cache system handle, directory list, and other common data values. This parameter specifies the memory size allocated to the cache. If the value is 0, it means "no cache is performed ". In this case, the system performance may be reduced. If your server is busy with network communication and has enough memory, you can increase the value. Note that after you modify the registry, you must restart the Registry to make the new value take effect.
2. Do not close the system service: "Protected Storage"
3. Restrict Access traffic
(1) restrict the number of visitors to the site
(2) site bandwidth limit. Keep the HTTP connection.
(3) process restrictions, percentage of CPU consumption Input
4. Improve IIS processing efficiency
The "application protection" drop-down button in the "application settings" area. Select the "low (IIS Process)" option from the displayed drop-down list, the efficiency of IIS server processing programs can be improved by about 20%. However, this setting may cause serious security issues and is not recommended.
5. Set the IIS server as an independent server
(1) improve hardware configuration to optimize IIS Performance
Hard Disk: the hard disk space is used by NT and IIS in two ways: one is to simply store data, and the other is to use as virtual memory. If the SCSI hard disk of Ultra2 is used, the IIS performance can be significantly improved.
(2) You can distribute the Page Swap files of the NT Server to multiple physical disks. Note that multiple "physical disks" are not valid when distributed across multiple partitions. In addition, do not place Page Swap files in the same partition as the WIndows NT boot Zone
(3) using a disk image or a disk zone set can improve the disk read performance
(4) It is best to store all the data in a separate partition. Then, run the disk fragment program regularly to ensure that no fragments exist in the partition where the Web server data is stored. Using NTFS helps reduce fragments. We recommend that you use the Speeddisk of Norton to quickly sort NTFS partitions.
6. Start with HTTP Compression
HTTP compression is used to transfer compressed text content between Web servers and browsers. HTTP compression uses common compression algorithms such as gzip to compress HTML, Javas files, or CSS files. You can use pipeboost for configuration.
7. Recovery of initial resources
Use IIS5 Recycle to regularly Recycle Process resources.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.