Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Windows hot-add memory hurts Exchange Server performance
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Windows hot-add memory hurts Exchange Server performance


Serdar Yegulalp
09.12.2007
Rating: --- (out of 5)


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Microsoft Windows Server operating systems that support hot-add memory can unintentionally deplete Exchange Server 2003's kernel-paged pool memory and cause serious performance problems. Prevent and resolve hot-add memory issues on Exchange Server with these performance troubleshooting options.

Windows Server 2003 Datacenter and Enterprise Editions support hot-add memory, a hardware-level feature that lets an administrator add memory to an operating system without having to shut it down or take it offline.

Hot-add memory is useful, but it can cause quirky Exchange Server 2003 behavior. Problems actually arise from the way Windows Server 2003 manages the hot-add memory feature, but they most often manifest through Exchange Server. Exchange inexplicably fails to start or crashes for no apparent reason on Windows Server operating systems that have hot-add memory functionality.

More on Exchange Server performance management:
An administrator's guide to Exchange Server performance

Exchange Server memory management with /3GB, /USERVA and /PAE

An Exchange Server memory worst practice -- throttling RAM

Reference Center: Exchange Server performance management
Hot-add memory support, enabled by default, sets aside a certain amount of kernel-level memory for future memory allocation. Consequently, kernel memory may be set aside and never used, and the kernel-paged pool memory may be depleted faster than the operating system anticipates.

Microsoft Exchange and SQL Server administrators have to wrestle with this issue, since both Exchange Server and SQL Server aggressively use kernel-paged pool memory.

Windows 32-bit systems with 3 GB or more RAM installed experience a similar performance problem. On 32-bit systems with more than 3 GB RAM, the kernel-paged pool also get used up fairly quickly. The solution is to modify the size of the paged pool and a number of other kernel-level functions by using the /3GB and /USERVA boot switches.

Unfortunately, this solution doesn't work for Windows systems with hot-add memory support enabled. The paged-pool depletion problem gets magnified instead.

As discussed in the Microsoft Exchange Team blog post about Windows 2003 kernel memory issues and Exchange 2003, Windows attempts to reserve kernel space for the maximum amount of physical memory that can be added to the machine.

For example, if you have a Windows server that can support up to 64 GB of hot-add memory, but only 4 GB is actually installed, the operating system will set aside enough kernel-paged pool memory to support all 64 GB anyway! This means that a 64 GB allocation can use up as much as 30% of your kernel's paged pool.

Microsoft offers several possible solutions to performance problems caused by hot-add memory enabled systems:

  • Use the /MAXMEM=4096 boot switch to set the amount of physical memory to a hard ceiling of 4 GB (a 32-bit system will not use more than 4 GB effectively anyway).
  • Turn off hot-add memory support in the system's BIOS, or in the operating system itself. The latter can be done by editing the registry:
    1. Add a DWORD value named DynamicMemory to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management.
    2. Set this value to 1 and reboot. (Note: If you're not using Windows Server 2003 Service Pack 1, this change will not work if the /3GB switch is present; Service Pack 1 fixes this problem.)

      This DWORD can also be used to govern the maximum amount of hot-add memory that can be present. For instance, if you have 4 GB installed and want to provision for the possibility that you'll add another 4 GB (but no more than that), you could set this value to 8 -- the total amount in gigabytes of hot-add memory needed to reserve kernel space. This would still allow you to hot-add memory in the future, but the total amount of kernel memory usage wouldn't be as much.

  • The simplest solution is to migrate to 64-bit Exchange 2007, which doesn't have the memory-allocation issues of 32-bit Exchange Server 2003. However, migrating to Exchange 2007 may not be practical or cost-effective for many organizations.

About the author: Serdar Yegulalp is editor of Windows Insight, a newsletter devoted to hints, tips, tricks, news and goodies for all flavors of Windows users.

Do you have comments on this tip? Let us know.

Please let others know how useful this tip was via the rating scale below. Do you know a helpful Exchange Server, Microsoft Outlook or SharePoint tip, timesaver or workaround? Email the editors to talk about writing for SearchExchange.com.

Rate this Tip
To rate tips, you must be a member of SearchExchange.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Microsoft Exchange Server Performance
Remove Exchange 2003 objects from AD to install Exchange 2010
Outlook 2007 shut-down problems and fixes
Is your Exchange 2007 hub transport server healthy?
OWA 2007 configuration tricks to boost performance
Pros and cons of Outlook 2007's storage engine redesign
Avoid Outlook 2007 performance issues during repairs
Monitor Exchange 2007 with disk- and RPC-related counters
Track Exchange 2007 mailbox server health using database counters
Monitoring Exchange 2007 Client Access Server role-specific counters
Exchange Performance Monitor tracks domain controller communication

Exchange Server Administration Tips
Remove Exchange 2003 objects from AD to install Exchange 2010
Is your Exchange 2007 hub transport server healthy?
Avoid Outlook 2007 performance issues during repairs
Developing an Exchange 2007 server role DR plan
How DSAccess service improves Exchange Server 2007 reliability
An introduction to the Exchange Remote Connectivity Analyzer tool
Monitor Exchange 2007 with disk- and RPC-related counters
DPM 2007 replica inconsistencies in Exchange databases
Track Exchange 2007 mailbox server health using database counters
Digging deeper into Exchange Server 2010

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts