• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 601
  • Last Modified:

When to set the 3/GB switch

After reading about the 3/GB switch option in Windows I am still unsure of when to set it.  It describes the allocation of the 4/GB of virtual address space between apps and the kernal.  Does the 3/Gb switch have anything to do with the amount of physical RAM in the PC?  I just increased the amount of RAM in a PC to 2.5/GB so that I can run Adobe CS3, this is when I began reading about the switch.  I always thought it was related to physical RAM not virtual memory.

Any help would be appreciated.

bshort1023
0
bshort1023
Asked:
bshort1023
2 Solutions
 
lcitCommented:
I've never seen it used outside of Windows Server envirnoments, but here's some info:

http://support.microsoft.com/kb/833721
0
 
Suroj ShresthaCommented:
Chk this:
http://blogs.msdn.com/oldnewthing/archive/2004/08/05/208908.aspx

Go thru the comments as well, i hope that will clear your confusion.
0
 
garycaseCommented:
The /3GB switch has NOTHING to do with how much physical memory is in the machine.   It simply changes the allocation of the virtual address space so that individual processes can have up to 3GB of virtual space instead of the 2GB they get by default.   This is true whether your system has 256MB of RAM installed or 4GB of RAM installed.

Even if you use /3GB and have an application which will take advantage of the additional addressing (such as CS3), the added paging activity will likely offset any gains from providing the added address space to the application.   Particularly if you only have 2.5GB of memory installed.

Bottom line:   In the situation you've described, I would NOT use /3GB unless you're doing things in CS3 which result in "out of memory" errors.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
bshort1023Author Commented:
simcasuro: Good article\thread.

qarycase:  You say the 3GB switch has nothing to do with the amount of physical RAM but you later say the additional paging activity would offset any gains Particularly if you have only 2.5GB of RAM.  That implies to me that the 3GB switch might be worthwhile if I had more RAM.  Is that true?


0
 
garycaseCommented:
My comment simply meant that with only 2.5GB installed, any process that was allowed to have 3GB of address space would clearly require a fair amount of paging => since it could never have 3GB of "real" memory assigned.   It's true that if you had enough memory for the OS to keep its resident processes in memory and still have 3GB to assign to another process [i.e. if you installed 4GB and your system configuration let you "see" perhaps 3.25GB of it -- you'll never actually "see" 4GB for a variety of reasons] then a single process that was able to use 3GB MAY get some benefit from the /3GB switch.  Note that if your system doesn't "see" enough above 3GB (with 4GB installed) ... which depends on your specific configuration ... then the OS still won't be able to actually provide 3GB of "real" memory to any process.

But as I noted earlier, it's relatively rare to see any benefit from /3GB  [although CS3 IS one of the memory-hogging applications where it may help].    I wouldn't bother, however, unless you get "out of memory errors" in CS3.
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now