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


AWE ,memory management and 64bit OS


AWE ,memory management and 64bit OS

Author
Message
Ells
Ells
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2394 Visits: 931
Hi,
I have inherited a cluster that has several instances of SQL Server 2005. THE OS is 64 bit and the problem I am having is that there is 10GB of memory and when I look in Task Manager and order by memory at the top is

sqlserver.exe 5,931,512 KB
sqlserver.exe 2,771,548 KB
sqlserver.exe 286,036 KB

Total 8,989,096 KB

Now I want to even this out a little as obviously one of the SQL server instances is throttling the others. My instincts tell me the one that is using the most memory is a database that is not key to the users and as such I would be happy to reign in its memory usage.

AWE
Now when I look on the memory tab of the properties for the instance there is an option to enable AWE. There are Minimum and Maximum settings in MB for server memory. Can I use this in any way to control the memory that is used.

I thought I could but all the articles that I find seem to lead me to believe that AWE only works for 32 bit - is this true?

Can I still uise these memory settings to control memory usage?

Do I need to restart the server or service for this to take affect.


Many thanks,
Ells
EvilPostIT
EvilPostIT
Ten Centuries
Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)Ten Centuries (1.1K reputation)

Group: General Forum Members
Points: 1080 Visits: 648
Ells,

The AWE settings and the Min & Max memory settings are seperate. You do not need to turn AWE on to be able to set these.

For more explanation on AWE in 64 bit please see the below article.

http://blogs.msdn.com/slavao/archive/2005/04/29/413425.aspx



Nuke the site from orbit, its the only way to be sure... w00t
Wilfred van Dijk
Wilfred van Dijk
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2420 Visits: 1363
- AWE is not needed for 64bit OS, it's only a window for 32bit OS to address more memory
- As mentioned, enable 'lock pages in memory' on 64bit OS
- If you have multiple instances, make sure you set the minimum and maximum memory for each instance. If you don't do this, instances will battle for memory under high pressure.
- You can prioritize instances by using processor and/or IO affinity
- make sure you have some free memory available for OS etc. Monitor ' Memory Paging' for this issue.
- As a general rule, my servers have a minimum of 1 GB free memory.

Wilfred
The best things in life are the simple things
Ells
Ells
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2394 Visits: 931
Thanks for your help. Got all the info I need. Just one really lame question. I am assuming that the minimum and maximum settings are for physical memory only?

Thanks a lot.
Mark.

BigGrin
Wilfred van Dijk
Wilfred van Dijk
SSCrazy
SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)SSCrazy (2.4K reputation)

Group: General Forum Members
Points: 2420 Visits: 1363
yes, memory settings are for physical memory (otherwise you'll get an "financial" crisis on your database server too :-D )

Wilfred
The best things in life are the simple things
A. A.
A. A.
SSC Journeyman
SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)

Group: General Forum Members
Points: 81 Visits: 54
Hi.
Does this apply to artificial limits, like "standard" version server limiting you to 32 GB RAM?
It seems like if you could use AWE to get around "natural" 32 bit limitations to address more RAM, there's a chance something should let you get around artificial memory limits imposed on 64 bit "standard" version Windows Server OS.
Thank you
GilaMonster
GilaMonster
SSC Guru
SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)

Group: General Forum Members
Points: 215963 Visits: 46274
Nope. To get around 'artificial' memory limitations on Windows Standard edition, upgrade to Enterprise.

p.s. New questions in a new thread in future please.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


A. A.
A. A.
SSC Journeyman
SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)

Group: General Forum Members
Points: 81 Visits: 54
K. Thanks.
I hope someone does something.
32 bit days and things like AWE proved you can have big memory outside OS limits. You don't even need the OS to manage the memory with the right program, just quit trying to block it.
Thank you
GilaMonster
GilaMonster
SSC Guru
SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)SSC Guru (215K reputation)

Group: General Forum Members
Points: 215963 Visits: 46274
The OS wasn't the limitation in 32-bit days. The addressable memory by a 32-bit process was.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


A. A.
A. A.
SSC Journeyman
SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)SSC Journeyman (81 reputation)

Group: General Forum Members
Points: 81 Visits: 54
My point exactly-ish.
Before, the hw/sw couldn't do it so it was programmed around.
Now to squeeze more money from you, just the OS restricts you to force you to upgrade.
The same genious to work around should apply in either case, I am hoping.
In either case we don't need the OS to manage the memory, technically.
Thank you for your insight.
I've been trying to figure out what was up got a bit.
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