APP: adaptively protective policy against cache thrashing and pollution

Saeid Montazeri Shahtouri, Richard T. B. Ma
{"title":"APP: adaptively protective policy against cache thrashing and pollution","authors":"Saeid Montazeri Shahtouri, Richard T. B. Ma","doi":"10.1109/LANMAN.2015.7114731","DOIUrl":null,"url":null,"abstract":"Least Recently Used (LRU) is the most commonly used cache replacement policy; however, it suffers from two problems: i) cache thrashing, i.e., repeated references cause continuous page evictions due to a larger size of the working set than that of the cache, and ii) cache pollution, i.e., high reuse content gets evicted by items with low or no reuse from a cache. To solve these problems, prior works divide the cache into multiple segments and keeping the history of evicted pages, which impose high overhead in terms of memory. In this paper, we propose an adaptive cache replacement policy which divides the cache into two variable-sized segments: protected and unprotected. The division of cache segments is elastic in nature and can adaptively react to the workload changes without any history of evicted pages. We conduct extensive simulations using both synthetic and real workloads. Our evaluation shows that our policy can obtain the hit ratio close to the state of the art policies which keep history information of evicted pages up to multiple times of cache size.","PeriodicalId":193630,"journal":{"name":"The 21st IEEE International Workshop on Local and Metropolitan Area Networks","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The 21st IEEE International Workshop on Local and Metropolitan Area Networks","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/LANMAN.2015.7114731","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Least Recently Used (LRU) is the most commonly used cache replacement policy; however, it suffers from two problems: i) cache thrashing, i.e., repeated references cause continuous page evictions due to a larger size of the working set than that of the cache, and ii) cache pollution, i.e., high reuse content gets evicted by items with low or no reuse from a cache. To solve these problems, prior works divide the cache into multiple segments and keeping the history of evicted pages, which impose high overhead in terms of memory. In this paper, we propose an adaptive cache replacement policy which divides the cache into two variable-sized segments: protected and unprotected. The division of cache segments is elastic in nature and can adaptively react to the workload changes without any history of evicted pages. We conduct extensive simulations using both synthetic and real workloads. Our evaluation shows that our policy can obtain the hit ratio close to the state of the art policies which keep history information of evicted pages up to multiple times of cache size.
APP:自适应保护策略,防止缓存抖动和污染
最近最少使用(Least Recently Used, LRU)是最常用的缓存替换策略;然而,它有两个问题:i)缓存抖动,即由于工作集的大小大于缓存的大小,重复引用导致连续的页面清除;ii)缓存污染,即高重用的内容被缓存中低重用或没有重用的项清除。为了解决这些问题,以前的工作将缓存分成多个段,并保留被驱逐页面的历史记录,这在内存方面造成了很高的开销。在本文中,我们提出了一种自适应缓存替换策略,该策略将缓存分为两个可变大小的段:受保护的和未受保护的。缓存段的划分本质上是弹性的,可以自适应地对工作负载的变化做出反应,而不需要任何驱逐页面的历史记录。我们使用合成工作负载和真实工作负载进行了广泛的模拟。我们的评估表明,我们的策略可以获得接近当前策略状态的命中率,该策略将驱逐页面的历史信息保存到缓存大小的数倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信