Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 Administration
»
CPU considerations for multiple instances
CPU considerations for multiple instances
Rate Topic
Display Mode
Topic Options
Author
Message
scogeb
scogeb
Posted Friday, March 01, 2013 12:42 PM
Valued Member
Group: General Forum Members
Last Login: Friday, June 07, 2013 11:45 AM
Points: 64,
Visits: 321
I've been researching this and haven't found much info so I'm not sure what most people do. Consider a server with 48 cores running 4 SQL instances. The server has 192GB RAM and I have max memory set per instance, but there isn't a max CPU so to speak. I have MAXDOP set to 8, but that is just per query. If multiple queries come in, one instance could spike all the cores and starve the other instances.
I'm considering enabling only certain NumaNodes for each instance. Is that the route to go?
Here's another wrench in the mix. The instances will be in a Veritas cluster so they can/will failover to another physical server. If I set specific NumaNodes for an instance, will it use the same NumaNodes on the failover server?
Any suggestions or past experiences will be appreciated!
Post #1425697
Leo.Miller
Leo.Miller
Posted Sunday, March 03, 2013 7:34 PM
SSC-Addicted
Group: General Forum Members
Last Login: Monday, June 10, 2013 10:06 PM
Points: 442,
Visits: 1,304
Is this OLTP or data warehousing?
For OLTP on SQL Server 2008 there's still justification for setting MAXDOP to 1. Ideally you shouldn't have any OLTP queries needing multiple cores, and if they do this option will stop them killing the server though their individual performance may suffer. With data warehousing and from SQL 2008R2 on this may not be the best option.
I don't like the idea of allocating cores to instances because if you are running Active/Active then the best use you can get from the CPUs is the sum of the allocated cores on a node, potentially half the cores which is a waste.
Using MAXDOP = 1 and monitoring CPU load would be my prefered option.
Cheers
Leo
Post #1426058
Lynn Pettis
Lynn Pettis
Posted Sunday, March 03, 2013 7:38 PM
SSC-Insane
Group: General Forum Members
Last Login: Yesterday @ 9:17 PM
Points: 21,832,
Visits: 27,855
You should be able to assign the cores to specific instances by setting the processor affinity. Look at the properties of the instances.
Lynn Pettis
For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here
or
when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here
and
here
Managing Transaction Logs
SQL Musings from the Desert
Fountain Valley SQL
(My Mirror Blog)
Post #1426059
GilaMonster
GilaMonster
Posted Monday, March 04, 2013 12:55 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Today @ 2:15 AM
Points: 38,069,
Visits: 30,363
Typically I just let Windows balance them out via the normal scheduling. If you want to limit, rather don't use processor affinity (and please don't set maxdop to 1).
You can set CPU ratios via a windows tool. Windows resource toolkit or something like that, I forget the exact name. That lets you set limits on CPU usage for various apps
Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
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
Post #1426106
scogeb
scogeb
Posted Monday, March 04, 2013 9:07 AM
Valued Member
Group: General Forum Members
Last Login: Friday, June 07, 2013 11:45 AM
Points: 64,
Visits: 321
Thanks, I will look into that tool.
I have MAXDOP set at 8 right now. From the research I've done, that is a good setting for the amount of cores I have. Sound good?
Post #1426302
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.