Geeks With Blogs
Kaleidoscope Everything under the sun, ending in .Net

Parallel computing is the simultaneous use of multiple compute resources to solve a computational problem:

    • To be run using multiple CPUs
    • A problem is broken into discrete parts that can be solved concurrently
    • Each part is further broken down to a series of instructions
    • Instructions from each part execute simultaneously on different CPUs

Parallel Extensions in .NET 4.0 provides a set of libraries and tools to achieve the above mentioned objectives. This supports two paradigms of parallel computing

  • Data Parallelism – This refers to dividing the data across multiple processors for parallel execution.e.g we are processing an array of 1000 elements we can distribute the data between two processors say 500 each. This is supported by the Parallel LINQ (PLINQ) in .NET 4.0
  • Task Parallelism – This breaks down the program into multiple tasks which can be parallelized and are executed on different processors. This is supported by Task Parallel Library (TPL) in .NET 4.0

      A high level view is shown below:

      clip_image002

      Posted on Wednesday, April 21, 2010 11:53 PM | Back to top


      Comments on this post: Parallel Computing in .Net 4.0

      No comments posted yet.
      Your comment:
       (will show your gravatar)


      Copyright © kaleidoscope | Powered by: GeeksWithBlogs.net