Solved

When to set the 3/GB switch

Posted on 2007-12-04
7
586 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…

695 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