

































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Data and Computation Decompositions methods and Tasks and Dependency Graphs are part of lecture
Typology: Slides
1 / 41
This page cannot be seen from the preview
Don't miss anything!


































COMP 422 Lecture 4 17 January 2008
Recap of Lecture 3
Acknowledgments for today’s lecture
Outline of Today’s Lecture
Example: Database Query Processing Consider the execution of the query:
GREEN'' OR COLOR =WHITE)on the following database:
Example: Database Query Processing The execution of the query can be divided into subtasks in various ways. Each task can be thought of as generating an intermediate table of entries that satisfy a particular clause.
Critical Path Length
Examples of Critical Path Length Consider the task dependency graphs of the two database query decompositions: Total work = 63 Crit. path length = 27 Avg. concurrency ~ 2. Total work = 64 Crit. path length = 34 Avg. concurrency ~ 1.
Upper Bounds on T P
Performance Bound for Greedy Algorithm NOTE: performance bound approaches 1 (optimal) when one of the max terms dominates the other
P
1
∞
P
∞
1
Developing Socrates
Outline of Today’s Lecture
Decomposition Techniques: Patterns for Parallel Algorithms So how does one decompose a task into various subtasks? While there is no single recipe that works for all problems, we present a set of commonly used techniques that apply to broad classes of problems. These include: