vampir and vampirtrace: event tracing and visualization

13
ASC Tri-Lab Code Development Tools Workshop Thursday, July 29, 2010 Lawrence Livermore National Laboratory, P. O. Box 808, Livermore, CA 94551 This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344 Vampir and VampirTrace: Event Tracing and Visualization LLNL-PRES-426128

Upload: shona

Post on 25-Feb-2016

45 views

Category:

Documents


2 download

DESCRIPTION

ASC Tri-Lab Code Development Tools Workshop Thursday, July 29, 2010. Vampir and VampirTrace: Event Tracing and Visualization. Lawrence Livermore National Laboratory, P. O. Box 808, Livermore, CA 94551. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Vampir and VampirTrace:  Event Tracing and Visualization

ASC Tri-Lab Code Development Tools WorkshopThursday, July 29, 2010

Lawrence Livermore National Laboratory, P. O. Box 808, Livermore, CA 94551

This work performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344

Vampir and VampirTrace: Event Tracing and Visualization

LLNL-PRES-426128

Page 2: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

Profiling vs Event Tracing

Profiling• Easy to use, low overhead, small files• Statistical information

Event Tracing• High overhead

Application perturbation Trace file storage

• Fine detail Time-based effects Flexibility

Page 3: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

Trace generation with VampirTrace

Developed by the Center for Information Services and High Performance Computing (ZIH) of TU Dresden

Open Source library (BSD license) LLNL-funded OTF trace format Provides tracing functionality for a large set of metrics• MPI• Threads: OpenMP and pthreads• Application function entry/exit• Performance Counters• Memory and I/O Tracing

Profiling mode

Page 4: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

Vampir trace analysis & visualization

Proprietary trace analysis and visualization tool Includes• Summary• Timelines

Global Process

• Charts• Communication grid

Page 5: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

Usage

Re-build application with VampirTrace wrapper scripts• C : vtcc –vt:cc mpicc• Fortran : vtf77 –vt:f77 mpif77• C++ : vtCC –vtcxx mpiCC• Options : vtcc –vt:help• No application instrumentation : -vt:inst manual

Run application Examine trace data with Vampir or VampirServer• vampir test_HPCCG.otf• vng• srun –n 4 –ppdebug vngd

Page 6: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

How to examine performance data?

Vampir Summary Chart

Page 7: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

How to examine performance data?

Page 8: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

How to examine performance data?

Page 9: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

How to examine performance data?

Page 10: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

Availability

Platform Ver.

Usage Doc. POC

LLNL/TLCCOCF

5.2 use vampir

http://vampir.eu/ Chris [email protected]

LLNL/TLCCSCF

5.2 use vampir

http://vampir.eu/ Chris [email protected]

LLNL/uBGL 5.2 use vampir

http://vampir.eu/ Chris [email protected]

LLNL/Dawn 5.2 use vampir

http://vampir.eu/ Chris [email protected]

Page 11: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

Availability

Platform Ver.

Usage Doc. POC

LLNL/TLCCOCF

5.8 use vampirtrace

www.tu-dresden.de/zih/vampirtrace

Chris [email protected]

LLNL/TLCCSCF

5.8 use vampirtrace

www.tu-dresden.de/zih/vampirtrace

Chris [email protected]

LLNL/uBGL 5.8 use vampirtrace

www.tu-dresden.de/zih/vampirtrace

Chris [email protected]

LLNL/Dawn 5.8 use vampirtrace

www.tu-dresden.de/zih/vampirtrace

Chris [email protected]

Page 12: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

How to reduce tracing overhead?

Trace generation (VampirTrace)• Tracing limits

32MB trace buffer Default is to deactivate tracing when buffer is full.

• Event filter Run-time filter file vtfilter command

Trace Visualization (VampirServer)• Client/Server model for viewing very large tracefiles

Page 13: Vampir and VampirTrace:  Event Tracing and Visualization

Lawrence Livermore National Laboratory

References

Vampir • http://www.vampir.eu

VampirTrace• http://www.tu-dresden.de/zih/vampirtrace