访问各种缓存和主内存的大概费用?

访问各种缓存和主内存的大概费用?,第1张

访问各种缓存和主内存的大概费用?

这是针对i7和Xeon系列处理器的性能分析指南。我要强调,这是您需要的,还有更多(例如,请查看第22页上的一些时间和周期)。

此外,此页面 还提供了有关时钟周期等的一些详细信息。第二个链接提供了以下数字:

Core i7 Xeon 5500 Series Data Source Latency (approximate)    [Pg. 22]local  L1 CACHE hit,        ~4 cycles (   2.1 -  1.2 ns )local  L2 CACHE hit,       ~10 cycles (   5.3 -  3.0 ns )local  L3 CACHE hit, line unshared    ~40 cycles (  21.4 - 12.0 ns )local  L3 CACHE hit, shared line in another core ~65 cycles (  34.8 - 19.5 ns )local  L3 CACHE hit, modified in another core    ~75 cycles (  40.2 - 22.5 ns )remote L3 CACHE (Ref: Fig.1 [Pg. 5])        ~100-300 cycles ( 160.7 - 30.0 ns )local  DRAM       ~60 nsremote DRAM      ~100 ns

EDIT2:
最重要的是引用表下的通知,说:

“注意:这些值是粗略的近似值。它们取决于核心和未知频率,内存速度,BIOS设置,DIMM数量,ETC等。您的里程可能会有所不同。 ”

编辑:我要强调的是,除了时序/周期信息之外,上述intel文档还(从性能的角度)介绍了i7和Xeon系列处理器的更多(极其)有用的细节。



欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/5561694.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-12-14
下一篇2022-12-14

发表评论

登录后才能评论

评论列表(0条)

    保存