Dynamic instrumentation of large scale mpi and openmp applications
Download
1 / 11

Dynamic Instrumentation of Large-Scale MPI and OpenMP Applications - PowerPoint PPT Presentation


  • 291 Views
  • Uploaded on

Dynamic Instrumentation of Large-Scale MPI and OpenMP Applications. Christian Thiffault, Michael Voss, Steven T. Healey, Seon Wook Kim. Presented By: Jaydeep Marathe. The Basic Idea . Instrumentation needed to collect collect performance data. Static (compile or link time) instrumentation

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Dynamic Instrumentation of Large-Scale MPI and OpenMP Applications' - liam


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Dynamic instrumentation of large scale mpi and openmp applications l.jpg
Dynamic Instrumentation of Large-Scale MPI and OpenMP Applications

Christian Thiffault, Michael Voss, Steven T. Healey, Seon Wook Kim

Presented By: Jaydeep Marathe

NC State University


Slide2 l.jpg

The Basic Idea .. Applications

  • Instrumentation needed to collect collect performance data.

  • Static (compile or link time) instrumentation

  • Dynamic (run-time) instrumentation

  • Feasibility study for dynamic instrumentation and dynamically

  • controlled static instrumentation.

  • Paper asserts: “Dynamic methods better than static instrumentation with

  • respect to execution overhead & trace data size”

But that’s still debatable, as we shall see ...

NC State University


Slide3 l.jpg

Base Trampoline Applications

Mini-Trampoline

Save Context

Instrumentation Code

Pre-Instrument

Log_Event(…);

Start_Timer();

…..

…...

Restore Context

Relocated Instruction

Save Context

Post-Instrument

Restore Context

Dynamic Instrumentation (with DPCL)

Executing

Program

JMP _Test

Probe

Point

NC State University


Slide4 l.jpg

List of Applications

Active Points

Yes !

Instrumentation Code

Log_Event(…);

Start_Timer();

…..

…...

Dynamic Control of Static Instrumentation

Instrumentation

Library

Compiler-Instrumented Program

Conf_sync()

{

return;

}

…………...

…………...

Conf_sync()

…………...

Read Active List

…………...

…………...

Point Active ?

Conf_sync()

…………...

…………...

…………...

Conf_sync()

…………...

Instrument compile-time, decide activation at run-time.

NC State University


Slide5 l.jpg

Instrumentation Tool : ApplicationsDynprof

  • For mixed (?) OpenMP + MPI programs

GuideTrace

OpenMP

Library

KAI

Guide

Compiler

Application

Source

Dynprof

VampirTrace

Library

Executable

MPI

Library

  • Applicable only to the KAI OpenMP compiler

  • Instrumentation : VampirTrace call to log trace

Trace Data

NC State University


Slide6 l.jpg

Experiments .. Applications

  • Compare execution times for static vs. dynamic instrumentation.

  • 4 ASCI benchmarks - Smg98, Sppm, Sweep3d (MPI), Umt98 (OpenMP)

  • IBM Power3 144-node system, each node has 8 Power3 processors.

  • Measure execution times with 5 scenarios:

  • FULL: Full Static Instrumentation +Trace logging

  • FULL-OFF: Full Static Instrumentation, no trace logging

  • SUBSET: Full Static Instrumentation, only selected functions active.

  • None: No instrumentation (Baseline)

  • Dynamic: Dynamically inserted instrumentation.

NC State University


Slide7 l.jpg

Results: Smg98 Applications

NC State University


Slide8 l.jpg

Results: Smg98 (contd) Applications

Static approach (SUBSET), more expensive than dynamic insertion (DYNAMIC).

WHY ?? - No explanation in paper.

NC State University


Slide9 l.jpg

Results: Smg98 Applications Another interpretation

Observe values for FULL, FULL-OFF,SUBSET. Very Close !!

Compiler instrumentation inefficiency  skews results !  dynamic approach looks better.

NC State University


Slide10 l.jpg

Time to create and instrument Applications

  • Significant cost, but only occurs at startup.

  • May significantly perturb application, when instrumented during run-time.

NC State University


Slide11 l.jpg

Summary and Conclusions Applications

  • Tool to instrument MPI and OpenMP programs (Dynprof)

  • Trace logging/visualization through existing VampirTrace library.

  • Compare costs of static,dynamic and dynamically controlled static

  • instrumentation.

  • Asserts that dynamically inserted instrumentation is less expensive, as compared to static instrumentation.

NC State University


ad