DocumentCode
3635324
Title
Dueling CLOCK: Adaptive cache replacement policy based on the CLOCK algorithm
Author
Andhi Janapsatya;Aleksandar Ignjatović;Jorgen Peddersen;Sri Parameswaran
Author_Institution
School of Computer Science & Engineering, University of New South Wales, Sydney, 2052, Australia
fYear
2010
fDate
3/1/2010 12:00:00 AM
Firstpage
920
Lastpage
925
Abstract
We consider the problem of on-chip L2 cache management and replacement policies. We propose a new adaptive cache replacement policy, called Dueling CLOCK (DC), that has several advantages over the Least Recently Used (LRU) cache replacement policy. LRU´s strength is that it keeps track of the ´recency´ information of memory accesses. However, a) LRU has a high overhead cost of moving cache blocks into the most recently used position each time a cache block is accessed; b) LRU does not exploit ´frequency´ information of memory accesses; and, c) LRU is prone to cache pollution when a sequence of single-use memory accesses that are larger than the cache size is fetched from memory (i.e., it is non scan resistant). The DC policy was developed to have low overhead cost, to capture ´recency´ information in memory accesses, to exploit the ´frequency´ pattern of memory accesses and to be scan resistant. In this paper, we propose a hardware implementation of the CLOCK algorithm for use within an on-chip cache controller to ensure low overhead cost. We then present the DC policy, which is an adaptive replacement policy that alternates between the CLOCK algorithm and the scan resistant version of the CLOCK algorithm. We present experimental results showing the MPKI (Misses per thousand instructions) comparison of DC against existing replacement policies, such as LRU. The results for an 8-way 1MB L2 cache show that DC can lower the MPKI of SPEC CPU2000 benchmark by an average of 10.6% when compared to the tree based Pseudo-LRU cache replacement policy.
Keywords
"Clocks","Costs","Frequency","Australia","Pollution","Computer science","Engineering management","Hardware","DC generators","Delay"
Publisher
ieee
Conference_Titel
Design, Automation & Test in Europe Conference & Exhibition (DATE), 2010
ISSN
1530-1591
Print_ISBN
978-1-4244-7054-9
Electronic_ISBN
1558-1101
Type
conf
DOI
10.1109/DATE.2010.5456920
Filename
5456920
Link To Document