<?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>Concurrency, Part 15 - Wrapping it all up.</title><link>http://blogs.msdn.com/larryosterman/archive/2005/03/10/392258.aspx</link><description>Today I want to wrap up my concurrency series (finally). There are some more topics I'll be covering in the future (like the debugging concurrency issues I talked about yesterday :)), but I think I've said a reasonable amount about the issue (and frankly,</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Nice Series on Concurrency</title><link>http://blogs.msdn.com/larryosterman/archive/2005/03/10/392258.aspx#392355</link><pubDate>Thu, 10 Mar 2005 21:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:392355</guid><dc:creator>Better Half</dc:creator><description>Larry Osterman's Concurrency Series This is the last post in a series about concurrent programming....</description></item><item><title>re: Concurrency, Part 15 - Wrapping it all up.</title><link>http://blogs.msdn.com/larryosterman/archive/2005/03/10/392258.aspx#392359</link><pubDate>Thu, 10 Mar 2005 18:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:392359</guid><dc:creator>JD</dc:creator><description>Can we release this as a pocket bible for concurrency? :)&lt;br&gt;&lt;br&gt;Though at current stage, I don't have to worry about concurrency, but it was an insightful series. Which series is coming up next? &lt;br&gt;&lt;br&gt;JD</description></item><item><title>re: Concurrency, Part 15 - Wrapping it all up.</title><link>http://blogs.msdn.com/larryosterman/archive/2005/03/10/392258.aspx#392373</link><pubDate>Thu, 10 Mar 2005 18:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:392373</guid><dc:creator>B.Y.</dc:creator><description>Well, here's an app design question somewhat related to concurrency. I worked on a video streaming application that handles up to 16 video streams (but in most cases the number of video streams is 4 or 8), and for each video stream, there're the following major tasks:&lt;br&gt;&lt;br&gt;*receive packets from the network&lt;br&gt;*save video to disk&lt;br&gt;*decode (bottleneck)&lt;br&gt;*display (bottleneck)&lt;br&gt;&lt;br&gt;How would you arrange things (threads and whatever) in this application for maximum performance ?</description></item><item><title>re: Concurrency, Part 15 - Wrapping it all up.</title><link>http://blogs.msdn.com/larryosterman/archive/2005/03/10/392258.aspx#392422</link><pubDate>Thu, 10 Mar 2005 19:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:392422</guid><dc:creator>Capt. Jean-Luc Pikachu</dc:creator><description>Wasn't there a Part 0?  I think it was the spot the bug one w/ the 2 threads for copying a file or something?</description></item><item><title>re: Concurrency, Part 15 - Wrapping it all up.</title><link>http://blogs.msdn.com/larryosterman/archive/2005/03/10/392258.aspx#392933</link><pubDate>Thu, 10 Mar 2005 21:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:392933</guid><dc:creator>Drew</dc:creator><description>I was almost expecting &amp;quot;the future of concurrency&amp;quot; and an intro to Cw (that's supposed to be an omega) after the CLR post. This was good. I enjoyed it and it left me wanting more. Always leave 'em wanting more.&lt;br&gt;Thanks, Larry.</description></item><item><title>re: Concurrency, Part 15 - Wrapping it all up.</title><link>http://blogs.msdn.com/larryosterman/archive/2005/03/10/392258.aspx#396931</link><pubDate>Wed, 16 Mar 2005 18:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:396931</guid><dc:creator>Eric Lippert</dc:creator><description>&amp;gt; How would you arrange things (threads and whatever) in this application for maximum performance &lt;br&gt;&lt;br&gt;Let me answer that question with another question: why is MAXIMUM performance important to you?  Isn't your goal to achieve ACCEPTABLE performance?&lt;br&gt;&lt;br&gt;Spending time and money to make code faster than it needs to be is stealing time and money from robustness, security, bug fixing, more feature work, and plain old returning unspent cash to shareholders.&lt;br&gt;&lt;br&gt;To actually answer your question -- if you want MAXIMUM performance, don't fool around with the NT thread scheduler.  It was designed to work well for general-purpose application programming, on machines being used for everything from serving web pages to playing nethack.  You're going to waste entire microseconds in badly timed context switches.&lt;br&gt;&lt;br&gt;If you want MAXIMUM performace, write your own custom thread scheduler specifically tailored to your task -- preferably in tightly optimized assembly.  A deep knowledge of fibers will come in handy.  Good luck!</description></item><item><title>Another year, another post</title><link>http://blogs.msdn.com/larryosterman/archive/2005/03/10/392258.aspx#552082</link><pubDate>Wed, 15 Mar 2006 20:21:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:552082</guid><dc:creator>Larry Osterman's WebLog</dc:creator><description>Well, this year I didn't miss the anniversary of my first blog post.&lt;br&gt;I still can't quite believe it's...</description></item></channel></rss>