- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was trying to identify the reason for the lateness of my program. And I notice that one function has high CPI value (4.5), and it says the reason may
- Memory stalls
- Instruction starvation
- Branch misprediction
- Long latency instructions
How can I explore those things using Vtune. Can anyone help me to identify the specific reason for the high CPI?
I am using vtune 2015 U1 (trial version). and i am a windows user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CPI value is high, this is performance result. You need to identify why by using General Exploration analysis to know detail.
Please see if there is any highlight item (pink color) in bottom-up report, item(s) will be in:
Filled Pipeline Slots : Retiring (General Retirement, Microcode Sequencer), Bad Speculation
Back-end Bound: Memory Bound(L1 Bound, Store Bound, L3 Bound), Core Bound (Port Utilization)
Front-end Bound: Front-end Latency, Front-End Bandwidth.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CPI value is high, this is performance result. You need to identify why by using General Exploration analysis to know detail.
Please see if there is any highlight item (pink color) in bottom-up report, item(s) will be in:
Filled Pipeline Slots : Retiring (General Retirement, Microcode Sequencer), Bad Speculation
Back-end Bound: Memory Bound(L1 Bound, Store Bound, L3 Bound), Core Bound (Port Utilization)
Front-end Bound: Front-end Latency, Front-End Bandwidth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@peter,
Thank You.
In the general exploration following values were high(marked in pink), so that means memory stalls caused the problem?
Unfilled Pipeline Slots
memory latency
LLC miss (0.247)
LLC Hit (0.262)
DTLB Overhead (0.264)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think that LLC miss rate and DTLB page walking overhead could have contributed to large CPI rate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please drill down source view to investigate why LLC miss and DTLB page walk overhead, you might change data structure for optimizing memory layout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@iliyapolak and @Peter
Thank you for your kind helps. I got the answer I wanted.I can continue From here(probably).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@mahesh
You are welcome.
![](/skins/images/7FC17B7B85029576C25F1E43CE255B51/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page