












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
0
4
Identifying parallel tasks with large extent of possible parallel activity
Grouping the tasks into processes with best load balancing
Reducing synchronization and communication costs
Mapping of processes to processors
5
7
0 P 2
3
4
5
6
1 When a process reaches the barrier call, it sends a message to the master process
8
0 P 2
3
4
5
6
1 When the master process has received n messages, it sends a message to each of the participating processes to go ahead
10
3
4
1 Master does 3 receives and then 3 sends
11
3
4
1
Each process does 3 send- receives Stage 1: P0-P1, P2-P3, P4-P5, P6-P Stage 2: P0-P2, P1-P3, P4-P6, P5-P Stage 3: P0-P4, P1-P5, P2-P6, P3-P
13
14
16
2
17
19
20