1 / 22

Siu-Man Yau, (smyau@cs.nyu), New York University

Result Reuse in Design Space Exploration: A Study in System Support for Interactive Parallel Computing. Siu-Man Yau, (smyau@cs.nyu.edu), New York University

amery-floyd
Download Presentation

Siu-Man Yau, (smyau@cs.nyu), New York University

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Result Reuse in Design Space Exploration: A Study in System Support for Interactive Parallel Computing Siu-Man Yau, (smyau@cs.nyu.edu), New York University Steven G. Parker (sparker@cs.utah.edu), University of Utah Kostadin Damevski (damevski@cs.utah.edu), University of Utah Vijay Karamcheti (vijayk@cs.nyu.edu), New York University Denis Zorin (dzorin@cs.nyu.edu), New York University

  2. Multi-Experiment Studies • Computational studies that require multiple runs of a simulation software. • Design Space Exploration

  3. Interactive Parallel Computing • Ubiquitous computing power • Multi-core chips • GPU w/general computing power • Low-cost Supercomputing • Opportunity for interactive parallel computing • Requires new system paradigm

  4. Outline • Design Space Exploration (DSE): Defibrillator Design Application • SimX System • Reuse opportunities in DSE & System support for reuse • Evaluation • Conclusion

  5. Defibrillator Simulation Simulation (DefibSim): • Utah Torso model • Implemented on SCIRun Interactive Problem-Solving Environment • Place electrodes, set voltage  Torso potential

  6. Defibrillator Simulation Evaluation: • Torso potential  heart current • Goal: • Maximize Activation (% tissue above act.) • Minimize Damage (% tissue above damage)

  7. Defibrillator Study • Pareto Frontier: set of inputs that cannot be improved in all objectives Activation Damage

  8. Design Space Exploration • Interactive Exploration of Pareto Frontier • Move the back electrode • Change current threshold for activation

  9. SimX: Overview • System support for Interactive Multi-Experiment Studies (SIMECS) • View computational study as a whole • For parallel, distributed clusters • Workers (Simulation code & Evaluation code) • Manager (UI, Sampler, Resource Allocator) • Spatially-Indexed Shared Object Layer (SISOL)

  10. SimX: Overview • Design space & slice • Performance space • General DSE formulation: • Simulation code Design  Sim. result • Evaluation code Sim. result  Perf. metric

  11. SimX: Overview User Interface: Visualisation & Interaction Simulation code Data Server Sampler Xform Module Data Server FUEL Interface FUEL Interface Evaluation code Dir Server Data Server Task Queue Data Server SISOL Server Pool Resource Allocator Worker Process Pool Front-end Manager Process

  12. Reuse Opportunities • Take application view • Gather information from earlier runs • Speed up or eliminate later runs • Use domain knowledge • 3 levels of information • Aggregate: Sampler, Cross-study • Individual: Simulation result, Performance metric • Internal: Intermediate result, Preconditioner

  13. Aggregate Result: Sampler • Schedule runs from coarse to fine grid • Use coarse level results to identify promising regions • For Pareto Frontier discovery 2nd Level 3rd Level 1st Level

  14. Support for Sampler Reuse User Interface: Visualisation & Interaction void setStudy(StudySpec) void registerResult(experiment, performance) experiment getNextPointToRun () SimX Sampler API Simulation code Data Server Active (Pareto) Sampler Random Sampler Sampler Custom Sampler Naïve (Sweep) Sampler Xform Module Data Server FUEL Interface FUEL Interface Evaluation code Dir Server Data Server Task Queue Data Server SISOL Server Pool Resource Allocator Worker Process Pool Front-end Manager Process

  15. Individual Result: Simulation • Increase activation current threshold • Inputs to simulation code unchanged from previous study • Simulation results may be reused • Only Evaluation code needs running

  16. Support for Sim. Result Reuse User Interface: Visualisation & Interaction Simulation code SISOL API: object StartRead(objSet, coord) void EndRead(object) object StartWrite(objSet, coord) void EndWrite(objSet, object) !!Spatially Indexed!! Data Server Sampler Xform Module FUEL Interface FUEL Interface Data Server Dir Server Data Server Task Queue Evaluation code Data Server SISOL Server Pool Resource Allocator Worker Process Pool Front-end Manager Process

  17. Internal Reuse: Intermediate Result • DefibSim solves 3 systems of equations • Linearly combine solutions • Same system needed by different experiments • Cache the solutions Aax=ba Acx=bc Abx=bb Store Ac-1bc and Ab-1bb Adx=bd

  18. Intermediate Result Reuse User Interface: Visualisation & Interaction SISOL API: object StartRead(objSet, coord) void EndRead(object) object StartWrite(objSet, coord) void EndWrite(objSet, object) Simulation Code Aa-1ba Data Server Sampler Ab-1bb Xform Module Data Server FUEL Interface FUEL Interface Dir Server Data Server Task Queue Data Server Evaluation code SISOL Server Pool Resource Allocator Worker Process Pool Front-end Manager Process

  19. Evaluation • 2 scenarios: • Increase activation current threshold • Move back electrode • Measure response time • Characterise reuse benefits • 5 SISOL processes, 1 manager process, 1-128 worker processes

  20. Increase Activation Threshold 65K sims @ 2 secs 1.6K sims @ 2 secs 1.2K sims @ 0.3 secs 1.2K sims @ 1.5 secs

  21. Move Back Electrode 65K sims @ 2 secs 7.3K sims @ 2 secs 6.5K sims @ 1.5 secs

  22. Conclusion • Result Reuse yields 8x-100x improvement in response time • Interactive rate: 12-120 secs • Conclusions: • View from application level important • Domain knowledge important • System infrastructure to exploit domain knowledge important

More Related