The information in this article applies to:
SUMMARY
All versions of LAN Manager earlier than version 2.1 provide user
configurable server tuning. Tuning requires knowledge of the structure
of the LANMAN.INI file so the system administrator can edit the file.
Furthermore, knowledge of the OS/2 operating system is required in
order to optimize performance. Finally, resource requirements must be
understood and taken into account for effective operation. If these
steps are not taken, a LAN Manager server may operate poorly and may
not provide users with adequate resources.
autotuning and part 2 MORE INFORMATIONServer Tuning DefinedThere are four categories of server tuning required of a network server:
PurposeAutotuning has been incorporated into LAN Manager to assure that LAN Manager servers can be easily installed, configured, and operated effectively. Performance autotuning allows the server to adjust its variables and server startup parameters to be as fast as possible. Resource autotuning means that the server tries to adjust its global variables and server startup values to satisfy client request. However, the server does not take more resources than it needs.By hiding parameters and removing those parameters that can be autotuned, the LANMAN.INI file has been made much shorter to simplify configuration and tuning. How Autotuning Is DoneVirtually all of the server autotuning performed is resource tuning, and most of the tuning is performed statically, as listed below. In other words, changes are made to server parameters during server startup. If a parameter value is exceeded during ordinary server operation, the server notes this fact statistically in server memory and increments a counter. In the same manner, the counter is decremented if the parameter is not used. Upon server shutdown, the tuning configuration file is updated. The file is also updated every hour after the server has been in operation for 48 hours. These statistics are implemented dynamically or statically, depending on the "lanman" parameter.In the \LANMAN\SERVICES\SERVER.CFG file, "Old server settings" contains the settings used during server startup. "New server settings" contains server best values for the next startup. Note: This file can be viewed by running \LANMAN\SERVICES\READCFG. Do not attempt to change the file using an editor--it is formatted and contains a CRC parity check. If for any reason the file is modified or damaged, CRC will fail server startup. As a result, if the file is modified, damaged, or lost, it will be re-created. LANMAN.INI and PROTOCOL.INI are text files that can be edited using a text editor such as the OS/2 editor E. Before editing any file, always make a backup copy of the original. Also, customized parameter changes may be overwritten by Setup with default settings if Setup is run sometime in the future. Upon server startup, parameters will be set using the following methods, in order of precedence:
Dynamic Resource AutotuningThe server automatically modifies these hidden parameters during server operation. When the server statistics note that one of these parameters has been exceeded, the server implements the newly incremented value for the parameter. To conserve memory used by the server, these parameters are decremented when they are not used. Current parameter values are saved to the SERVER.CFG file upon server shutdown as well as once every hour after the server has operated for 48 hours.Note: Do not attempt to set these parameters in the LANMAN.INI file or the server will not start. As of version 2.1, these parameters have been removed from LANMAN.INI because no user modification is necessary.
Static Resource AutotuningThis group of parameters consists of hidden tuned parameters. The server will monitor statistics regarding the usage of these parameters and will save suggested startup values for these parameters. They are set only during server startup. Based on the collected statistics, the server will save suggested best values in SERVER.CFG. Users can specify these parameters in LANMAN.INI and on the command line to override current server settings.
Static Performance AutotuningThese parameters are automatically set by the server for optimum performance because they are stored during ordinary operation in the \LANMAN\SERVICES\SERVER.CFG file. However, the only time they are set is during the server startup. Based on the collected statistics, the server will save suggested best values. Cache hit rates should remain high during optimal server operation. Use CACHE /STATS to verify this. If the cache hit rate decreases, server system RAM may need to be increased so that more cache memory can be reserved.
Displayed Untuned ParametersThese parameters are present in LANMAN.INI as a result of the installation process:
Hidden Untuned ParametersUnder LAN Manager 2.1, these parameters are not listed in LANMAN.INI. As a result, LANMAN.INI for LAN Manager 2.1 has been simplified. They are not tuned in any way by the server; however, NET ADMIN can be used to set them. They also can be set by editing LANMAN.INI using a text editor.
Additional query words: 2.10 2.10a 2.20
Keywords : |
Last Reviewed: November 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |