Intel® Advisor User Guide

ID 766448
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

enable-cache-simulation

Model CPU cache behavior on your target application.

GUI Equivalent

For basic modeling functionality: Project Properties > Analysis Target > Memory Access Patterns Analysis > Advanced > Enable CPU cache simulation

For enhanced modeling functionality:

Project Properties > Analysis Target > Trip Counts and FLOP Analysis > Enable CPU cache simulation or

Analysis Workflow > [CPU | GPU] Roofline > Characterization > Enable CPU cache simulation

Syntax

--enable-cache-simulation

--no-enable-cache-simulation

Default

Off (no-enable-cache-simulation)

Actions Modified

collect=map

collect=tripcounts

collect=roofline

collect=offload

Usage

Enabling can increase collection overhead.

NOTE:

Cache simulation modeling applies to the following:

  • Memory Access Patterns analysis - This basic simulation functionality models accurate memory footprints, miss information, and cache line utilization for a downstream Memory Access Patterns report.

  • CPU / Memory Roofline Insights perspective - This enhanced simulation functionality models multiple levels of cache for a downstream Memory-Level Roofline chart or Roofline interactive HTML report.

Example

Run a Memory Access Patterns analysis. Enable cache simulation with basic functionality and default cache parameters to collect cache modeling data for a downstream Memory Access Patterns report.

advisor --collect=map --enable-cache-simulation --project-dir=./advi_results -- ./myApplication

Run a Roofline analysis for all memory levels.

advisor --collect=roofline --enable-cache-simulation --project-dir=./advi_results -- ./myApplication

See Also