RSS

Windebug: 3GB and PAE switches

13 Mar

Caught a few interesting blog talk about myths and misunderstanding of the 3GB and PAE switches.

Myth: PAE increases the virtual address space beyond 4GB

This is another non sequitur. PAE increases the amount of physical memory that can be addressed by the processor, but that is unrelated to virtual address space. (Remember that PAE stands for Physical Address Extensions.)

PAE increases the physical address space (the address space that the CPU can use to access the memory chips on your computer) from 32 bits to 36 on a Pentium 2, for a theoretical maximum physical memory capacity of 64GB. However, the size of a pointer variable hasn’t changed. It’s still 32 bits (for a 32-bit processor), which means that the virtual address space is still 4GB.

The oft-misunderstood /3GB switch

It’s simple to explain what it does, but people often misunderstand.

The /3GB switch changes the way the 4GB virtual address space is split up. Instead of splitting it as 2GB of user mode virtual address space and 2GB of kernel mode virtual address space, the split is 3GB of user mode virtual address space and 1GB of kernel mode virtual address space.

Consequences of running 3GB and PAE together

As of Windows 2003 SP1 you should more than likely use /userva with /3GB if you need to use /3GB at all. I would choose a values around 2970 that would give you over 20,000 sysPTES’s free, which should allow the system to function without tipping over, but this is something that you’ll need to “tune” for your particular app. You also have to keep in mind that you’re reducing the space for the pools as well.

Really what you should do is reevaluate why you’re running 3GB in the first place, perhaps what you’re really looking for is PAE/AWE and just have 3GB in place by mistake. Also you should ask yourself, why am I NOT running an x64 hardware and OS?

Advertisements
 
Leave a comment

Posted by on March 13, 2008 in Windows

 

Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: