简体   繁体   English

英特尔缓存地址

[英]Intel cache Address

Here is the L3 cache (shared) configuration on my Intel Xeon Silver 4210R CPU-这是我的Intel Xeon Silver 4210R CPU 上的 L3 缓存(共享)配置-

$ getconf -a | grep LEVEL3_CACHE
LEVEL3_CACHE_SIZE                  14417920
LEVEL3_CACHE_ASSOC                 11
LEVEL3_CACHE_LINESIZE              64

This configuration implies that the number of sets in the cache is-此配置意味着缓存中的集合数是-

公式

Now I am trying to understand the addressing of the cache .现在我试图了解 缓存的寻址

Here, the cache line (or the block) size is 64 bytes and intel uses the byte-addressable system.这里,高速缓存行(或块)大小为 64 字节,intel 使用字节寻址系统。 Therefore, the least因此,最少公式 significant bits of cache address should be used for block offset.缓存地址的有效位应用于块偏移。

With a similar calculation, the number of address bits that should be used for set indexing is通过类似的计算,应该用于设置索引的地址位数是公式 , but this fraction value confuses me. ,但这个分数值让我感到困惑。

Am I missing something?我错过了什么吗? How many bits are exactly used here for set indexing?这里究竟使用了多少位来设置索引?

Am I missing something?我错过了什么吗?

This processor has 10 cores — your formula doesn't account for # of cores, so if you divide by 10 it is an even multiple of 2.这个处理器有 10 个核心——你的公式没有考虑核心数量,所以如果你除以 10,它是 2 的偶数倍。

How many bits are exactly used here for set indexing?这里究竟使用了多少位来设置索引?

11 bits, I believe 11位,我相信


L3$ 13.75 MiB 10x1.375 MiB 11-way set associative write-back L3$ 13.75 MiB 10x1.375 MiB 11 路集关联回写

read more here: https://en.wikichip.org/wiki/intel/xeon_silver/4210r在这里阅读更多: https://en.wikichip.org/wiki/intel/xeon_silver/4210r

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM