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
    Exchange Server 2007 hardware planning for continuous replication
    Benefits of SAN-based storage in Microsoft Exchange Server 2007
    How to generate HTML reports with the Exchange Management Shell (EMS)
    Hosted Exchange Server adoption to infiltrate the enterprise
    Using ActiveSync without a front-end Exchange server
    Use the Exchange Management Shell Set command to block senders
    Why boot an Exchange server from a storage area network (SAN)?
    How to test Exchange Management Shell commands
    Grant or deny permissions to access a user's Exchange 2007 mailbox
    Control query results with Exchange Management Shell's Format command

    Microsoft Exchange Server Administration Tools
    Customizing an Outlook Web Access 2003 email signature
    Tool exports messages from Microsoft Outlook to Unix .EML file format
    Monitor mail flow with the Exchange Server 2007 Queue Viewer tool
    Use Performance Monitor to detect Exchange 2003 message queue problems
    Migrating antispam settings from Exchange 2003 to Exchange 2007
    An affordable Exchange Server database backup software option for SMBs
    How to set up Remote Desktop for Exchange Server administration
    Solve server problems with the Exchange Troubleshooting Assistant tool
    Monitor and search Exchange mailboxes for music and video files
    Can Exchange calendar sharing be automated using the SetPerm utility?
    Microsoft Exchange Server Administration Tools Research

    Microsoft Exchange Server Performance
    Use Performance Monitor to detect Exchange 2003 message queue problems
    Improve Exchange 2003 Internet connectivity, mail flow and performance
    Solve server problems with the Exchange Troubleshooting Assistant tool
    Windows hot-add memory hurts Exchange Server performance
    How to use SMTP queues to troubleshoot mail flow
    Performance problems with Microsoft Outlook 2007 .PST and .OST files
    Running Exchange Server and other server applications on the same hardware
    Process, compress and block Microsoft Outlook email attachments
    Changing the Exchange Server local delivery queue directory
    Stress test Exchange Server (32-bit and 64-bit) with Exchange Load Generator

    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.

  • HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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