This seems to be one of the more difficult topics to tackle for SQL Server, and it's definitely one I'm struggling to find a good/right answer to. I've been scouring various topics online for hours, but I still don't feel like I have a solid understanding of how to approach these in order to get the best possible performance. I'll use a server I have here as an example.
MAXDOP
The actual machine has 2 physical processors with 6 cores each, and it is hyperthreaded. I'm running SQL Server on a VM on this machine, and I have 10 of these total cores dedicated to the SQL Server VM - 5 from each NUMA node.
This article from Microsoft, it says:
- For servers that have NUMA configured, MAXDOP should not exceed the number of CPUs that are assigned to each NUMA node.
- For servers that have hyperthreading enabled, the MAXDOP value should not exceed...