<?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>How It Works: CMemThread and Debugging Them</title><link>http://blogs.msdn.com/b/psssql/archive/2012/12/20/how-it-works-cmemthread-and-debugging-them.aspx</link><description>The wait type of CMemThread shows up in outputs such as sys.dm_exec_requests.&amp;#160; This post is intended to explain what a CMemThread is and what you might be able to do to avoid the waits.&amp;#160; The easiest way to describe a CMemThread is to talk about</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How It Works: CMemThread and Debugging Them</title><link>http://blogs.msdn.com/b/psssql/archive/2012/12/20/how-it-works-cmemthread-and-debugging-them.aspx#10405510</link><pubDate>Tue, 26 Mar 2013 18:59:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10405510</guid><dc:creator>Lonny Niederstadt</dc:creator><description>&lt;p&gt;Excellent! &amp;nbsp;Used this information to assist in diagnosing and remedying a spinlock convoy on two different systems - an AMD server and an Intel server. &amp;nbsp;Both systems were hitting 100% CPU utilized with very few logical reads. &amp;nbsp;Trace flag 8048 resolved the issue.&lt;/p&gt;
&lt;p&gt;In Bod Borr&amp;#39;s post about trace flag 8048, he said: &amp;quot;Remember this requires more memory overhead...&amp;quot;&lt;/p&gt;
&lt;p&gt;Where would this overhead show up - in the operation of the memory clerks? &amp;nbsp;Is there something from the DMVs or perfmon that I can capture before and after to indicate the cost of trace flag 8048 on a given system?&lt;/p&gt;
&lt;p&gt;Cross-posted the question at Bob&amp;#39;s post as well.&lt;/p&gt;
&lt;p&gt;blogs.msdn.com/b/psssql/archive/2011/09/01/sql-server-2008-2008-r2-on-newer-machines-with-more-than-8-cpus-presented-per-numa-node-may-need-trace-flag-8048.aspx&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10405510" width="1" height="1"&gt;</description></item><item><title>re: How It Works: CMemThread and Debugging Them</title><link>http://blogs.msdn.com/b/psssql/archive/2012/12/20/how-it-works-cmemthread-and-debugging-them.aspx#10384817</link><pubDate>Mon, 14 Jan 2013 17:29:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10384817</guid><dc:creator>J. Granden</dc:creator><description>&lt;p&gt;Awesome post!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently fighting a spinlock issue, and I was able to use the XEvent callstack histogram + windbg technique to identify temp table statistics as the culprit. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;With this knowledge, I switched to table variables, and it eliminated the issue. Now I&amp;#39;ve got a band-aid in place, and a head-start for the CSS support incident i&amp;#39;m opening.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10384817" width="1" height="1"&gt;</description></item></channel></rss>