SMS: SMS: Memory Performance Tuning in Systems Management Server

ID: Q121682


The information in this article applies to:

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

SUMMARY

This article addresses how you can set, and how Systems Management Server will set, the Working Set for Systems Management Server processes.

The Working Set of a process is the set of memory pages currently visible to the process in physical RAM. These pages are resident and available for an application to use without triggering a page fault. The size of the Working Set of a process is specified in bytes. The minimum and maximum Working Set sizes affect the virtual memory paging behavior of a process.

The Systems Management Server Executive service is the most resource intensive process in Systems Management Server. The settings described in this article are for the Systems Management Server Executive process. Although the settings differ, the information in this article can also be applied to other Systems Management Server processes such as the Hierarchy Manager, Site Configuration Manager, Package Command Manager, and Inventory Agent.


MORE INFORMATION

The operating system allocates Working Set sizes on a first-come, first-served basis. For example, if an application successfully sets 40 MB as its minimum Working Set size on a 64-MB system, and a second application requests a 40-MB Working Set size, the operating system denies the second application's request.

Using this capability to set an application's Working Set size does not guarantee that the requested memory will be reserved, or that it will remain resident at all times. When the application is idle, or a low-memory situation causes a demand for memory, the operating system can reduce the application's Working Set.

The net result of establishing an appropriate Working Set for a process is that whenever the system can allow it, a [WorkingSet] amount of the process' data will be resident in physical memory for greater speed.

To Manually Set the SMS Executive Working Set

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).


In the Registry Editor, traverse to the following key:

   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Components\SMS_Executive 
And set this value appropriately (in bytes):

   Working Set Limit (DWORD) 
The default value is zero. If you do not set this value, the Systems Management Server Executive will auto-tune the amount based on the table below.

In situations where a great deal of RAM is available (40 MB or more), this should be set to at least 6 MB (600000 hex). For systems at the low end, the value should be about 4 MB. There is no upper limit to the value you can set here, but it should seldom be greater than 7 MB.

You cannot use values less than 2 MB or the Systems Management Server Executive will set the Working Set back to the auto-tuned value. After you change the value, you must restart the Systems Management Server Executive. If you do not override the Systems Management Server Executive Working Set size, it will automatically self-scale depending on the amount of physical RAM available.

Resetting the Working Set may still be necessary, because having many other processes running could still render these figures invalid.

The defaults are:

Physical RAM Working Set
28 MB or less 3.5 MB
29-33 MB 4.5 MB
33-41 MB 5.5 MB
More than 41 MB 6.5 MB


Tuning the parameters discussed in this article will not affect the amount of memory resource used by Systems Management Server; rather it will only modify how the available memory resources are used in an attempt to keep them resident as opposed to paged out to disk.

Additional query words: prodsms config


Keywords          : kbnetwork kbSMS100 kbSMS110 kbInventory kbHMan smssiteconfigman 
Version           : winnt:1.0,1.1
Platform          : winnt 
Issue type        : kbinfo 

Last Reviewed: June 3, 1999