January 7, 2010 at 10:45 pm
Comments posted to this topic are about the item Server Administration
Swarndeep
http://talksql.blogspot.com
January 7, 2010 at 11:44 pm
I selected "nothing" however I've had issues in the past with the default "max server memory" setting being set at 2147483647 MB on 64 bit systems. Setting the max to a level less than the total OS memory has improved performance on a number of boxes.
January 8, 2010 at 2:26 am
Hi foxxo
Nice TIP.
Any idea Why this improve performance ??
January 8, 2010 at 2:58 am
3 GB Switch is supported for 32 bit editions. It tell operating system to allocate 2 GB RAM to OS and 2 GB RAM to other program such as SQL Or Exchange, if 4 GB RAM is installed.
Well, almost. MSDN (http://msdn.microsoft.com/en-us/library/ms791558.aspx) states
On 32-bit versions of Windows, the /3GB parameter enables 4 GT RAM Tuning, a feature that enlarges the user-mode virtual address space to 3 GB and restricts the kernel-mode components to the remaining 1 GB.
Anyway, thanks for the good question. These are parameters considered rather seldomly which may heavily affect the performance of your system.
Best regards,
Dietmar Weickert.
January 8, 2010 at 7:24 am
foxxo (1/7/2010)
I selected "nothing" however I've had issues in the past with the default "max server memory" setting being set at 2147483647 MB on 64 bit systems. Setting the max to a level less than the total OS memory has improved performance on a number of boxes.
That has been my experience as well. Thanks for bringing that up.
January 8, 2010 at 8:48 am
It has been ours aw well. It appears that if one reserves the minimum memory necessary to make the OS happy, and anything else that may be running - then take the rest for SQL Server, things work mor harmoniously. It will also redice to some point some of the system performance issues as it works with what it is told to use. As long as the OS has enough memory to not utilize paging it is happy. This is actually a throwback to the early years when SQL Server was Sybase. After MS took over at the version they did, they made a lot of rule changes to try to distance themselves. MS and I had numerous arguments over best practices and they finally conformed:hehe:
Steve Jimmo
Sr DBA
“If we ever forget that we are One Nation Under God, then we will be a Nation gone under." - Ronald Reagan
January 8, 2010 at 9:05 am
Glenn Berry has a good article on the subject on this site.
January 8, 2010 at 9:42 am
yes, the question would be better if talked about: what do you need to do for sql server recognize more than 2GB of memory in an 64bit environment?
to allocate the max memory available on the windows server is a suicide.. :w00t:
---------------------
Alex Rosa
http://www.keep-learning.com/blog
January 8, 2010 at 10:37 am
There should be a 4th option: set the maximum Memory SQL can use.
January 8, 2010 at 10:56 am
Thanks for the question
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
January 8, 2010 at 11:14 am
I was correct, but did not like this question. None of the options do anything, so they are all equivalent.
January 8, 2010 at 11:45 am
actually this was a trick for who don't how 64bit env works.
the first 2 options are valid in 32bit env, and I bet that a lot of people will choice AWE settings 😀
---------------------
Alex Rosa
http://www.keep-learning.com/blog
January 8, 2010 at 3:27 pm
Thanks for all of your comments.
Setting Maximum Memory Parameter is also a good option and nothing against this. However, I personally experienced that Maximum Memory Parameter is most useful when lock pages option has been enabled from Windows.
Thanks
Swarndeep
http://talksql.blogspot.com
January 11, 2010 at 6:48 am
The answer is incorrect. AWE can be used in 64-bit and some people recommend that it should be set because it helps SQL Server manage memory by not allowing the working set to be trimmed. (Note: lock pages in memory must also be set.) This blog entry explains it pretty well.
"Beliefs" get in the way of learning.
January 11, 2010 at 7:26 am
Robert Frasca (1/11/2010)
The answer is incorrect. AWE can be used in 64-bit and some people recommend that it should be set because it helps SQL Server manage memory by not allowing the working set to be trimmed. (Note: lock pages in memory must also be set.) This blog entry explains it pretty well.
I agree with the Lock Pages in memory, not what the question asked, but the article clearly suggests that:
This is why for 64bit systems, you don't need to set the 'awe enabled' option to 1 (it is actually ignored on 64bit systems).
Viewing 15 posts - 1 through 15 (of 23 total)
You must be logged in to reply to this topic. Login to reply