Task/Channel Model - PowerPoint PPT Presentation

1 / 38
About This Presentation
Title:

Task/Channel Model

Description:

Mapping Example. Case Studies. Boundary value problem. Finding the maximum. The n-body problem ... Examples. Add. Multiply. And, Or. Maximum, Minimum. Parallel ... – PowerPoint PPT presentation

Number of Views:12
Avg rating:3.0/5.0
Slides: 39
Provided by: course5
Category:
Tags: case | channel | examples | model | study | task

less

Transcript and Presenter's Notes

Title: Task/Channel Model


1
Task/Channel Model
2
Fosters Design Methodology
  • Partitioning
  • Communication
  • Agglomeration
  • Mapping

3
Fosters Methodology
4
Example Domain Decompositions
5
Example Functional Decomposition
6
Agglomeration Can Improve Performance
  • Eliminate communication between primitive tasks
    agglomerated into consolidated task
  • Combine groups of sending and receiving tasks

7
Mapping Example
8
Case Studies
  • Boundary value problem
  • Finding the maximum
  • The n-body problem
  • Adding data input

9
Boundary Value Problem
Ice water
Rod
Insulation
10
Rod Cools as Time Progresses
11
Finite Difference Approximation
12
Agglomeration and Mapping
13
Sequential execution time
  • ? time to update element
  • n number of elements
  • m number of iterations
  • Sequential execution time m (n-1) ?

14
Parallel Execution Time
  • p number of processors
  • ? message latency
  • Parallel execution time m(??(n-1)/p?2?)

15
Finding the Maximum Error
6.25
16
Reduction
  • Given associative operator ?
  • a0 ? a1 ? a2 ? ? an-1
  • Examples
  • Add
  • Multiply
  • And, Or
  • Maximum, Minimum

17
Parallel Reduction Evolution
18
Parallel Reduction Evolution
19
Parallel Reduction Evolution
20
Binomial Trees
21
Finding Global Sum
4
2
0
7
-3
5
-6
-3
8
1
2
3
-4
4
6
-1
22
Finding Global Sum
1
7
-6
4
4
5
8
2
23
Finding Global Sum
8
-2
9
10
24
Finding Global Sum
17
8
25
Finding Global Sum
25
26
Agglomeration
27
Agglomeration
28
The n-body Problem
29
The n-body Problem
30
Partitioning
  • Domain partitioning
  • Assume one task per particle
  • Task has particles position, velocity vector
  • Iteration
  • Get positions of all other particles
  • Compute new position, velocity

31
Gather
32
All-gather
33
Complete Graph for All-gather
34
Hypercube for All-gather
35
Communication Time
36
Adding Data Input
37
Scatter
38
Scatter in log p Steps
12345678
Write a Comment
User Comments (0)
About PowerShow.com