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

From HPC Wiki
Intel VTune Tutorial/Useful Tips
Jump to navigation Jump to search
Line 12: Line 12:
  
 
([[Media:VTune_UsefulTips.pdf |Slides as pdf]])
 
([[Media:VTune_UsefulTips.pdf |Slides as pdf]])
 +
 +
=== Links ===
 +
* [https://www.intel.com/content/www/us/en/develop/documentation/gpa-user-guide/top/instrumentation-and-tracing-technology-apis.html Instrumentation and Tracing Technology API Support]
 +
* [https://github.com/intel/ittapi github.com/intel/ittapi]
  
 
=== Quiz === <!--T:5-->   
 
=== Quiz === <!--T:5-->   

Revision as of 08:45, 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)

Links

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