Presentation is loading. Please wait.

Presentation is loading. Please wait.

MPICH2 for Windows Parallelism on (LCS) Longest Common Subsequence

Similar presentations


Presentation on theme: "MPICH2 for Windows Parallelism on (LCS) Longest Common Subsequence"— Presentation transcript:

1 MPICH2 for Windows Parallelism on (LCS) Longest Common Subsequence
Tu Tran Tao Shen Thomas Hardinger

2 The Final Report MPICH2 on Windows Microsoft Visual C++ LCS Filediff

3 MPICH2 on Windows – Why? Some surveys say 90% of the World uses windows. Some say 80% Some say “Nobody really Knows!”

4 MS Visual C++ Express Edition – Why?
C++ is a Modern Object Oriented Language MS C++ was Free to download Express Edition 2008 has all the necessary tool to write, debug, test, and compile parallel programs.

5 The Algorithm– LCS Why? Longest Common Subsequence LCS

6 The Application – Filediff Why?
Filediff is a practical application of the Algorithm LCS The C++ source code was available Running this application on parallel computers was a challenge Benefits from parallelism desirable Results could be measured

7 Setup and Implementation
2 Lap Tops and 1 Desk Top Total of 5 processors running Parallel!

8 Components of the Algorithm
Part 1. Reading the files (2n times) Part 2. Comparing the files ( n2 k execution) Part 3. Printing the Difference (n execution) 2n * n2 + n Θ(n) n2 + Θ(n)

9 Option B, Analysis First is to populate the matrix with only the equivalency data – 1 for equal, 0 for not equal. Second, traversing the same matrix, we establish the LCS length. Θ(n) + n * n2 + Θ(n) Speedup = 1 / (.99 / P) 100 Max

10 Option C, Analysis Each processor will be assigned a row index of i .
If done with column j, send notification down P0 will not need to wait for notification. Pn will not need to send nofication.

11 Option C, Analysis (cont)
k speedup= t - ∑ b * k / n k=1..(n-1) n/2 Max

12 From Scratch to Finish

13 Binary Matrix Performance Data

14 Anti-Diagonal Performance Data

15 Binary Matrix Speed Up

16 Anti-Diagonal Speed Up

17 Analysis & Conclusions
Only suitable for sizable computations; Both Binary Matrix and Anti Diagonal Options shows significant performance speed up; The Anti Diagonal Option has less computation time and better computing potential.


Download ppt "MPICH2 for Windows Parallelism on (LCS) Longest Common Subsequence"

Similar presentations


Ads by Google