Optimize IIS server performance in server configuration

Source: Internet
Author: User

We know that the IIS server is a simple and troublesome guy. Simply, there is almost no need to worry about installing it. You can select the path and click "Next". The configuration is also relatively simple, as long as you have some NT and network knowledge, follow the instructions to build a decent Web site.

However, managing IIS servers is not as simple as you think. After a period of use, administrators often encounter poor server performance. At this time, the performance optimization of the IIS server is on the agenda.

There are two reasons for poor IIS server service performance. One is artificial, that is, the Administrator has not optimized or configured the IIS server during installation or configuration.

The other is objective. As the service type and number of visitors increase, the original hardware configuration of the server cannot meet the requirements. Therefore, the hardware configuration needs to be improved.

Optimize IIS server performance in server configuration

1. IIS server high-speed cache is one of the most important items to consider when optimizing the IIS server. The server retains a portion of the memory space used as the high-speed cache of the IIS server to store future request objects. This way, the IIS server can retrieve objects from the cache instead of from the hard disk. To adjust the cache capacity of the IIS server, you need to modify the registry. The table items are as follows:
 

 
 
  1. \HKEY_LOCAL_MACHINE   
  2. \System   
  3. \CurrentControlSet   
  4. \Services   
  5. \InetInfo   
  6. \Parameters   
  7. \MemoryCacheSize  


MemoryCacheSize ranges from 0 to 4 GB, and the default value is 30720003 MB ).

The IIS server improves system performance by Caching System handles, directory lists, 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. Make the IIS server use the processor for the longest time. The CPU processor capability of the server is always limited. Which application occupies the longest processor for the maximum performance improvement.

1) on the NT control panel, double-click the System icon.

2) Click the performance tab.

3) drag the cursor to the None position under the application's procedural ability, so that all running services, including the IIS server, can use the processor to reach the maximum time.

3. Set IIS server properties. There is an option in the server attribute that maximizes the total processing capability of network applications. Of course you should choose it.

(1) Right-click the network neighbor icon on the desktop and select Properties.

(2) Click "service tag ".

(3) Click "server" and then press "properties ".

(4) select to maximize the total processing capability of network applications. Click OK ."

We will explain how to configure and optimize IIS server performance.
 

Related Article

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.