<?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>MSBuild Team Blog : Eric Mazurkiewicz</title><link>http://blogs.msdn.com/msbuild/archive/tags/Eric+Mazurkiewicz/default.aspx</link><description>Tags: Eric Mazurkiewicz</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Node Reuse in MultiProc MSBuild</title><link>http://blogs.msdn.com/msbuild/archive/2007/04/16/node-reuse-in-multiproc-msbuild.aspx</link><pubDate>Mon, 16 Apr 2007 22:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2156394</guid><dc:creator>msbuild</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/msbuild/comments/2156394.aspx</comments><wfw:commentRss>http://blogs.msdn.com/msbuild/commentrss.aspx?PostID=2156394</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;Greetings MSBuilders!&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;With the MultiProc support in MSBuild Orcas (now available in Visual Studio Orcas Beta 1), we’ve added the ability to reuse the MSBuild child nodes between builds.&amp;nbsp; When you’re doing multiple builds in a row, this helps reduce your total build time, by avoiding the start up costs of each child node.&amp;nbsp; By default, when doing a MultiProc build (using /m:2 or greater), nodeReuse is enabled. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;FONT face=Calibri size=3&gt;Example:&amp;nbsp; You have dirs.proj (a traversal project) that builds p1.proj, p2.proj, and p3.proj.&amp;nbsp; Using the following command line to /m:3 dirs.proj&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;FONT face=Calibri size=3&gt;You will get 3 MSBuild nodes started, one parent node with 2 child nodes.&amp;nbsp; The 2 child nodes will, by default in this example, remain after your build completes.&amp;nbsp; If you were to build again (same projects, or different, with 2 or more nodes), the 2 child nodes will be re-used by that build.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;Things to know with nodeReuse.&amp;nbsp; The timeout value for these child nodes is 60 seconds if they remain idle, before they will be terminated.&amp;nbsp; Because of these 60 second timeout, if you’re not doing multiple builds, you can disable nodeReuse (/nr:false) to avoid the extra processes from running after your build completes.&amp;nbsp; If a node was started by another user or the same user with different elevation access (Vista), those child nodes will not be reused.&amp;nbsp; You can only reuse a node that you created with the same level of access that they were started in. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;[ Author: Eric, MSBuild Software Engineer ]&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2156394" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/msbuild/archive/tags/Eric+Mazurkiewicz/default.aspx">Eric Mazurkiewicz</category></item></channel></rss>