Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

MAXDOP and cost threshold for parallelism

$
0
0

I have read MS recommendation on MAXDOP here, my server has NUMA and hyperthreading. I understand that I should not set MAXDOP higher than the number of physical processors per NUMA node. But how do I know how many physical processors are assigned to each node? If I have 2 nodes, do I just assume it is divided evenly? I haven't made any changes to processor affinity. If my server has dual xeon e5-2680 (8 cores each) I have 16 physical cores and 32 threads. Does that mean I have 8 cores per NUMA node? I believe I have 2 NUMA nodes based on the fact I have memory_node_id's of 0,1 and 64 when I SELECT DISTINCT memory_node_id FROM sys.dm_os_memory_clerks.

Regarding the cost threshold, I found Jonathan Kehayias's query to check plan counts/costs. However my SQL server is in a locked-down environment that doesn't have internet access to ...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>