如何从用户代码中检测缓存未命中? [英] How to detect cache misses from users codes?

查看:47
本文介绍了如何从用户代码中检测缓存未命中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
Linux C ++:如何分析由于以下原因而浪费的时间缓存未命中?

我们在计算节点上有几个用户,它们有时运行速度非常慢.是否有一些实用程序可以告诉您代码使高速缓存未命中或为优化提供一些提示?大多数用户使用C ++/C和F77/F90(有时使用openmp)进行编码.

We have several users on the computing nodes which are running quite slow in some times. Are there some utility which can tell that the code makes cache misses or give a some hints for the optimization? The most of the users are coding in C++/C and F77/F90(some times with openmp).

推荐答案

根据所使用的操作系统,可能需要查看 Zoom (Linux)或 VTune (Windows).

Depending on what operating system you are using you might want to look at Shark (Mac OS X), Zoom (Linux) or VTune (Windows).

这篇关于如何从用户代码中检测缓存未命中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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