adventures in mastering the use of performance evaluation tools

17
Adventures in Mastering the Use of Performance Evaluation Tools Manuel Ríos Morales ICOM 5995 December 4, 2002

Upload: tovah

Post on 01-Feb-2016

30 views

Category:

Documents


0 download

DESCRIPTION

Adventures in Mastering the Use of Performance Evaluation Tools. Manuel Ríos Morales ICOM 5995 December 4, 2002. Overview. Project Proposal Original Goals Problems Encountered Project Changes Revised Goals New Problems Final Revision. Project Proposal. Original Goals - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Adventures in Mastering the Use of Performance Evaluation Tools

Adventures in Mastering the Use of Performance Evaluation Tools

Manuel Ríos MoralesICOM 5995

December 4, 2002

Page 2: Adventures in Mastering the Use of Performance Evaluation Tools

Overview

Project Proposal Original Goals Problems Encountered

Project Changes Revised Goals New Problems

Final Revision

Page 3: Adventures in Mastering the Use of Performance Evaluation Tools

Project Proposal

Original Goals Master a performance evaluation tool and use it to

evaluate the performance of an existing benchmark. Tool selected: AIMS Benchmark: FT kernel of the NPB

Why AIMS? Provides tools for measurement and analysis of

performance of parallel programs. Can be used to highlight problem areas that can be

modified to improve program execution.

Page 4: Adventures in Mastering the Use of Performance Evaluation Tools

Problems Encountered

Installation Quite challenging Required modification of makefiles and debugging of

some modules

Instrumentation Couldn’t be achieved due to bugs in the software.

Page 5: Adventures in Mastering the Use of Performance Evaluation Tools

Problems Encountered (cont.)

Page 6: Adventures in Mastering the Use of Performance Evaluation Tools

Project Changes

Revised Goals Performance evaluation tool changed to Vampir.

New Problems Compilation of the FT benchmark Installation of VampirTrace

Page 7: Adventures in Mastering the Use of Performance Evaluation Tools

Final Revision

Project goals Understanding basic features of Vampir with the use of

an example provided in the Vampir package.

Page 8: Adventures in Mastering the Use of Performance Evaluation Tools

Vampir Analysis Tool

Vampir consists of two packages: Vampir: Tracefile visualization program with a

graphical user interface for XWindows desktops.

VampirTrace: Instrumented MPI library to link with the user code for automatic tracefile generation on a parallel platform.

Page 9: Adventures in Mastering the Use of Performance Evaluation Tools

VampirTrace

Tool for MPI applications that produces tracefiles that can be analyzed with Vampir.

Records all calls to the MPI library and all transmitted messages.

Allows defining and recording arbitrary user defined events.

Using it requires relinking the application with the VampirTrace profiling library.

Page 10: Adventures in Mastering the Use of Performance Evaluation Tools

VampirTrace (cont.)

mpicc -o test test.c -L/$HOME/VampirTrace/lib/libVT.a –lVT

patch_mpicc Modifies mpicc command to include the –vt option

Mpicc –vt –o test test.c

Page 11: Adventures in Mastering the Use of Performance Evaluation Tools

Vampir

Tool for visualization and analysis of MPI programs

Understand the application behavior Analyze the performance of subroutines or code

blocks Learn about communication patterns, parameters

and performance Identify communication hotspots

Page 12: Adventures in Mastering the Use of Performance Evaluation Tools

Vampir (cont.)

Basics Loading Tracefiles Displays

Page 13: Adventures in Mastering the Use of Performance Evaluation Tools

Global Timeline Display

Page 14: Adventures in Mastering the Use of Performance Evaluation Tools

Global Timeline Display (cont.)

It will automatically open when paused or finished loading a tracefile.

Shows all analyzed state changes for each process over the complete period of time in one display.

Zoom ability allows getting detailed information of the runtime behavior of the traced program.

Page 15: Adventures in Mastering the Use of Performance Evaluation Tools

Activity Chart Display

Shows a statistic about the time spent in each activity individually for each process defined in the tracefile.

Page 16: Adventures in Mastering the Use of Performance Evaluation Tools

Summary Chart Display

Displays the sum of the time consumed by all instrumented activities over all selected processes.

Page 17: Adventures in Mastering the Use of Performance Evaluation Tools

Final Thoughts

Tools that facilitate the instrumentation and visualization of parallel program execution are invaluable.

Programmers can benefit from using these tools since the help highlight any problem areas that can be modified to improve program execution.