I am building a cache simulator for a intel core i7 but have a hard time finding the detailed specifications for the L1, L2 and L3 cache (shared). I need the Cacheblock size, cache size, associativity and so on... Can anyone point me in the good direction?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Intel's Optimization guide describes most of the required specifications per architectural generation (you didn't specify which i7 you have, there are now several generations since Nehalem and up to Haswell).
Haswell, for e.g., would have -
Note that if you're building a simulator, you'll want to have as many of these feature as possible parametrized. There are also many other considerations you'll need to take into account that are explained there (for e.g. inclusiveness, write-back/write-through protocols, cache coherency protocols, etc..)