Intel® VTune™ Amplifier
Bandwidth analysis type uses event-based sampling collection.
Bandwidth analysis type measures the data read and written to DRAM via the processor's integrated memory controller. As a result of the data collection, the Intel® VTune™ Amplifier displays the bandwidth-over-time chart. Use this chart to identify regions of significant memory bandwidth and compare that bandwidth with your machine's theoretical bandwidth limits. This helps you determine whether the code is saturating available bandwidth, a significant performance limitation. Once you have identified and filtered in a region of significant bandwidth, use the memory-access-correlated grid metrics to identify the thread, process, module, source file, or function responsible for the performance bottleneck.
To determine theoretical bandwidth limits for your machine, use a benchmark that is bandwidth-limited by design (like the STREAM benchmarks).
To use the Bandwidth analysis, explore:
Configuration options (knobs)
To run the Bandwidth analysis, you do not need to configure any options. To view default configuration options used for the Bandwidth analysis:
Click the
New Analysis button on the
Intel® VTune™ Amplifier
toolbar.
The New Amplifier Result tab opens with the Analysis Type window active.
From the analysis tree on the left pane, select Microarchitecture Analysis > Bandwidth.
The analysis configuration pane opens on the right displaying all pre-configured options in the Details section.
For detailed information on events collected for General Exploration on a particular microarchitecture, refer to the About Events for <Microarchitecture> help topics in the Intel Processor Event Reference available from the Help menu.
You can choose to view Bandwidth analysis results in any of the following viewpoints:
|
Viewpoint |
Description |
|---|---|
|
Memory Usage |
Helps understand how effectively your application uses memory resources and identify potential memory access related issues like excessive access to remote memory on NUMA platforms, hitting DRAM or Intel® QuickPath Interconnect (Intel QPI) bandwidth limit, and others. It provides various performance metrics for both the application code and memory objects arrays. |
|
Hardware Events |
Displays statistics of monitored hardware events: estimated count and/or the number of samples collected. Use this view to identify code regions (modules, functions, code lines, and so on) with the highest activity for an event of interest. |
|
Hardware Issues |
Helps identify where the application is not making the best use of available hardware resources. This viewpoint displays metrics derived from hardware performance counters. Hover over the highlighted metrics values in the grid to read why the extreme value might represent a performance problem. |
These viewpoints may include the following windows:
Summary window displays statistics on the overall application execution.
Bottom-up pane displays performance data per metric (event ratio/event count/sample count) for each hotspot function.
Top-down Tree window displays hotspot functions in the call tree, performance metrics for a function only (Self value) and for a function and its children together (Total value).
Caller/Callee window displays parent and child functions of the selected focus function. This window is available only if stack collection was enabled during analysis configuration.
PMU Events window displays count for PMU events selected for the analysis.
Uncore Events window displays count for uncore events selected for the analysis. If there are no uncore events, the upper pane of the window is empty.
Platform window provides details on tasks specified in your code with the Task API, Ftrace*/Systrace* event tasks, OpenCL™ API tasks, and so on. If corresponding platform metrics are collected, the Platform window displays overtime data as GPU usage on a software queue, CPU time usage, OpenCL™ kernels data, and GPU performance per the Overview group of GPU hardware metrics, Memory Bandwidth, and CPU Frequency