Home > Microsoft Exchange Tips > Exchange Server Administration Tips > /3GB switch 'gotchas' for Exchange Server
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

/3GB switch 'gotchas' for Exchange Server


Serdar Yegulalp
06.20.2006
Rating: -4.11- (out of 5)


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


Windows servers with more than 2 GB of physical memory usually benefit from having the /3GB switch set as a boot option in BOOT.INI. Here's an example BOOT.INI entry with the option set:

[Operating Systems] 
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows Server 2003" 
/fastdetect /3GB /USERVA=3030

When /3GB is enabled, the operating system allocates memory a little differently -- up to 3 GB of memory can be allocated for user-mode processes, and 1GB of memory is set aside for the operating system (as opposed to 2 GB/2 GB).

This may help Exchange Server perform better, since it prevents store.exe's address space from becoming fragmented. (The /USERVA=3030 switch should also always be added in conjunction with /3GB, to allow for more kernel memory to be allocated for page table entries.)

But there are caveats. The /3GB switch should not be used in either of the following circumstances:

  1. You're running Microsoft Exchange on a server that is also an Active Directory domain controller or global catalog server.

  2. You're running Exchange on a Windows Small Business Server (SBS) 2003 computer, which means the server's almost inevitably being used as a domain controller and/or global catalog server.

One big reason why /3GB isn't recommended on an SBS installation is because the amount of performance gained is probably going to be minimal, given the scope of most SBS installations.

Most of the reason /3GB exists is to help alleviate heavy memory pressure in the user address space; if that pressure doesn't exist in the first place, it's essentially a case of trading one problem (less user memory) for another (less kernel memory).

If you're not dealing with an Active Directory setup that desperately needs the extra gigabyte of user memory, you're not likely to see any benefit -- and may actually run into more problems, not less, further down the line.

Also, /3GB only works for programs that know how to use it. If you're working with Exchange Server and another application that doesn't know about large memory spaces, that other program will not be able to use any of the additional memory provided by /3GB.

Another possible side effect of /3GB that many people don't anticipate is how it affects processes that run in kernel space, such as the video driver. The driver might need to request a memory aperture as big as 128 MB to 256 MB (this is more common on desktops and workstations, but it still happens on servers).

If there's not enough kernel memory to spare, because it's been reallocated to user memory, the call will fail and the server will crash. I've witnessed this in action on a PC with a high-end video card that was being pressed into service as a server -- when we removed the /3GB switch, the problem stopped.

As an aside, some people have asked, if Microsoft recommends not hosting Exchange Server on a domain controller, why does that exact configuration exist for SBS (where the Exchange Server box and domain controller are essentially the same thing)?

The answer, again, is scope: if you're not dealing with a very big organization, the two can usually coexist on the same server without too much trouble. But an enterprise-sized Exchange Server setup (and an enterprise-sized Active Directory store) will need a dedicated server.

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter.

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

Related information from SearchExchange.com:

  • Tip: Virtual memory fragmentation in Exchange Server
  • FAQ: Exchange Server and Small Business Server issues
  • Learning Guide: An administrator's guide to Exchange Server performance management
  • Reference Center: Exchange Server database management tips

    Please let others know how useful this tip was via the rating scale below. Do you have a useful Exchange Server or Microsoft Outlook tip, timesaver or workaround to share? Submit it to SearchExchange.com. If we publish it, we'll send you a nifty thank-you gift.

    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.


    Submit a Tip




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



    RELATED CONTENT
    Exchange Server Administration Tips
    Remove Exchange 2003 objects from AD to install Exchange 2010
    Don'ts for optimal Exchange 2007 mailbox server efficiency
    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

    Microsoft Exchange Server Administration Tools
    An introduction to the Exchange Remote Connectivity Analyzer tool
    Prevent Microsoft Outlook 2007 from hanging when forwarding email
    Testing Unified Messaging connectivity in Exchange 2007
    Microsoft Exchange Server 2007 performance tutorial
    How to custom-configure a Microsoft Outlook 2007 install using OCT
    Top Exchange Server performance monitoring and troubleshooting tools
    Search and index Microsoft Outlook 2007 public folders
    Executing an .MSP customization file in Microsoft Outlook 2007
    Using the NTBackup tool for Exchange Server backup and recovery
    Tools to bulk modify Active Directory users in Exchange Server 2003
    Microsoft Exchange Server Administration Tools Research

    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

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    Remote Installation Service  (SearchExchange.com)
    TCPMAN  (SearchExchange.com)

    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