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:
- \HKEY_LOCAL_MACHINE
- \System
- \CurrentControlSet
- \Services
- \InetInfo
- \Parameters
- \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.