Evan Dodds - Microsoft Exchange Server Blog

Exchange, Exchange administration stuff, and other assorted ramblings

Blogs

/3GB switch confusion

  • Comments 7
  • Likes

Raymond has posted several posts about the /3GB switch and about how it affects the Kernel. This is a frequent topic of discussion for highly scaled Exchange 2003 servers due to the recommendation that most servers with >=1gb RAM have this switch applied (see KB.823440 or KB.810371 or KB.328882 or KB.266096 or... well, that's enough for now; there are a bunch of KBs on the Exchange memory management topic.)

Since Exchange is such a memory intensive app we talk about this a bunch, but I was in a meeting the other day where the /3GB switch was discussed in terms of relating directly to physical memory. I think it's critical to understand the virtualized nature of the way memory is used on modern operating systems, and Raymond hits it on the head here.

Short version: You can run the /3GB switch on a machine with 128mb. You can run a machine with 4gb and not run the /3GB switch. There's absolutely no connection. The /3GB switch controls the allocation of the virtualized memory space provided to each process (which is generally 2gb per process, regardless of how much physical memory is present). All you're doing when you specify /3GB is changing this 2gb virtual space to be 3gb. Will you ever use the full 3gb on a machine with 128mb? Let's hope not! Your pagefile would be going crazy if you did!

Think your Exchange server is not as fast as it should be? Could be caused by any number of things... Have a look at the Exchange 2003 Performance and Scalability guide and the Troubleshooting Exchange 2003 Performance guide. You won't be sorry.

Comments
  • Exchange-faq.dk - Din portal til Microsoft Exchange Server information

  • Thats a pretty good one!!!!

  • Good post EDiddy. ;) That is exactly the point I try to make in my postings on the topic of virtual address space... and if your readers want to know how the /3GB relates to Exchange virtual memory fragmentation, they should check out my 3 part series on "The Infamous 9582 Event". http://blogs.msdn.com/mfp2/archive/2004/02.aspx

  •   As Evan already mentioned on his blog, Raymond Chen has a great series on /3GB switch on his blog. What is really cool is that Raymond takes on some myths about the /3GB switch and  the fact that he...