all groups > sql server clustering > april 2007 >
You're in the

sql server clustering

group:

AWE


AWE Leila
4/14/2007 12:00:00 AM
sql server clustering:
Hi,
Imagine that my server has 4GB physical memory. I have added /3GB switch to
boot.ini.
Should I enable AWE configuration for my SQL Server to use 3 GB address
space? Or AWE must only be used when I have more than 4GB memory?
Thanks in advance,
Leila

Re: AWE Hari Prasad
4/14/2007 12:00:00 AM
Hello,

AWE can be used only if you have more than 4 GB physical memory. But The
/3GB switch is used to tell SQL Server to take advantage of 3GB out of the
base 4GB
of RAM that Windows OS supports natively. If you don't specify this option,
then SQL Server will only take advantage of 2GB of the first 4GB of RAM in
the
server, essentially wasting 1GB of RAM

Please post the OS and SQL Server edition. This is because For SQL Server
2005 - 64 bit running in Windows 2003 you donot want any changes in BOOT.INI
to use the additional RAM.

Thanks
Hari



[quoted text, click to view]

Re: AWE Linchi Shea
4/14/2007 6:34:01 AM
[quoted text, click to view]

That's not correct. Take a look at some empirical data at
http://sqlblog.com/blogs/linchi_shea/default.aspx?p=2

Linchi

[quoted text, click to view]
Re: AWE Hari Prasad
4/14/2007 7:01:23 PM
Hello Linchi,

If I remember correct for a server with 4 GB RAM running in SQL Server 2005
32 bit and Windows 2003 Advanced, all I did is just /3GB switch in Boot.ini
to
use 3 GB RAM. I will take a look into the server on Moday and keep you
posted

Thanks
Hari




[quoted text, click to view]

Re: AWE Linchi Shea
4/14/2007 7:16:01 PM
Hari;

My comment had nothing to do with whether /3GB is used, how it should be
used, or what impact it may have. I was commenting on the statement that AWE
can be used only if you have more than 4GB physical memory. As the data at
the link indicate that setting AWE has an impact on SQL Server memory
consumption even with 4GB physical memory. And if you want your bpool to
consume a certain amount of memory under 4GB, you may need to use AWE to
accomplish that.

Now, whether or not you should use AWE with less than 4GB of physical memory
or whether there is any compelling rason for doing so are entirely different
issue.

Linchi

[quoted text, click to view]
Re: AWE Leila
4/15/2007 12:00:00 AM
Thanks Hari and Linchi!
Based on documents that I have read, /3GB causes that kernel mode use only
1GB and Virtual Address Space for applications therefore can reserve up to
3GB. Whereas 32-bit based Windows can address up to 4GB of memory, therefore
I think by using /3GB switch we don't need to enable AWE for SQL Server to
use 3GB. Because we are not beyond the 4GB limit of addressing in this
situation.



[quoted text, click to view]

AddThis Social Bookmark Button