TinyLFU:一种高效的缓存接纳策略
TinyLFU: A Highly Efficient Cache Admission Policy
摘要:
本文提出了使用基于频率的高速缓存准入政策,以提高效率的高速缓存受到偏斜的访问分布。给定一个新访问的项目和驱逐候选人从缓存,我们的计划决定,根据最近的访问历史,是否值得承认的新项目进入缓存的代价驱逐候选人。实现这一概念是通过一种新的近似LFU结构称为TinyLFU,它保持了一个近似表示的访问频率的大样本最近访问的项目。TinyLFU是非常紧凑和重量轻,因为它建立在布隆过滤器理论。我们研究TinyLFU的属性,通过模拟合成的工作负载,以及多个真实的痕迹,从几个来源。这些模拟演示了通过使用TinyLFU驱逐策略增强各种替换策略所获得的性能提升。此外,一个新的组合替换和驱逐政策计划昵称W-TinyLFU。W-TinyLFU被证明获得相等或更好的命中率比其他国家的最先进的替代政策在这些痕迹。这是唯一的计划,以获得这样好的结果,对所有的痕迹。
英文摘要:
This paper proposes to use a frequency based cache admission policy in order to boost the effectiveness of caches subject to skewed access distributions. Given a newly accessed item and an eviction candidate from the cache, our scheme decides, based on the recent access history, whether it is worth admitting the new item into the cache at the expense of the eviction candidate. Realizing this concept is enabled through a novel approximate LFU structure called TinyLFU, which maintains an approximate representation of the access frequency of a large sample of recently accessed items. TinyLFU is very compact and light-weight as it builds upon Bloom filter theory. We study the properties of TinyLFU through simulations of both synthetic workloads as well as multiple real traces from several sources. These simulations demonstrate the performance boost obtained by enhancing various replacement policies with the TinyLFU eviction policy. Also, a new combined replacement and eviction policy scheme nicknamed W-TinyLFU is presented. W-TinyLFU is demonstrated to obtain equal or better hit-ratios than other state of the art replacement policies on these traces. It is the only scheme to obtain such good results on all traces.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。