Solved

When to set the 3/GB switch

Posted on 2007-12-04
7
575 Views
Last Modified: 2008-02-01
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
Comment
Question by:bshort1023
7 Comments
 
LVL 2

Expert Comment

by:lcit
ID: 20403082
I've never seen it used outside of Windows Server envirnoments, but here's some info:

http://support.microsoft.com/kb/833721
0
 
LVL 3

Accepted Solution

by:
Suroj Shrestha earned 63 total points
ID: 20403250
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
 
LVL 70

Expert Comment

by:garycase
ID: 20404606
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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:bshort1023
ID: 20430418
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
 
LVL 70

Assisted Solution

by:garycase
garycase earned 62 total points
ID: 20430764
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
 
LVL 1

Expert Comment

by:Computer101
ID: 20591234
Forced accept.

Computer101
EE Admin
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now