Showing posts with label ram. Show all posts
Showing posts with label ram. Show all posts

Friday, March 30, 2012

PAE & AWE on x64 Windows & SQL

We've just setup some new Microsoft SQL 2005 servers running windows 2003 R2
x64 with 16GB of RAM. Since we are running a 64 bit version of windows and a
64 bit version of SQL, is it any longer neccesary to add the /3GB /PAE
option in the boot.ini and enable AWE in SQL?
Thanks!
Brad"Brad Baker" <brad@.nospam.nospam> wrote in message
news:OF%23WZo3xGHA.2384@.TK2MSFTNGP05.phx.gbl...
> We've just setup some new Microsoft SQL 2005 servers running windows 2003
> R2 x64 with 16GB of RAM. Since we are running a 64 bit version of windows
> and a 64 bit version of SQL, is it any longer neccesary to add the /3GB
> /PAE option in the boot.ini and enable AWE in SQL?
>
Slava says no /3GB, no /PAE, no AWE option. Just grant the SQL account the
"Lock Pages in Memory" privilege.
Q and A: Using Lock Pages In memory on 64 bit platform
Q: Hello Slava, I would like to confirm my understanding that on SQL 2005
64 bit edition it is recommended to grant Lock Pages in Memory right to the
SQL account and then turn on the AWE setting. Thanks
A: Yes, we do recommend to turn on Lock pages in memory so that OS doesn't
page SQL Server out. However on 64 bit you only need to grant the right
"Lock Pages in Memory" to the SQL account for SQL Server to utilize this
feature. You do need to to change any of AWE settings through sp_configure.
http://blogs.msdn.com/slavao/archive/2005/08/31/458545.aspx
Slava explains:
http://blogs.msdn.com/slavao/archive/2005/04/29/413425.aspx
David

PAE & AWE on x64 Windows & SQL

We've just setup some new Microsoft SQL 2005 servers running windows 2003 R2
x64 with 16GB of RAM. Since we are running a 64 bit version of windows and a
64 bit version of SQL, is it any longer neccesary to add the /3GB /PAE
option in the boot.ini and enable AWE in SQL?
Thanks!
Brad"Brad Baker" <brad@.nospam.nospam> wrote in message
news:OF%23WZo3xGHA.2384@.TK2MSFTNGP05.phx.gbl...
> We've just setup some new Microsoft SQL 2005 servers running windows 2003
> R2 x64 with 16GB of RAM. Since we are running a 64 bit version of windows
> and a 64 bit version of SQL, is it any longer neccesary to add the /3GB
> /PAE option in the boot.ini and enable AWE in SQL?
>
Slava says no /3GB, no /PAE, no AWE option. Just grant the SQL account the
"Lock Pages in Memory" privilege.
Q and A: Using Lock Pages In memory on 64 bit platform
Q: Hello Slava, I would like to confirm my understanding that on SQL 2005
64 bit edition it is recommended to grant Lock Pages in Memory right to the
SQL account and then turn on the AWE setting. Thanks
A: Yes, we do recommend to turn on Lock pages in memory so that OS doesn't
page SQL Server out. However on 64 bit you only need to grant the right
"Lock Pages in Memory" to the SQL account for SQL Server to utilize this
feature. You do need to to change any of AWE settings through sp_configure.
http://blogs.msdn.com/slavao/archiv.../31/458545.aspx
Slava explains:
http://blogs.msdn.com/slavao/archiv.../29/413425.aspx
David

Monday, March 12, 2012

P4 xeon Hyperthreading

We are running SQL Server 2000 SP3 on Windows 2000 SP4 on a quad P4 xeon 2.8
ghz with 12 gig of ram. Hyperthreading is turned on and SQL sees 8
processors.
I've heard that it performs better with HT turned off. Anyone here that?In general, no. However, SQL Server might parallize a query too much so setting maxdop to number pf
physical processors (using sp_configure) can be a good idea.
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as ugroup=microsoft.public.sqlserver
"Kevin Jackson" <softwiz@.covad.net> wrote in message news:eBpRK29gDHA.1192@.TK2MSFTNGP12.phx.gbl...
> We are running SQL Server 2000 SP3 on Windows 2000 SP4 on a quad P4 xeon 2.8
> ghz with 12 gig of ram. Hyperthreading is turned on and SQL sees 8
> processors.
> I've heard that it performs better with HT turned off. Anyone here that?
>|||If setting MaxDop to the actual no. of physical processor, wouldnt it not be
best to disable hyperthreading ?
"Geoff N. Hiten" <SRDBA@.Careerbuilder.com> wrote in message
news:uHaWj9EhDHA.1952@.TK2MSFTNGP12.phx.gbl...
> The only issue I have seen with Hyperthreading is oversaturation of CPU
> resources by too much parallelism. Set your MAX Degree of Parallelism
> (MADXOP) down to the actual physical processor count and HT works just
fine.
> --
> Geoff N. Hiten
> SQL Server MVP
> Senior Database Administrator
> Careerbuilder.com
>
> "Kevin Jackson" <softwiz@.covad.net> wrote in message
> news:eBpRK29gDHA.1192@.TK2MSFTNGP12.phx.gbl...
> >
> > We are running SQL Server 2000 SP3 on Windows 2000 SP4 on a quad P4 xeon
> 2.8
> > ghz with 12 gig of ram. Hyperthreading is turned on and SQL sees 8
> > processors.
> >
> > I've heard that it performs better with HT turned off. Anyone here
that?
> >
> >
>|||> If setting MaxDop to the actual no. of physical processor, wouldnt it
not be
> best to disable hyperthreading ?
MAXDOP applies to parallel queries only. The virtual processors can
benefit non-parallel queries as long as you don't disable
hyperthreading.
For example, on a dual Xeon with HT disabled, a CPU-bound parallel query
will degrade response time for other users. With HT enabled and MAXDOP
2, response time for the other users will be a bit better..
--
Hope this helps.
Dan Guzman
SQL Server MVP
--
SQL FAQ links (courtesy Neil Pike):
http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
http://www.sqlserverfaq.com
http://www.mssqlserver.com/faq
--
"FR" <floydrev@.hotmail.com> wrote in message
news:u5y9r9LhDHA.3616@.TK2MSFTNGP11.phx.gbl...
> If setting MaxDop to the actual no. of physical processor, wouldnt it
not be
> best to disable hyperthreading ?
> "Geoff N. Hiten" <SRDBA@.Careerbuilder.com> wrote in message
> news:uHaWj9EhDHA.1952@.TK2MSFTNGP12.phx.gbl...
> > The only issue I have seen with Hyperthreading is oversaturation of
CPU
> > resources by too much parallelism. Set your MAX Degree of
Parallelism
> > (MADXOP) down to the actual physical processor count and HT works
just
> fine.
> >
> > --
> > Geoff N. Hiten
> > SQL Server MVP
> > Senior Database Administrator
> > Careerbuilder.com
> >
> >
> > "Kevin Jackson" <softwiz@.covad.net> wrote in message
> > news:eBpRK29gDHA.1192@.TK2MSFTNGP12.phx.gbl...
> > >
> > > We are running SQL Server 2000 SP3 on Windows 2000 SP4 on a quad
P4 xeon
> > 2.8
> > > ghz with 12 gig of ram. Hyperthreading is turned on and SQL sees
8
> > > processors.
> > >
> > > I've heard that it performs better with HT turned off. Anyone
here
> that?
> > >
> > >
> >
> >
>|||> If you're not running advanced server and enterprise edition, you won't
> really be able to use more than 4 logical or physical processors.
Apparently SQL2K with sp3 should be HT aware and be able to use more logical processors then 4 on
SE.
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as ugroup=microsoft.public.sqlserver
"Kevin" <ReplyTo@.Newsgroups.only> wrote in message news:uLat%23WFhDHA.656@.TK2MSFTNGP12.phx.gbl...
> If you're not running advanced server and enterprise edition, you won't
> really be able to use more than 4 logical or physical processors.
> But to answer your question, it depends - we saw little difference, except
> that HT is off now everywhere because of OS/Hardware stability problems.
> Just test it for yourself.
> --
> Kevin Connell, MCDBA
> ----
> The views expressed here are my own
> and not of my employer.
> ----
> "Kevin Jackson" <softwiz@.covad.net> wrote in message
> news:eBpRK29gDHA.1192@.TK2MSFTNGP12.phx.gbl...
> >
> > We are running SQL Server 2000 SP3 on Windows 2000 SP4 on a quad P4 xeon
> 2.8
> > ghz with 12 gig of ram. Hyperthreading is turned on and SQL sees 8
> > processors.
> >
> > I've heard that it performs better with HT turned off. Anyone here that?
> >
> >
>|||I don't think the OS will "mount" them ergo they're not available to SQL.
Not really sure tho.
Kevin Connell, MCDBA
----
The views expressed here are my own
and not of my employer.
----
"Tibor Karaszi" <tibor.please_reply_to_public_forum.karaszi@.cornerstone.se>
wrote in message news:ubaoQYYhDHA.3700@.TK2MSFTNGP11.phx.gbl...
> > If you're not running advanced server and enterprise edition, you won't
> > really be able to use more than 4 logical or physical processors.
> Apparently SQL2K with sp3 should be HT aware and be able to use more
logical processors then 4 on
> SE.
> --
> Tibor Karaszi, SQL Server MVP
> Archive at: http://groups.google.com/groups?oi=djq&as
ugroup=microsoft.public.sqlserver
>
> "Kevin" <ReplyTo@.Newsgroups.only> wrote in message
news:uLat%23WFhDHA.656@.TK2MSFTNGP12.phx.gbl...
> > If you're not running advanced server and enterprise edition, you won't
> > really be able to use more than 4 logical or physical processors.
> >
> > But to answer your question, it depends - we saw little difference,
except
> > that HT is off now everywhere because of OS/Hardware stability problems.
> >
> > Just test it for yourself.
> >
> > --
> > Kevin Connell, MCDBA
> > ----
> > The views expressed here are my own
> > and not of my employer.
> > ----
> > "Kevin Jackson" <softwiz@.covad.net> wrote in message
> > news:eBpRK29gDHA.1192@.TK2MSFTNGP12.phx.gbl...
> > >
> > > We are running SQL Server 2000 SP3 on Windows 2000 SP4 on a quad P4
xeon
> > 2.8
> > > ghz with 12 gig of ram. Hyperthreading is turned on and SQL sees 8
> > > processors.
> > >
> > > I've heard that it performs better with HT turned off. Anyone here
that?
> > >
> > >
> >
> >
>|||From what I've heard the same goes fro the OS as for SQL Server. With some service pack, the OS
becomes HT aware and can use more logical processors then the edition allow.
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as ugroup=microsoft.public.sqlserver
"Kevin" <ReplyTo@.Newsgroups.only> wrote in message news:eHd$5O2hDHA.1048@.TK2MSFTNGP11.phx.gbl...
> I don't think the OS will "mount" them ergo they're not available to SQL.
> Not really sure tho.
>
> --
> Kevin Connell, MCDBA
> ----
> The views expressed here are my own
> and not of my employer.
> ----
> "Tibor Karaszi" <tibor.please_reply_to_public_forum.karaszi@.cornerstone.se>
> wrote in message news:ubaoQYYhDHA.3700@.TK2MSFTNGP11.phx.gbl...
> > > If you're not running advanced server and enterprise edition, you won't
> > > really be able to use more than 4 logical or physical processors.
> >
> > Apparently SQL2K with sp3 should be HT aware and be able to use more
> logical processors then 4 on
> > SE.
> >
> > --
> > Tibor Karaszi, SQL Server MVP
> > Archive at: http://groups.google.com/groups?oi=djq&as
> ugroup=microsoft.public.sqlserver
> >
> >
> > "Kevin" <ReplyTo@.Newsgroups.only> wrote in message
> news:uLat%23WFhDHA.656@.TK2MSFTNGP12.phx.gbl...
> > > If you're not running advanced server and enterprise edition, you won't
> > > really be able to use more than 4 logical or physical processors.
> > >
> > > But to answer your question, it depends - we saw little difference,
> except
> > > that HT is off now everywhere because of OS/Hardware stability problems.
> > >
> > > Just test it for yourself.
> > >
> > > --
> > > Kevin Connell, MCDBA
> > > ----
> > > The views expressed here are my own
> > > and not of my employer.
> > > ----
> > > "Kevin Jackson" <softwiz@.covad.net> wrote in message
> > > news:eBpRK29gDHA.1192@.TK2MSFTNGP12.phx.gbl...
> > > >
> > > > We are running SQL Server 2000 SP3 on Windows 2000 SP4 on a quad P4
> xeon
> > > 2.8
> > > > ghz with 12 gig of ram. Hyperthreading is turned on and SQL sees 8
> > > > processors.
> > > >
> > > > I've heard that it performs better with HT turned off. Anyone here
> that?
> > > >
> > > >
> > >
> > >
> >
> >
>