Intel VTune Tutorial: Introduction

From HPC Wiki
Intel VTune Tutorial/Introduction /
Revision as of 09:20, 14 June 2022 by Martin-errenst-7986@uni-wuppertal.de (talk | contribs) (Created page with "Intel VTune Tutorials: Introduction<nowiki /> {{DISPLAYTITLE:Intel VTune Tutorial: Introduction}}<nowiki /> {{Syllabus Intel VTune Tutorial}} __TOC__ T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Tutorial
Title: Intel VTune Tutorial
Provider: HPC.NRW

Contact: tutorials@hpc.nrw
Type: Multi-part video
Topic Area: Performance analysis
License: CC-BY-SA
Syllabus

1. Introduction
2. CPU Architecture
3. Analysis Types
4. Useful Tips

The first tutorial video is introducing the Intel VTune profiler. It covers questions of what it is and how it works. The video ends with an example of how to run a first analysis with the "performance snapshot" type.

Video

(Slides as pdf)

Quiz

1. What does a profiler do?

Producing pretty screenshots of source code for presentations.
Improving the performance of a program
Provides insight into an application

2. What does the Performance Snapshot analysis type do?

Use first measurements to recommend which analysis types should be considered next.
Provide an in-depth performance analysis with detailed results.
Automatically run a shorter version of an existing application.

3. What does event based sampling refer to??

In-depth instrumentation of an application during compilation to send performance "events" to the analysis application.
Performance analysis of an application by analysing the user input events.
Regular sampling of performance counters during program execution.

4. Do you always need the kernel module to profile with Intel VTune?

Yes, there is no other way for VTune to access the hardware performance counters.
No, VTune can use "Linux Perf" or the less detailed "user sampling" mode.
No, VTune can always access performance counters.

5. How do you start Intel VTune? (Assuming a working installation)

By typing `intelvtune` in the commandline.
`vtune-gui` will always work
`vtune-gui`, after the environment was set up with a source script or through `module load`. (depends on installation)