Topic Last Modified: 2007-08-07

The Microsoft® Exchange Server Analyzer Tool reads the following registry entry to determine if the following registry value exists:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\IMAP4Svc\Parameters\MaxBufferSize

If the Exchange Server Analyzer finds the MaxBufferSize value present and configured with any numeric value greater than 0, a non-default configuration message is displayed.

The MaxBufferSize registry value is used in an Exchange front-end/back-end topology. It defines the TCP/IP buffer size between front-end servers and back-end servers. The default buffer size is 1 kilobyte (KB). On networks with high latency, adjusting the MaxBufferSize value can improve performance for IMAP4 clients.

When setting the TCP/IP buffer size with the MaxBufferSize registry value, you should always set the buffer size in multiples of 1,024. It is recommended that you test your front-end/back-end server configuration performance with the following buffer sizes to determine the optimal value for your organization:

It is recommended that you do not set the MaxBufferSize registry entry to a value greater than 32,768. However, you may notice increased performance with a buffer size value of 65,536, depending on your network conditions. A larger buffer size uses more memory on the Exchange Server computer and may decrease the number of users who can access the front-end server. While there is no limit to the maximum value that you can use for the MaxBufferSize registry value, you may experience unstable performance and memory issues if you assign too great a value to this registry entry.

Note:
To use the MaxBufferSize registry value, you must be running Exchange 2000 Server Service Pack 2 or later.

If the MaxBufferSize registry value is set too low, performance will not improve and the Exchange Server Analyzer will display an error message, as described in IMAP4 MaxBufferSize value is too low If the MaxBufferSize registry value is set too high, system instability could result and the Exchange Server Analyzer will display an error message, as described in IMAP4 MaxBufferSize value is too high

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

To configure the MaxBufferSize value

  1. Open a registry editor, such as Regedit.exe or Regedt32.exe.

  2. Navigate to: HKLM\System\CurrentControlSet\Services\IMAP4Svc\Parameters

  3. Create a new DWORD value called MaxBufferSize.

  4. Double-click the MaxBufferSize value and set it to the new buffer size (in bytes). For example, you can enter 8192 to set it to 8,192 bytes.

  5. Close the registry editor, and then restart the Microsoft Exchange IMAP4 service for the change to take effect.

Before you edit the registry, and for information about how to edit the registry, see the Microsoft Knowledge Base article 256986, "Description of the Microsoft Windows Registry" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=256986).

For more information about when and how to use the MaxBufferSize registry value, see the Knowledge Base article 823857, "XADM: IMAP4 and POP3 Performance Is Slow Between Front-End and Back-End Servers" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=823857).