与错误分享相关的效果计数器事件 [英] performance counter events associated with false sharing

查看:80
本文介绍了与错误分享相关的效果计数器事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究OpenMP程序的性能,特别是缓存和内存的性能. 早些时候,我已经找到了如何使用Vtune分析性能的准则,其中提到了需要注意的计数器.但是,现在似乎找不到手册.

I am looking at the performance of OpenMP program, specifically cache and memory performance. I have found guidelines while back ago how to analyze performance with Vtune that mentioned which counters to watch out for. However now cannot seem to find the manual.

如果您知道我有疑问的手册,或者您知道计数器/事件,请告诉我.另外,如果您还有其他分析多线程内存性能的技术,请分享

If you know which manual I have in question or if you know the counters/events, please let me know. Also if you have other techniques for analyzing multithreaded memory performance, please share if you can

谢谢

推荐答案

这是一个最常见的计数器是二级缓存未命中和分支预测未命中.

The most common counters to examine are L2 cache misses and branch prediction misses.

请注意,在VS2010中,您可以使用新配置文件工具中的并发可视化工具直接查看此情况.在帮助您分析这些信息方面做得非常好,包括直接向您展示代码的布局方式,向您展示未命中,阻止和其他许多用于调试和分析并发应用程序的有用工具.

Note that, in VS2010, you can use the concurrency visualizer in the new profiling tools to directly see this. It does a great job of helping you analyze this information, including directly showing you how your code lays out, showing you misses, blocks, and many other useful tools for debugging and profiling concurrent apps.

这篇关于与错误分享相关的效果计数器事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆