HOW TO: Tune Basic Performance Parameters after a UNIX-to-Windows Migration (324093)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Small Business Server 2000
- Microsoft Internet Information Services 5.0
This article was previously published under Q324093 SUMMARY
This article describes how to translate Apache performance controls to Internet Information Services (IIS) and how to take advantage of IIS-specific performance tuning parameters.
back to the top
Set Client Connection Limits
If you are using Apache, you can use the MaxClients directive to control the maximum number of simultaneous connections that are supported for the whole server, regardless of the number of sites that are being served by the Apache server. You can fine tune certain parameters, such as the minimum and maximum number of server processes and the number of threads (if you are using the threaded model). If you are using IIS, you can control the maximum number of simultaneous client connections for each specific Web site.
To set the maximum number of client connections:
- Log on to the Web server computer as an administrator.
- Click Start, point to Settings, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Internet Services Manager.
- Right-click the Web site that you want to configure, and then click Properties.
- Click the Web site tab.
- If you want to support an unlimited number of connections, click Unlimited.
NOTE: The number of connections is limited only by CPU or random access memory (RAM) limitations. - To set a specific number of connections, click Limited To, and then type the number of connections that you want the server to support (the default setting is 1000).
- Click OK.
back to the top
Set Performance Parameters
If you use Apache, there is no simple method to "throttle" or limit the resources that are used by a single Web site. All of the Web sites on the server are given the same resources and priority, even if some of the Web sites are not used frequently or have a low priority. If you use IIS, you can control the overall performance based on the number of pages served each day, the network bandwidth that is available for the site, or the CPU time that is available for serving the site.
To set these parameters:
- Log on to the Web server computer as an administrator.
- Click Start, point to Settings, and then click Control Panel.
- Double-click Administrative Tools, and then double-click Internet Services Manager.
- Right-click the Web site that you want to configure in the left pane, and then click Properties.
- Click the Performance tab.
- Move the slider to the approximate number of pages you expect to serve each day.
- To limit the bandwidth (transfer rate) for the Web site, click Enable Bandwidth Throttling, and then type a value for the maximum rate.
- To limit the CPU usage for a site, click Enable Process Throttling.
- If your Web site exceeds these values, an entry is logged to the Event Log. To enforce the limits so that processes are ended or new connections are refused until the current load is reduced, click Enforce Limits.
- Click OK.
back to the top
REFERENCESFor additional information about testing and performance tuning after migrating from UNIX to Windows, click the article number below
to view the article in the Microsoft Knowledge Base:
324217 HOW TO: Test and Performance Tune After a UNIX-to-Windows Migration
back to the top
Modification Type: | Major | Last Reviewed: | 6/25/2004 |
---|
Keywords: | kbhowto kbHOWTOmaster KB324093 kbAudITPro |
---|
|