SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Memory Configuration and /3GB /PAE Switches


Memory Configuration and /3GB /PAE Switches

Author
Message
sqldba20
sqldba20
Old Hand
Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)

Group: General Forum Members
Points: 393 Visits: 445
All:

We have a new Windows server and are working on configuring the memory. Read a lot about /3GB , /PAE , AWE and got a little bit confused so thought I will post it here and see what do you folks thinks how I am going to configure?

Our New Windows Environment.

Windows 2003 Enterprise Edition (32 bit)
Memory - 16 GB
SQL 2005 Enterprise Edition (32 bit)


I would like to give not more than 2 GB for the OS / Kernel (14 GB we want for SQL) and based on that here is what I am planning to configure. Let me know if I am right or wrong?


On Windows Enable the /3GB /PAE switch
On SQL Server Enable AWE and set the MAx Server Memory to 14 GB



Thanks !
jason.stephens
jason.stephens
Mr or Mrs. 500
Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)

Group: General Forum Members
Points: 518 Visits: 385
That is what we did but we capped ours at 12 GB. It showed incredible gains in efficiency.

Edit: ours was only SQL 2000 that we did this on.
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)

Group: General Forum Members
Points: 136753 Visits: 18209
ensure you configure the "lock pages in memory" local security policy for the account SQL runs under. Generally its not recommended to use the /3GB switch for machines with 16GB RAM and over. Using the /3GB switch with machines using large amounts of RAM (reportedly 12GB and over) can effect the way the machine addresses the memory

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
sqldba20
sqldba20
Old Hand
Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)Old Hand (393 reputation)

Group: General Forum Members
Points: 393 Visits: 445
So only Enabling /PAE should also help.., right?
jason.stephens
jason.stephens
Mr or Mrs. 500
Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)Mr or Mrs. 500 (518 reputation)

Group: General Forum Members
Points: 518 Visits: 385
Milton Gonsalves (7/25/2008)
So only Enabling /PAE should also help.., right?

Not from what I have read. PAE just lets windows utilize all the memory. AWE has to be turned on in SQL for SQL to be able to use more.

Edit: We didn't see the performance increase until we turned on AWE in SQL.
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)

Group: General Forum Members
Points: 136753 Visits: 18209
Milton Gonsalves (7/25/2008)
So only Enabling /PAE should also help.., right?


if your using win 2003 enterprise it should address all the RAM straight off without editing the boot.ini

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
jim.powers
jim.powers
SSCertifiable
SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)SSCertifiable (5.3K reputation)

Group: General Forum Members
Points: 5300 Visits: 897
Perry Whittle (7/28/2008)
Milton Gonsalves (7/25/2008)
So only Enabling /PAE should also help.., right?


if your using win 2003 enterprise it should address all the RAM straight off without editing the boot.ini


When installing Win 2003 Enterprise (32-bit), it will automatically recognize the need for the /PAE switch and should add it automatically to the boot.ini. If that switch is not already there, it does need to be added. Win 2003 64-bit does not require the /PAE switch, 32-bit does.
Perry Whittle
Perry Whittle
SSC Guru
SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)SSC Guru (136K reputation)

Group: General Forum Members
Points: 136753 Visits: 18209
jim.powers (7/28/2008)
If that switch is not already there, it does need to be added.

on the very rare odd occasion and normally for older processor architecture. 99% of the time the processor architecture will automatically configure the boot.ini at install time with the DEP option /noexecute. This switch implies and automatically switches on /PAE

-----------------------------------------------------------------------------------------------------------

"Ya can't make an omelette without breaking just a few eggs" ;-)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search