+ All Categories
Home > Documents > Parallel SWMM - University of...

Parallel SWMM - University of...

Date post: 06-Feb-2018
Category:
Upload: dodieu
View: 229 times
Download: 5 times
Share this document with a friend
29
Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity Hardware
Transcript
Page 1: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Parallel SWMM

Reducing the runtime of SWMM by parallel computing on commodity

Hardware

Page 2: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Overview

• Parallel Computing • Method

• Results

Page 3: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Overview

• Parallel Computing • Method

• Results

Page 4: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Overview

• Parallel Computing • Method

• Results

Page 5: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Multicore Revolution

• “The free lunch … is over”

• Parallel Computing

• Challenges

Page 6: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Multicore Revolution

• “The free lunch … is over”

• Parallel Computing

• Challenges

Page 7: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Multicore Revolution

• “The free lunch … is over”

• Parallel Computing

• Challenges

Page 8: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Multicore Revolution

• “The free lunch … is over”

• Parallel Computing

• Challenges

Page 9: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Multicore Revolution

• “The free lunch … is over”

• Parallel Computing

• Challenges

Page 10: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Multicore Revolution

• “The free lunch … is over”

• Parallel Computing

• Challenges

Page 11: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Parallel Computing …

• It is hard…

• It is new…

But we need to do it!

Page 12: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Parallel Computing …

• It is hard…

• It is new…

But we need to do it!

Page 13: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Views of SWMM

SWMM

Product • Widely used • Embedded • Free • GUI

Code • Established & Grown • Dated Coding

Standard • Fortran Heritage • Well tested • Open Source • Complex

Research Instrument • Most used • Usages • Planning • Auto Calibration • Sensitivity • Uncertainty • Vulnerability

• Verified • Well Tested • Working Model

Page 14: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

The Crux

Code Change Adaptation

Page 15: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Strategy

Performance Analysis

Code Review

Parallel Algorithm

Design Implementation

Performance Evaluation

Page 16: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Performance Analysis

Page 17: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

OpenMP Implementation

Page 18: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Performance Evaluation

• Dual Socket XEON X5650 @ 2.67 GHz • 6 Cores/Socket => 24 Threads • 24 GB RAM

Hardware

• AVG of four • Runs for 1, 2, 4, 6, …, 24 Threads • Hydraulics only

Classic Benchmarking

Page 19: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Method

• Widely used product / research instrument

• Low impact implementation in a grown code

• Needs refined Software Management

Page 20: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Method

• Widely used product / research instrument

• Low impact implementation in a grown code

• Needs refined Software Management

Page 21: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Method

• Widely used product / research instrument

• Low impact implementation in a grown code

• Needs refined Software Management

Page 22: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Input Systems

Input System # Nodes # Links # Catchments Population

Artificial 50 49 42 Unknown Village 1709 1722 440 10760 Small Town 1254 1274 3062 12695 Town 5485 5834 4498 120147

Page 23: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Results – CSG

Page 24: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Results – Village

Page 25: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Results – Small Town

Page 26: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Results - Town

Page 27: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Conclusion and Outlook

• 9.3 Speedup

• No overhead Introduced

• Minimal code changes

• Look at other parts

• GPU implementation

Page 28: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Conclusion and Outlook

• 9.3 Speedup

• No overhead Introduced

• Minimal code changes

• Look at other parts

• GPU implementation

Page 29: Parallel SWMM - University of Belgradehikom.grf.bg.ac.rs/stari-sajt/9UDM/Presentations/084_PPT.pdf · Parallel SWMM Reducing the runtime of SWMM by parallel computing on commodity

Recommended