arrow
返回

Counter-based cache replacement and bypassing algorithms

delete2008-04-01
delete161
PRE
AI
M
Mazen Kharbutli *
Y
Yan Solihin
DOI:10.1109/TC.2007.70816delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Recent studies have shown that, in highly associative caches, the performance gap between the Least Recently Used (LRU) and the theoretical optimal replacement algorithms is large, motivating the design of alternative replacement algorithms to improve cache performance. In LRU replacement, a line, after its last use, remains in the cache for a long time until it becomes the LRU line. Such deadlines unnecessarily reduce the cache capacity available for other lines. In addition, in multilevel caches, temporal reuse patterns are often inverted, showing in the L1 cache but, due to the filtering effect of the L1 cache, not showing in the L2 cache. At the L2, these lines appear to be brought in the cache but are never reaccessed until they are replaced. These lines unnecessarily pollute the L2 cache. This paper proposes a new counter-based approach to deal with the above problems. For the former problem, we predict lines that have become dead and replace them early from the L2 cache. For the latter problem, we identify never-reaccessed lines, bypass the L2 cache, and place them directly in the L1 cache. Both techniques are achieved through a single counter-based mechanism. In our approach, each line in the L2 cache is augmented with an event counter that is incremented when an event of interest such as certain cache accesses occurs. When the counter reaches a threshold, the line expires and becomes replaceable. Each line's threshold is unique and is dynamically learned. We propose and evaluate two new replacement algorithms: Access Interval Predictor (AIP) and Live-time Predictor (LvP). AIP and LvP speed up 10 capacity-constrained SPEC2000 benchmarks by up to 48 percent and 15 percent on average (7 percent on average for the whole 21 Spec2000 benchmarks). Cache bypassing further reduces L2 cache pollution and improves the average speedups to 17 percent (8 percent for the whole 21 Spec2000 benchmarks).
Keyword:
caches
counter-based algorithms
cache replacement algorithms
cache bypassing
cache misses

期刊

IEEE Transactions on Computers 封面图
IEEE Transactions on Computers
IF:
3.8
论文数:
5.3K
被引数:
9.8K

机构

N
North Carolina State University
学者数:
2.6W
论文数: 2.3W
被引数: 3.7W
引用论文

引用论文

First Capture of Antiprotons in a Penning Trap: A Kiloelectronvolt Source
err1986-11-17
err0
errOAAI
errG. Gabrielse; X. Fei; K. Helmerson; S. L. Rolston; R. Tjoelker; T. A. Trainor; H. Kalinowsky; J. Haas; W. Kells
err分享
err收藏
Suppression of sleep-related prolactin secretion and enhancement of sleep-related growth hormone secretion.
err1975-09-01
err0
errOAAI
errW B Mendelson; L S Jacobs; J D Reichman; E Othmer; P E Cryer; B Trivedi; W H Daughaday
err分享
err收藏
Active management of data caches by exploiting reuse information
err1999-01-01
err22
PREAI
errTam, ES; Rivers, JA; Srinivasan, V; Tyson, GS; Davidson, ES
err分享
err收藏
Training Perceptual Skill by Orienting Visual Attention
err2006-06-01
err0
errOAAI
errNorbert Hagemann; Bernd Strauss; Rouwen Cañal-Bruland
err分享
err收藏
The acquisition of tone in Mandarin-speaking children
err2008-09-26
err0
PREAI
errCharles N. Li; Sandra A. Thompson
err分享
err收藏
Treatment with medications affecting dopaminergic and serotonergic mechanisms: Effects on fluency and anxiety in persons who stutter
err2005-01-01
err0
PREAI
errSheila V. Stager; Karim Calis; Dale Grothe; Meir Bloch; Nannette M. Berensen; Paul J. Smith; Allen Braun
err分享
err收藏
Iridoschisis and Keratoconus
err1994-01-01
err0
PREAI
errRichard A. Eiferman; Mark Law; Leon Lane
err分享
err收藏
学者 查看更多内容