ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Setting SQL Server MaxDOP - Looking for Advice

    IT Discussion
    2
    6
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NetworkNerdN
      NetworkNerd
      last edited by

      I was fortunate enough to attend Epicor Insights this year, and they had some sessions dedicated to performance tuning for SQL which I found quite helpful. One of the things they said was that most folks using a SQL database for Epicor do not have their max degree of parallelism set to something other than 0 (the default), which means people running large processes in the Epicor might be utilizing all processors on the SQL server and essentially bringing other areas to a screeching halt. I've seen that happen here and there. To improve performance they recommend setting the MaxDOP to something nonzero.

      We use SQL 2008 (not R2) 64-bit on Server 2008 R2 Datacenter Edition running as a VM with 4 vCPU and 32 GB RAM. If I read the articles below correctly, the large CXPACKET wait time we have from gathering some statistics means setting the MaxDOP to something like 1 or 2 could show a significant performance increase.

      http://shaunjstuart.com/archive/2012/06/setting-maxdop-on-multi-core-processor-servers/
      http://shaunjstuart.com/archive/2012/07/changing-sql-servers-maxdop-setting/

      So what do you recommend I set MaxDOP to be? I was thinking start with 1 and see how things go. For those who have tweaked MaxDOP for your environment, has anything suffered because of you setting it to a nonzero value?

      SQLWaitTimes.png

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        http://blogs.msdn.com/b/psssql/archive/2013/09/27/how-it-works-maximizing-max-degree-of-parallelism-maxdop.aspx

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          http://www.brentozar.com/archive/2013/09/five-sql-server-settings-to-change/

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            Basically you want to do NUMA isolation for best performance. Limit the number to the number of cores that you have available from a single CPU. Chances are, that is larger than your vCPU count so staying at zero works fine.

            NetworkNerdN 1 Reply Last reply Reply Quote 0
            • NetworkNerdN
              NetworkNerd @scottalanmiller
              last edited by

              @scottalanmiller
              Yes - that server has dual 8-core processors. Thanks for the help.

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                You bet.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post