HPC news for supercomputing professionals

“Concurrent” does not equal “parallel”

Douglas Eadline has an informative article that reviews some of the basic tenets of parallel programming, including the lesson that concurrency is a property of an algorithm, but having it is not the same as realizing a parallel implementation.

If the independent parts are run on separate cores/nodes then we will say the program is executed in parallel. And, just because your program has some concurrency, it does not mean that it will run efficiently in parallel. The distinction is subtle, but very important when real hardware is used. Since the goal is to make your program run faster, we need to ask the question, Does making all the concurrent parts of the program parallel increase execution speed? The answer to that question is a definite “maybe.” Why? Because in some cases running concurrent parts of your program in parallel may actually slow down your the overall application!

It’s good to review the basics every now and then. Check it out.


Like what you're reading? Come back every day for HPC news, or subscribe to email or RSS updates. Trackback URL: http://insidehpc.com/2008/05/14/concurrent-does-not-equal-parallel/trackback/

Leave your own comment

Commenting Options: you may sign in with your Facebook account if you wish. This feature will connect insideHPC with Facebook to interact with your friends on this site and to share on Facebook through your Wall and friends' News Feeds.

Comments will be sent to the moderation queue.

Additional comments powered by BackType

Advertisement

insideHPC.com is a production of indigoBit, LLC. © 2006-2010 Sitemap