Microsoft KB Archive/264075

= Description of MTA tuning when Exchange 5.5 coexists with Exchange 2000 Server or with Exchange Server 2003 =

Article ID: 264075

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition
 * Microsoft Exchange 2000 Server Standard Edition
 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition

-



This article was previously published under Q264075





Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
Administrators may notice a slight performance degradation in Microsoft Exchange 2000 Server and Microsoft Exchange Server 2003 in comparison to Microsoft Exchange Server 5.5, particularly when the Microsoft Exchange Message Transfer Agent (MTA) Stacks service is used to send and receive mail. This article describes some of the performance tuning techniques recommended when you are deploying Exchange 2000 Server or later in a mixed environment.



MORE INFORMATION
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. Exchange 2000 Server and later do not include the Performance Optimizer (Perfwiz.exe). Instead, it relies on its various components to dynamically tune itself. In some cases, this does not yet hold true, as in the case of mailflow through the MTA.

There are two separate registry changes required, one for increasing the number of gateway threads for each Mailbox store, and one for increasing the maximum number of remote procedure calls (RPCs) in the MTA to accommodate the first increase. The following is an explanation of the registry keys that are mentioned in this article:
 * The  registry key defines the number of threads that are available for retrieving messages from the MTA process to the Store.exe process.
 * The  registry key defines the number of threads that are available for sending messages from the Store.exe process to the MTA process.
 * The  registry key defines the maximum number of remote procedure call (RPC) threads. This value limits the maximum number of RPC procedure calls that are guaranteed to be processed at the same time.

Changes for the Information Store
 Start Registry Editor. Locate the following key in the registry:

 On the Edit menu, point to New, click DWORD Value, and then add the following registry values:

Value Name: Gateway In Threads

Data Type: REG_DWORD

Value: 3

Value Name: Gateway Out Threads

Data Type: REG_DWORD

Value: 3

Note You must add these registry values on all Mailbox stores (MDBs) for each Exchange 2000 or Exchange 2003 computer. That is, if there are two MDBs on this server, there will be two Private-  values in the registry. Quit Registry Editor.

Important Do not implement the Information Store registry changes that are described in the previous method on clustered Exchange servers. This is because a clustered Exchange server runs a single MTA process that services all databases on all Exchange virtual servers in the cluster. If you increase the MTA gateway threads, there may be instability in the MTA process if the MTA is servicing more than 20 databases.

Changes for the MTA
 Start Registry Editor.</li> Locate and then double-click the following value in the registry:

</li> In the Edit DWORD Value dialog box, click Decimal, type 128 in the Value data box, and then click OK.</li> Quit Registry Editor.</li></ol>

Additional query words: deployment XCON

Keywords: kbhowto KB264075

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.