Intel® Advisor Help
Running your target application with the Intel Advisor can take substantially longer than running your target application without the Intel Advisor. For example:
Runtime Overhead / Analysis |
Survey |
Trip Counts & FLOP |
Roofline |
Dependencies |
MAP |
---|---|---|---|---|---|
Target application runtime with Intel Advisor compared to runtime without Intel Advisor |
1.1x longer |
3 - 8x longer |
3.1 - 8.1x longer |
5 - 100x longer |
5 - 20x longer |
The following tables summarize how to minimize overhead while collecting and finalizing Intel Advisor analysis data. The techniques are grouped by:
The following table is a summary. For more information, see Collection Controls to Minimize Analysis Overhead.
Minimization Technique |
Impacted Intel Advisor Analyses |
Summary |
---|---|---|
Pause collection/Resume collection using API methods |
|
Pause collection:
Resume collection:
|
Pause collection/Resume collection using annotations |
Some analysis types recognize the structural annotations typically used in the Threading Advisor workflow. |
Pause collection:
Resume collection:
|
Start target application with collection paused |
|
Start target application with collection paused:
NoteYou can use different techniques to resume collection. The most common is __itt_resume |
Start target application with collection paused/Resume collection after N seconds |
|
GUI control: Project Properties > Analysis Target > [Name] Analysis > Advanced > Automatically resume collection after (sec) checkbox CLI action option: -resume-after=<integer> |
Stop collection after N seconds |
All |
GUI control: Project Properties > Analysis Target > [Name] Analysis > Advanced > Automatically stop collection after (sec) checkbox and field CLI action: -stop-after=<integer> |
Stop collection |
All |
GUI control: Workflow pane > Stop current analysis control and Site Coverage widget CLI: action option: -command=stop |
Manually pause collection/Manually resume collection |
|
Pause collection:
Resume collection:
|
Attach to process/Detach from process |
|
Attach to process:
Detach from process:
|
The following table is a summary. For more information, see Loop Markup to Minimize Analysis Overhead.
Minimization Technique |
Impacted Intel Advisor Analyses |
Summary |
---|---|---|
Select loops by ID |
|
GUI control:
Survey Report CLI action option: -mark-up-list=<string> |
Select loops by source file/line |
|
GUI control:
Survey Report CLI action: -mark-up-loops with action option -select=<string> |
Select loops by criteria |
|
GUI control: Workflow pane > Batch mode settings CLI: action -mark-up-loops or -collect with action option -loops=<string> |
The following table is a summary. For more information, see Filtering to Minimize Analysis Overhead.
Minimization Technique |
Impacted Intel Advisor Analyses |
Summary |
---|---|---|
Filter modules |
|
GUI control: Project Properties > Analysis Target > [Name] Analysis > Modules options and field CLI: action option: -module-filter-mode=include | exclude and -module-filter=<string> |
The following table is a summary. For more information, see Execution Speed/Duration/Scope Properties to Minimize Analysis Overhead.
Minimization Technique |
Impacted Intel Advisor Analyses |
Summary |
---|---|---|
Change stackwalk mode from offline (after collection) to online (during collection) |
Survey |
GUI control: Project Properties > Analysis Target > Survey Hotspots Analysis > Advanced > Stack unwinding mode > During collection CLI action option: -stackwalk-mode=online |
Disable stacks collection |
|
GUI controls:
CLI action option: -no-stacks (or just ensure the CLI action option -stacks is omitted from the command line) |
Disable stitch stacks |
Survey |
GUI control: Project Properties > Analysis Target > Survey Hotspots Analysis > Advanced > Stitch stacks checkbox CLI action option: -no-stack-stitching |
Increase sampling interval |
Survey |
GUI control: Project Properties > Analysis Target > Survey Hotspots Analysis > Advanced > Sampling interval field CLI action option: interval=<integer> |
Limit collected analysis data |
Survey |
GUI control: Project Properties > Analysis Target > Survey Hotspots Analysis > Advanced > Collection data limit, MB field CLI action option: -data-limit=<integer> |
Limit loop call count |
|
GUI control: Project Properties > Analysis Target > [Name] Analysis > Advanced > Loop Call Count Limit field CLI action option: -loop-call-count-limit=<integer> |
Disable additional analysis |
Survey |
GUI controls: Project Properties > Analysis Target > Survey Hotspots Analysis > Advanced...
CLI action options:
|
The following table is a summary. For more information, see Miscellaneous Techniques to Minimize Analysis Overhead.
Minimization Technique |
Impacted Intel Advisor Analyses |
Summary |
---|---|---|
Disable cache simulation |
|
GUI controls:
CLI action option: -no-enable-cache-simulation |
Limit reported data |
Memory Access Patterns |
GUI controls:
CLI action options:
|
Minimize data set |
All, but especially:
|
Minimize number of instructions executed within a loop while thoroughly exercising target application control flow paths |
Temporarily disable finalization until opening result in GUI |
|
GUI control: Workflow pane > Cancel current analysis control during finalization CLI action option: -no-auto-finalize |