
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































2
—identify what pieces of work can be performed concurrently —partition concurrent work onto independent processors —distribute a program’s input, output, and intermediate data —coordinate accesses to shared data: avoid conflicts —ensure proper order of work using synchronization
—if data is in shared memory, distributing it may be unnecessary —if using message passing, there may not be shared data —the mapping of work to processors can be done statically by the programmer or dynamically by the runtime
4
5
7
CIVIC'' AND YEAR = 2001 AND (COLOR =GREEN'' OR COLOR = ``WHITE)8
CIVIC'' AND YEAR = 2001 AND (COLOR =GREEN'' OR COLOR = ``WHITE)10
11
A b y 2 n Task 1 2 n 1
13
Examples: database query task dependency graphs Questions: What are the tasks on the critical path for each dependency graph? What is the shortest parallel execution time for each decomposition? How many processors are needed to achieve the minimum time? What is the maximum degree of concurrency? What is the average parallelism?
14
Questions: What does a task dependency graph look like for DMVP? What is the shortest parallel execution time for the graph? How many processors are needed to achieve the minimum time? What is the maximum degree of concurrency? What is the average parallelism? A b y 2 n Task 1 2 n 1
16
17
19
20