Copyright
c 2011 GWT-TUD GmbH
Blasewitzer Str. 43
01307 Dresden, Germany
http://gwtonline.de
Support / Feedback / Bugreports
Please provide us feedback! We are very interested to hear what people like, dislike,
or what features they are interested in.
If you experience problems or have suggestions about this application or manual,
please contact service@vampir.eu.
When reporting a bug, please include as much detail as possible, in order to reproduce
it. Please send the version number of your copy of Vampir along with the bug report.
The version is stated in the “About Vampir” dialog accessible from the main menu under
“Help → About Vampir”.
Please visit http://vampir.eu for updates.
service@vampir.eu
http://vampir.eu
Manual Version
2011-11-11 / Vampir 7.5
2
Contents
Contents
1
Introduction
5
1.1 Event-based Performance Tracing and Profiling . . . . . . . . . . . . . .
5
1.2 The Open Trace Format (OTF) . . . . . . . . . . . . . . . . . . . . . . .
6
1.3 Vampir and Windows HPC Server 2008 . . . . . . . . . . . . . . . . . .
7
2
Getting Started
8
2.1 Installation of Vampir . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
2.1.1
Unix, Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
2.1.2
Mac OS X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
2.1.3
Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8
2.2 Generation of Trace Data on Windows Systems . . . . . . . . . . . . . .
9
2.2.1
Enabling Performance Tracing
. . . . . . . . . . . . . . . . . . .
9
2.2.2
Tracing an MPI Application . . . . . . . . . . . . . . . . . . . . .
9
2.3 Generation of Trace Data on Linux Systems . . . . . . . . . . . . . . . .
11
2.3.1
Enabling Performance Tracing
. . . . . . . . . . . . . . . . . . .
11
2.3.2
Tracing an Application . . . . . . . . . . . . . . . . . . . . . . . .
12
2.4 Starting Vampir and Loading a Trace File
. . . . . . . . . . . . . . . . .
13
3
Basics
15
3.1 Chart Arrangement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
16
3.2 Context Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18
3.3 Zooming
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
20
3.4 The Zoom Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22
3.5 The Charts Toolbar
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23
3.6 Properties of the Trace File . . . . . . . . . . . . . . . . . . . . . . . . .
24
4
Performance Data Visualization
25
4.1 Timeline Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25
4.1.1
Master Timeline and Process Timeline
. . . . . . . . . . . . . .
25
4.1.2
Counter Data Timeline
. . . . . . . . . . . . . . . . . . . . . . .
30
4.1.3
Performance Radar . . . . . . . . . . . . . . . . . . . . . . . . .
32
4.2 Statistical Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
35
4.2.1
Function Summary
. . . . . . . . . . . . . . . . . . . . . . . . .
35
4.2.2
Process Summary . . . . . . . . . . . . . . . . . . . . . . . . . .
36
4.2.3
Message Summary
. . . . . . . . . . . . . . . . . . . . . . . . .
37
4.2.4
Communication Matrix View
. . . . . . . . . . . . . . . . . . . .
38
3
Contents
4.2.5
I/O Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39
4.2.6
Call Tree
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
41
4.3 Informational Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
4.3.1
Function Legend . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
4.3.2
Marker View
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42
4.3.3
Context View . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43
4.4 Information Filtering and Reduction
. . . . . . . . . . . . . . . . . . . .
45
4.5 Function Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46
4.5.1
Filter Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47
4.5.2
Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
49
5
Comparison of Trace Files
56
5.1 Starting the Compare View . . . . . . . . . . . . . . . . . . . . . . . . .
57
5.2 Usage of Charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
59
5.3 Alignment of Multiple Trace Files . . . . . . . . . . . . . . . . . . . . . .
60
5.4 Usage of Predefined Markers . . . . . . . . . . . . . . . . . . . . . . . .
63
6
Customization
65
6.1 General Preferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
65
6.2 Appearance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
66
6.3 Saving Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
67
7
A Use Case
69
7.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
69
7.2 Identified Problems and Solutions
. . . . . . . . . . . . . . . . . . . . .
70
7.2.1
Computational Imbalance . . . . . . . . . . . . . . . . . . . . . .
70
7.2.2
Serial Optimization . . . . . . . . . . . . . . . . . . . . . . . . . .
72
7.2.3
High Cache Miss Rate . . . . . . . . . . . . . . . . . . . . . . . .
73
7.3 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
75
4