<?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>Most Common Performance Issues in Parallel Programs</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx</link><description>Since the goal of Parallel Extensions is to simplify parallel programming, and the motivation behind parallel programming is performance, it is not surprising that many of the questions we receive about our CTP releases are performance-related. Developers</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Most Common Performance Issues in Parallel Programs</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#8850244</link><pubDate>Tue, 12 Aug 2008 10:56:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8850244</guid><dc:creator>IHateSpaghetti {code}</dc:creator><description>&lt;p&gt;The Parallel Programming with .NET (pfxteam) has published a list of issues why a concurrent program&lt;/p&gt;
</description></item><item><title>re: Most Common Performance Issues in Parallel Programs</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#8856129</link><pubDate>Wed, 13 Aug 2008 08:30:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8856129</guid><dc:creator>Omer van Kloeten</dc:creator><description>&lt;p&gt;Will the issue with GC be mitigated by using Concurrent GC or is Server GC the only (best?) solution?&lt;/p&gt;
</description></item><item><title>Reflective Perspective - Chris Alcock  &amp;raquo; The Morning Brew #157</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#8856589</link><pubDate>Wed, 13 Aug 2008 10:18:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8856589</guid><dc:creator>Reflective Perspective - Chris Alcock  &amp;raquo; The Morning Brew #157</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://blog.cwa.me.uk/2008/08/13/the-morning-brew-157/"&gt;http://blog.cwa.me.uk/2008/08/13/the-morning-brew-157/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>  Most Common Performance Issues in Parallel Programs | Igor Ostrovsky Blogging</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#8856857</link><pubDate>Wed, 13 Aug 2008 11:15:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8856857</guid><dc:creator>  Most Common Performance Issues in Parallel Programs | Igor Ostrovsky Blogging</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://igoro.com/archive/most-common-performance-issues-in-parallel-programs/"&gt;http://igoro.com/archive/most-common-performance-issues-in-parallel-programs/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Most Common Performance Issues in Parallel Programs</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#8857943</link><pubDate>Wed, 13 Aug 2008 15:37:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8857943</guid><dc:creator>MS Consulting Blog</dc:creator><description>&lt;p&gt;Most Common Performance Issues in Parallel Programs&lt;/p&gt;
</description></item><item><title>re: Most Common Performance Issues in Parallel Programs</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#8888131</link><pubDate>Fri, 22 Aug 2008 19:15:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8888131</guid><dc:creator>David</dc:creator><description>&lt;p&gt;&amp;quot;In such cases, though, the asynchronous programming model would likely result in even better performance.&amp;quot;&lt;/p&gt;
&lt;p&gt;So, we still need APM?&lt;/p&gt;
</description></item><item><title>re: Most Common Performance Issues in Parallel Programs</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#8890747</link><pubDate>Sat, 23 Aug 2008 23:25:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8890747</guid><dc:creator>toub</dc:creator><description>&lt;p&gt;Omer, the concurrent GC doesn't really mitigate the issue like the server GC does.&lt;/p&gt;
&lt;p&gt;David, yes. &amp;nbsp;But we're investigating making it easier to use the Task Parallel Library to help use the APM. &amp;nbsp;It's already possible to create Task/Future&amp;lt;T&amp;gt; wrappers around Begin/End calls, such as with the example at &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/pfxteam/archive/2008/03/16/8272833.aspx"&gt;http://blogs.msdn.com/pfxteam/archive/2008/03/16/8272833.aspx&lt;/a&gt;.&lt;/p&gt;
</description></item><item><title>re: Most Common Performance Issues in Parallel Programs</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#8921672</link><pubDate>Wed, 03 Sep 2008 12:01:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8921672</guid><dc:creator>Frank Bakker</dc:creator><description>&lt;p&gt;In my current project I have a scenario where I loop over 10.000 to a 100.000 items. For each item I read some data from a database (IO), do some conversion logic (CPU) and write the resulting XML to disk (IO). The total time for processing of a single item is about 50 ms. The processing of each item is independant from the processing of every other item, so this could very well be done in parallel and would be a good candiate for the TPL.&lt;/p&gt;
&lt;p&gt;As I understand it, the TPL's scheduler is optimised for scenario's with CPU intensive tasks. I wonder how it will perform in this scenario where tasks are both CPU and IO intensive, will the CPU idl while a task is waiting for IO, or is the next task scheduled in to take over?&lt;/p&gt;
&lt;p&gt;My experience with asyncrounous IO is that the thread hopping can quickly obfuscate the code, so I would reather not go there.&lt;/p&gt;
</description></item><item><title>re: Most Common Performance Issues in Parallel Programs</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#8925481</link><pubDate>Fri, 05 Sep 2008 02:25:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8925481</guid><dc:creator>igoro</dc:creator><description>&lt;p&gt;Frank,&lt;/p&gt;
&lt;p&gt;We are still making changes to the TPL scheduler, so I can't say for sure how precisely it will interact with I/O.&lt;/p&gt;
&lt;p&gt;But, you are right in saying that TPL is optimized for execution of CPU-intensive tasks. Even if the tasks are I/O bound, you may still see a speedup if the I/O device can service all the requests coming from multiple CPUs. That may be the case for example if you are reading from a disk array, or sending requests over the network to multiple servers.&lt;/p&gt;
&lt;p&gt;On the other hand, if much of the time is spent reading from a single harddisk, then concurrency probably won't make things any faster.&lt;/p&gt;
&lt;p&gt;Hope this helps explain things.&lt;/p&gt;
</description></item><item><title>Intel Software Network Blogs  &amp;raquo; Eliminate False Sharing? Wrong!</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#8993571</link><pubDate>Fri, 10 Oct 2008 04:30:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8993571</guid><dc:creator>Intel Software Network Blogs  &amp;raquo; Eliminate False Sharing? Wrong!</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://software.intel.com/en-us/blogs/2008/10/09/eliminate-false-sharing-wrong/"&gt;http://software.intel.com/en-us/blogs/2008/10/09/eliminate-false-sharing-wrong/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Most Common Performance Issues in Parallel Programs</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#9142910</link><pubDate>Wed, 26 Nov 2008 02:03:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9142910</guid><dc:creator>john.rayner</dc:creator><description>&lt;p&gt;How do you detect that false cache-line sharing is an issue for an application? &amp;nbsp;Are there any tools that can monitor requests to main memory in order to detect this?&lt;/p&gt;
</description></item><item><title>re: Most Common Performance Issues in Parallel Programs</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#9142973</link><pubDate>Wed, 26 Nov 2008 02:47:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9142973</guid><dc:creator>igoro</dc:creator><description>&lt;p&gt;John,&lt;/p&gt;
&lt;p&gt;This MSDN Magazine article discusses false sharing in more detail, including tools that can be used to detect it: &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/magazine/cc872851.aspx"&gt;http://msdn.microsoft.com/en-us/magazine/cc872851.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Igor&lt;/p&gt;
</description></item><item><title> Parallel Programming with NET Most Common Performance Issues in | work from home</title><link>http://blogs.msdn.com/pfxteam/archive/2008/08/12/8849984.aspx#9761005</link><pubDate>Tue, 16 Jun 2009 14:55:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9761005</guid><dc:creator> Parallel Programming with NET Most Common Performance Issues in | work from home</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://workfromhomecareer.info/story.php?id=22777"&gt;http://workfromhomecareer.info/story.php?id=22777&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>