Prediction and bounds on shared cache demand from memory access interleaving
Prediction and bounds on shared cache demand from memory access interleaving
复制标题
DOI:
10.1145/3210563.3210565
复制
发表时间:
2018-06
期刊:
影响因子:
--
通讯作者:
Jacob Brock;C. Ding;Rahman Lavaee;Fangzhou Liu;Liang Yuan
中科院分区:
文献类型:
--
作者:
Jacob Brock;C. Ding;Rahman Lavaee;Fangzhou Liu;Liang Yuan
Cache in multicore machines is often shared, and the cache performance depends on how memory accesses belonging to different programs interleave with one another. The full range of performance possibilities includes all possible interleavings, which are too numerous to be studied by experiments for any mix of non-trivial programs. This paper presents a theory to characterize the effect of memory access interleaving due to parallel execution of non-data-sharing programs. The theory uses an established metric called the footprint (which can be used to calculate miss ratios in fully-associative LRU caches) to measure cache demand, and considers the full range of interleaving possibilities. The paper proves a lower bound for footprints of interleaved traces, and then formulates an upper bound in terms of the footprints of the constituent traces. It also shows the correctness of footprint composition used in a number of existing techniques, and places precise bounds on its accuracy.