DocumentCode
938938
Title
Making LRU friendly to weak locality workloads: a novel replacement algorithm to improve buffer cache performance
Author
Jiang, Song ; Zhang, Xiaodong
Author_Institution
Performance & Archit. Group, Los Alamos Nat. Lab., NM, USA
Volume
54
Issue
8
fYear
2005
Firstpage
939
Lastpage
952
Abstract
Although the LRU replacement algorithm has been widely used in buffer cache management, it is well-known for its inability to cope with access patterns with weak locality. Previously proposed algorithms to improve LRU greatly increase complexity and/or cannot provide consistently improved performance. Some of the algorithms only address LRU problems on certain specific and predefined cases. Motivated by the limitations of existing algorithms, we propose a general and efficient replacement algorithm, called Low Inter-reference Recency Set (LIRS). LIRS effectively addresses the limitations of LRU by using recency to evaluate Inter-Reference Recency (IRR) of accessed blocks for making a replacement decision. This is in contrast to what LRU does: directly using recency to predict the next reference time. Meanwhile, LIRS mostly retains the simple assumption adopted by LRU for predicting future block access behaviors. Conducting simulations with a variety of traces of different access patterns and with a wide range of cache sizes, we show that LIRS significantly outperforms LRU and outperforms other existing replacement algorithms in most cases. Furthermore, we show that the additional cost for implementing LIRS is trivial in comparison with that of LRU. We also show that the LIRS algorithm can be extended into a family of replacement algorithms, in which LRU is a special member.
Keywords
cache storage; operating systems (computers); LRU replacement algorithm; Low Inter-reference Recency Set algorithm; access patterns; buffer cache performance; inter-reference recency evaluation; memory management; operating system; Costs; Databases; Delay; Frequency; Helium; Indexes; Memory management; Stability; Index Terms- Operating systems; memory management; replacement algorithms.;
fLanguage
English
Journal_Title
Computers, IEEE Transactions on
Publisher
ieee
ISSN
0018-9340
Type
jour
DOI
10.1109/TC.2005.130
Filename
1453496
Link To Document