When L1 misses are a lot different than L2 accesses… TLB related?

后端 未结 2 1180
孤独总比滥情好
孤独总比滥情好 2021-02-09 05:44

I have been running some benchmarks on some algorithms and profiling their memory usage and efficiency (L1/L2/TLB accesses and misses), and some of the results are quite intrigu

2条回答
  •  臣服心动
    2021-02-09 06:12

    The write policy of a data cache determines whether a store hit writes its data only on that cache (write-back or copy-back) or also at the following level of the cache hierarchy (write-through). Hence, a store that hits at a write-through L1-D cache, also writes its data at the L2 cache.

    This could be another source of L2 accesses that do not come from L1 cache misses.

提交回复
热议问题