Difference between revisions of "Intel VTune Tutorial/Useful Tips"

From HPC Wiki
Intel VTune Tutorial/Useful Tips
Jump to navigation Jump to search
(Created page with "Intel VTune Tutorials: Useful Tips<nowiki /> {{DISPLAYTITLE:Intel VTune Tutorial: Useful Tips}}<nowiki /> {{Syllabus Intel VTune Tutorial}} __TOC__ Thi...")
 
Line 36: Line 36:
 
- It is automatically printed in a log file
 
- It is automatically printed in a log file
 
|| Not correct.
 
|| Not correct.
+ By pressing the 4th button at the bottom right on the "Configure Analysis" screen.
+
+ By pressing the 4th button at the bottom right on the "Configure Analysis" screen
 
|| Correct. This is a very useful feature to explore commandline options from existing analysis configurations in the GUI.
 
|| Correct. This is a very useful feature to explore commandline options from existing analysis configurations in the GUI.
 
</quiz>
 
</quiz>

Revision as of 08:42, 14 June 2022

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

This fourth tutorial of the Intel VTune series contains a loose collection of tips and tricks that did not fit anywhere else. It covers the commandline interface, steering data taking with the ITT API, and third party tooling.

Video

(Slides as pdf)

Quiz

1. How can you get help on VTunes commandline interface?

vtune -help
vtune --help
vtune -h

2. How can you get the CLI command of a configured analysis in the GUI?

This is not possible
It is automatically printed in a log file
By pressing the 4th button at the bottom right on the "Configure Analysis" screen

3. What are typical causes of non-deterministic effects on profile results?

Quantum mechanical effects in the CPU
Unstable system clocks
Network communication, statistical nature of event based sampling, other processes competing for resources

4. What is the ITT API?

A library to integrate a standalone profiler with a program during compilation
An interactive VTune tutorial that automatically uses your program as an example
A library for instrumentation and tracing. Allows for steering profile collection from the source code