the anticipated challenges of running biomedical simulations in … · 2018-04-03 · lukas...

24
® Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and Simulation The Anticipated Challenges of Running Biomedical Simulations in the Cloud 1

Upload: others

Post on 06-Apr-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

®

Lukas Breitwieser

Early-Career Researchers in Medical ApplicationsShort Talks on Computing and Simulation

The Anticipated Challenges ofRunning Biomedical Simulations

in the Cloud

1

Page 2: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Understanding DevelopmentalDiseases

2

Page 3: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Executive Summary

Motivation: Run tightly-coupled HPC workloads in the cloud

Widely accessible, cost-effective

Problem: Data exchange between servers will be a bottleneck

Key Idea: Exploit inherent simulation characteristics to reduce

data volume3

Page 4: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Outline

1. Biological Simulation Basics

2. Distributed Runtime

3. HPC on Cloud

4. Data Movement Minimization

4

Page 5: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

From Atoms to Organisms...

Atom

Molecule

Macromolecule

Cells

Tissue

Organ

Organism

5

Page 7: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Agent-based simulations

Simulation object = Agent

Collision

Local region

7

Page 8: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Outline

1. Biological Simulation Basics

2. Distributed Runtime

3. HPC on Cloud

4. Data Movement Minimization

8

Page 9: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Domain-Decomposition

Hauri, Andreas. Self-construction in the context of cortical growth. Diss. 2013. 9

Page 10: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Distributed Runtime

10

Frontend

master

worker

Page 11: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Border Region

11

Page 12: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Outline

1. Biological Simulation Basics

2. Distributed Runtime

3. HPC on Cloud

4. Data Movement Minimization

12

Page 13: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

NAMD Scaling

A. Gupta et al., “Evaluating and Improving the Performance and Scheduling of HPC Applications in Cloud,”

core count

time

in s

econ

ds

13

Page 14: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Performance Issues in the Cloud

Poor network performance compared tosupercomputersVirtualizationResource contention with other tenants

14

Page 15: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Outline

1. Biological Simulation Basics

2. Distributed Runtime

3. HPC on Cloud

4. Data Movement Minimization

15

Page 16: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Key Observations

Some regions and data members are staticChanges are incrementalValues might be predictedCommunication can be replaced withadditional computation

16

Page 17: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Static Regions

Example: growth of the cerebral cortex

https://www.youtube.com/watch?v=9InvFfnAkus

Definition: simulation objects whose values do notchange along the time dimension

17

Page 18: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Static Regions

S. Liu, X. Huang, Y. Ni, H. Fu, and G. Yang, “A High Performance Compression Method for Climate Data,” in 2014 IEEE International

Climate Simulation: continental data does not changeduring simulation of the ocean surface

18

Page 19: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Static Data Members

class NeuriteSegment { std::array<double, 3> position_; NeuriteSegment* parent_; ...};

Neuron

Soma Neurite segment

19

Page 20: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Incremental ChangesObservation: Change between two time steps mightbe insignificantIdea: Communicate only significant updates Example: GAIA: Geo-distributed machine learningapproaching LAN speeds

K. Hsieh et al., “Gaia: Geo-Distributed Machine Learning Approaching LAN Speeds,” in 14th USENIX Symposium on NetworkedSystems Design and Implementation (NSDI 17).

20

Page 21: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Value PredictionIdea: Predict values for safe-to-approximate variablesInspiration from computer architecture:"Rollback free value prediction"

A. Yazdanbakhsh, G. Pekhimenko, B. Thwaites, H. Esmaeilzadeh, O. Mutlu, and T. C. Mowry, “RFVP: Rollback-free value predictionwith safe-to-approximate loads,” ACM Transactions on Architecture and Code Optimization (TACO), vol. 12, no. 4, p. 62, 2016.

class NeuriteSegment { std::array<double, 3> position_; NeuriteSegment* parent_; ...};

21

Page 22: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Computation vs Communication

Idea: Recompute certain events on the destinationserver instead of transferring the resultsExamples:

Cell devisionNeurite

extensionbifurcation...

Send event descriptor instead of whole new simulationobject

22

Page 23: The Anticipated Challenges of Running Biomedical Simulations in … · 2018-04-03 · Lukas Breitwieser Early-Career Researchers in Medical Applications Short Talks on Computing and

Next Steps

Develop the distributed runtimeVerify that network properties are a bottleneck inthe cloudProvide detailed analysis for differentapproachesDevelop new ideas

23