Blast from the Past: Least Expected Use (LEU) Cache Replacement with Statistical History
Blast from the Past: Least Expected Use (LEU) Cache Replacement with Statistical History
复制标题
DOI:
10.1145/3591195.3595267
复制
发表时间:
2023-06
期刊:
影响因子:
--
通讯作者:
Sayak Chakraborti;Zhizhou Zhang;Noah Bertram;C. Ding;S. Dwarkadas
中科院分区:
文献类型:
--
作者:
Sayak Chakraborti;Zhizhou Zhang;Noah Bertram;C. Ding;S. Dwarkadas
Cache replacement policies typically use some form of statistics on past access behavior. As a common limitation, however, the extent of the history being recorded is limited to either just the data in cache or, more recently, a larger but still finite-length window of accesses, because the cost of keeping a long history can easily outweigh its benefit. This paper presents a statistical method to keep track of instruction pointer-based access reuse intervals of arbitrary length and uses this information to identify the Least Expected Use (LEU) blocks for replacement. LEU uses dynamic sampling supported by novel hardware that maintains a state to record arbitrarily long reuse intervals. LEU is evaluated using the Cache Replacement Championship simulator, tested on PolyBench and SPEC, and compared with five policies including a recent technique that approximates optimal caching using a fixed-length history. By maintaining statistics for an arbitrary history, LEU outperforms previous techniques for a broad range of scientific kernels, whose data reuses are longer than those in traces traditionally used in computer architecture studies.