Parallelism andVLSIGroup Prof.Dr.JörgKeller DepartmentofMathematics andComputerScience
External"Parallel GraphAlgorithms
Course 01727ParallelProgramming
DepartmentofMathematics andComputerScience
Overview
External"Memory Algorithms ParallelGraphAlgorithms Application Algorithms Summary
- Parallelism andVLSIGroup
Prof.Dr.J.Keller DepartmentofMathematics andComputerScience
External-Memory Algorithms
External"memory alg =data set too largetoholdinmem Data onhard disk: bandwidth ok for few access patterns pagewise access latency high random access very slow Bestknown example: external sorting (mostly merge sort,mostly databases)
- Parallelism andVLSIGroup
Prof.Dr.J.Keller DepartmentofMathematics andComputerScience
Parallel Graph Algorithms I
- Graphrepresentation:
" explicit by adjacency list " implicit by oracle
- Oracle:call black"box code with node xasparameter
- btain f(x)suchthat (x,f(x))is edge
- Advantageofexplicit representation:
graph can be changed,e.g.pointer jumping
- Advantageofimplicit representation:
able tohandlereally largegraphs without ext.memory
- Parallelism andVLSIGroup
Prof.Dr.J.Keller DepartmentofMathematics andComputerScience
Parallel Graph Algorithms II
- Example:
given digraph Gwith outdegree 1by oracle compute strongly connected components (SCCs)
- Two variants:
" indegree alsoexactly 1(know function fis bijective) " indegree may vary (know nothing about function f)
- Parallelism andVLSIGroup
Prof.Dr.J.Keller DepartmentofMathematics andComputerScience
Application I
- Consider finitestate machine accepting noinput
(except ininit phase)
- Stategraph hasoutdegree exactly 1
- Examples:
pseudo"random number generator stream cipher iterated blockcipher cryptographic hash chain
- Parallelism andVLSIGroup
Prof.Dr.J.Keller