<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Max worker threads</title><link>http://blogs.msdn.com/b/khen1234/archive/2005/11/07/489778.aspx</link><description>Saw an article online the other day that compelled me to respond. The author was suggesting that SQL Server instances with high numbers of user connections would benefit from having their max worker threads setting increased. He tossed around several</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Does anyone use more than 256 worker threads ? | keyongtech</title><link>http://blogs.msdn.com/b/khen1234/archive/2005/11/07/489778.aspx#9363002</link><pubDate>Thu, 22 Jan 2009 08:06:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9363002</guid><dc:creator>Does anyone use more than 256 worker threads ? | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/2232298-does-anyone-use-more-than"&gt;http://www.keyongtech.com/2232298-does-anyone-use-more-than&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9363002" width="1" height="1"&gt;</description></item><item><title>Increasing Max worker threads - A negative impact &amp;laquo; Duty Free!! The World Logs here&amp;#8230;</title><link>http://blogs.msdn.com/b/khen1234/archive/2005/11/07/489778.aspx#9355134</link><pubDate>Wed, 21 Jan 2009 08:48:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9355134</guid><dc:creator>Increasing Max worker threads - A negative impact &amp;laquo; Duty Free!! The World Logs here&amp;#8230;</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://honeyvirus.wordpress.com/2009/01/21/increasing-max-worker-threads-a-negative-impact/"&gt;http://honeyvirus.wordpress.com/2009/01/21/increasing-max-worker-threads-a-negative-impact/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9355134" width="1" height="1"&gt;</description></item><item><title>re: Max worker threads</title><link>http://blogs.msdn.com/b/khen1234/archive/2005/11/07/489778.aspx#4812635</link><pubDate>Fri, 07 Sep 2007 20:12:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4812635</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;Ken,&lt;/p&gt;
&lt;p&gt;While I love your books I can't reconcile between your post above saying to not change this setting when others at Microsoft say to do this. See the technet article &lt;a rel="nofollow" target="_new" href="http://technet.microsoft.com/en-us/library/ms187024.aspx"&gt;http://technet.microsoft.com/en-us/library/ms187024.aspx&lt;/a&gt; &amp;nbsp;In it, they state:&lt;/p&gt;
&lt;p&gt;The default value for max worker threads, 0, allows SQL Server to automatically configure the number of worker threads at startup. This setting is best for most systems; however, depending on your system configuration, setting max worker threads to a specific value sometimes improves performance.&lt;/p&gt;
&lt;p&gt;The following table shows the automatically configured number of max worker threads for various combinations of CPUs and versions of SQL Server.&lt;/p&gt;
&lt;p&gt;Number of CPUs 	32-bit computer 	64-bit computer&lt;/p&gt;
&lt;p&gt;&amp;lt;= 4 processors &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;256 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;512&lt;/p&gt;
&lt;p&gt;8 processors &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 288 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;576&lt;/p&gt;
&lt;p&gt;16 processors &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 352 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;704&lt;/p&gt;
&lt;p&gt;32 processors &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 480 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;960&lt;/p&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;p&gt;We recommend 1024 as the maximum for 32-bit SQL Server and 2048 for 64-bit SQL Server.&lt;/p&gt;
&lt;p&gt;This leaves &amp;nbsp;me confused as I have a SS2K server with 12 &amp;nbsp;itanium processor with 64 GB of memory along with 1500 connections into the database &amp;nbsp;and a consultant who says bump the number of Max worker threads up. &amp;nbsp; &amp;nbsp;Who am I to believe?&lt;/p&gt;
&lt;p&gt;Can I use 0 for Max Worker Threads on a SQL Server 2000 database and let it manage everything?&lt;/p&gt;
&lt;p&gt;Tim&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4812635" width="1" height="1"&gt;</description></item><item><title>re: Max worker threads</title><link>http://blogs.msdn.com/b/khen1234/archive/2005/11/07/489778.aspx#4761332</link><pubDate>Wed, 05 Sep 2007 14:40:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4761332</guid><dc:creator>Pat</dc:creator><description>&lt;p&gt;Do you concur with Joe's findings... ? thanks. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4761332" width="1" height="1"&gt;</description></item><item><title>re: Max worker threads</title><link>http://blogs.msdn.com/b/khen1234/archive/2005/11/07/489778.aspx#691442</link><pubDate>Tue, 08 Aug 2006 00:44:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:691442</guid><dc:creator>Joe</dc:creator><description>Ken,&lt;br&gt;&lt;br&gt;In high volume, short transaction time applications (especially those that use client-side transactions or distributed transactions), we've found that if max_worker_threads is set too low then you start getting hung schedulers (17883 errors, etc.). &amp;nbsp;This gets exacerbated on multiprocessor boxes because any individual scheduler needs a shorter blocking chain to put it at risk for a hung scheduler condition. &amp;nbsp;I agree that increasing max_worker_threads has no impact on performance (or even a negative impact), but the fact is that with the given scheduler architecture in SQL 2000 you have to sacrifice some throughput to guarantee server stability (enhance maybe a better word than guarantee - even with higher worker thread settings you can still get occasionally 17883 errors, which makes your customers start screaming for Oracle).&lt;br&gt;&lt;br&gt;Joe&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=691442" width="1" height="1"&gt;</description></item></channel></rss>