Adapted discrete-based entropy cache replacement algorithm

Filipe Scoton, J. Kobayashi, M. Marino
{"title":"Adapted discrete-based entropy cache replacement algorithm","authors":"Filipe Scoton, J. Kobayashi, M. Marino","doi":"10.1109/HPCSim.2012.6266969","DOIUrl":null,"url":null,"abstract":"It is fundamental to predict cache line reuse in order to improve miss rates and consequently performance. In order to estimate cache line reuse, we assume that a sequence of cache line addresses can be treated randomly as characters in an arbitrary language such as proposed by the Information Theory. In this theory, the occurrence of each character previously occurred in a message composed by a sequence of characters can be used as a measurement of information - named entropy. The computation of the entropy of a program working set helps to estimate the chances of line reuse. We propose Adapted Discrete-based Entropy Algorithm (ADEA), a novel cache line replacement inspired by the Information Entropy which measures the discrete entropy by capturing the referential locality of programs by estimating the chances of cache line reuse. Furthermore, ADEA presents functions that control the essency and recency of memory access to avoid cache pinning. We present ADEA circuit complexity and show that it is comparable to other implementations. By modeling and evaluating ADEA using Simple Scalar for an L2 cache of an OOO processor, results show that ADEA's miss rate is up to 60% lower than LRU and 36% compared to adaptive policies Least Recently Used Insertion Policy (LIP) and Bimodal Insertion Policy (BIP). Furthermore, the use of ADEA's decay functions improves its miss rates up to 46% by avoiding pinning.","PeriodicalId":428764,"journal":{"name":"2012 International Conference on High Performance Computing & Simulation (HPCS)","volume":"2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-07-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 International Conference on High Performance Computing & Simulation (HPCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HPCSim.2012.6266969","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

It is fundamental to predict cache line reuse in order to improve miss rates and consequently performance. In order to estimate cache line reuse, we assume that a sequence of cache line addresses can be treated randomly as characters in an arbitrary language such as proposed by the Information Theory. In this theory, the occurrence of each character previously occurred in a message composed by a sequence of characters can be used as a measurement of information - named entropy. The computation of the entropy of a program working set helps to estimate the chances of line reuse. We propose Adapted Discrete-based Entropy Algorithm (ADEA), a novel cache line replacement inspired by the Information Entropy which measures the discrete entropy by capturing the referential locality of programs by estimating the chances of cache line reuse. Furthermore, ADEA presents functions that control the essency and recency of memory access to avoid cache pinning. We present ADEA circuit complexity and show that it is comparable to other implementations. By modeling and evaluating ADEA using Simple Scalar for an L2 cache of an OOO processor, results show that ADEA's miss rate is up to 60% lower than LRU and 36% compared to adaptive policies Least Recently Used Insertion Policy (LIP) and Bimodal Insertion Policy (BIP). Furthermore, the use of ADEA's decay functions improves its miss rates up to 46% by avoiding pinning.
自适应离散熵缓存替换算法
为了提高丢失率和性能,预测缓存线重用是非常重要的。为了估计高速缓存线路的重用,我们假设高速缓存线路地址序列可以随机处理为任意语言的字符,如信息论所提出的。在这个理论中,在由字符序列组成的消息中,每个字符先前出现的次数可以用作信息熵的度量。计算程序工作集的熵有助于估计行重用的机会。我们提出了一种基于自适应离散熵的算法(ADEA),这是一种受信息熵启发的新的缓存线替换算法,它通过估计缓存线重用的机会来捕获程序的参考局域性来度量离散熵。此外,ADEA还提供了控制内存访问的必要性和近时性的函数,以避免缓存固定。我们给出了ADEA电路的复杂度,并表明它与其他实现相当。通过对OOO处理器二级缓存的ADEA进行简单标量建模和评估,结果表明,ADEA的缺失率比LRU低60%,比自适应策略最少最近使用插入策略(LIP)和双峰插入策略(BIP)低36%。此外,使用ADEA的衰减函数可以避免钉住,从而将脱靶率提高到46%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信