如何用vtune测量L2-cache的命中率

dydlynudt 2008-11-26 11:22:14
如题,vtune应该是可以测量Cache命中率的吧?如果可以怎么样测量呢?
...全文
938 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
kafkafka 2010-03-11
  • 打赏
  • 举报
回复
弱弱地问一句,怎样在VTUNE里查看L2_LINES_IN.SELF.ANY 事件啊?我也想看L2 chche miss
intel_zhenyuwang 2009-01-21
  • 打赏
  • 举报
回复
L2 Cache Miss Rate
Equation: L2_LINES_IN.SELF.ANY / INST_RETIRED.ANY

Category: L2 Cache Ratios; Advanced Performance Tuning Ratios; Ratios for Tuning Assistant Advice;

Definition: A high L2 cache miss rate indicates that the running workload has a data set larger than the L2 cache. Some of the data might be evicted without being used. Unless all the required data is brought ahead of time by the hardware prefetcher or software prefetching instructions, bringing data from memory has a significant impact on the performance.

wwangzhihang100 2009-01-20
  • 打赏
  • 举报
回复
为什么l2 cache miss rate 这样计算?这样算出来的不是l2的cache命中率么?
dydlynudt 2008-11-26
  • 打赏
  • 举报
回复
谢谢intel牛人
intel_zhenyuwang 2008-11-26
  • 打赏
  • 举报
回复
Please use VTune event ratio named "L2 Cache Miss Rate", that is, L2_LINES_IN.SELF.ANY / INST_RETIRED.ANY

567

社区成员

发帖
与我相关
我的任务
社区描述
英特尔® 边缘计算,聚焦于边缘计算、AI、IoT等领域,为开发者提供丰富的开发资源、创新技术、解决方案与行业活动。
社区管理员
  • 英特尔技术社区
  • shere_lin
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧