Making LRU friendly to weak locality workloads: A novel replacement algorithm to improve buffer cache performance

被引:0
|
作者
Jiang, S
Zhang, XD
机构
[1] Los Alamos Natl Lab, Performance & Architecture Grp, Los Alamos, NM 87545 USA
[2] Coll William & Mary, Dept Comp Sci, Williamsburg, VA 23187 USA
关键词
operating systems; memory management; replacement algorithms;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
下载
收藏
页码:939 / 952
页数:14
相关论文
共 9 条
  • [1] An Adaptive Cache Management Using Dual LRU Stacks to Improve Buffer Cache Performance
    Wan, Shenggang
    Cao, Qiang
    He, Xubin
    Xie, Changsheng
    Wu, Chentao
    2008 IEEE INTERNATIONAL PERFORMANCE, COMPUTING AND COMMUNICATIONS CONFERENCE (IPCCC 2008), 2008, : 43 - 50
  • [2] Improve the Performance of LRU Page Replacement Algorithm using Augmentation of Data Structure
    Kavar, C. C.
    Parmar, S. S.
    2013 FOURTH INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATIONS AND NETWORKING TECHNOLOGIES (ICCCNT), 2013,
  • [3] PR-LRU :A Novel Buffer Replacement Algorithm Based on the Probability of Reference for Flash Memory
    Yuan, Youwei
    Shen, Yeting
    Li, Wanqing
    Yu, Dongjin
    Yan, Lamei
    Wang, Yifei
    IEEE ACCESS, 2017, 5 : 12626 - 12634
  • [4] A page replacement algorithm based on a fuzzy approach to improve cache memory performance
    Davood Akbari Bengar
    Ali Ebrahimnejad
    Homayun Motameni
    Mehdi Golsorkhtabaramiri
    Soft Computing, 2020, 24 : 955 - 963
  • [5] A page replacement algorithm based on a fuzzy approach to improve cache memory performance
    Bengar, Davood Akbari
    Ebrahimnejad, Ali
    Motameni, Homayun
    Golsorkhtabaramiri, Mehdi
    SOFT COMPUTING, 2020, 24 (02) : 955 - 963
  • [6] A Regional Popularity-Aware Cache Replacement Algorithm to Improve the Performance and Lifetime of SSD-based Disk Cache
    Ye, Feng
    Chen, Jianxi
    Fang, Xuejiao
    Li, Jieqiong
    Feng, Dan
    PROCEEDINGS OF THE 2015 IEEE INTERNATIONAL CONFERENCE ON NETWORKING, ARCHITECTURE AND STORAGE (NAS), 2015, : 45 - 53
  • [7] RFFE: A Buffer Cache Management Algorithm for Flash-Memory-Based SSD to Improve Write Performance
    Ramasamy, Arul Selvan
    Karantharaj, Porkumaran
    CANADIAN JOURNAL OF ELECTRICAL AND COMPUTER ENGINEERING-REVUE CANADIENNE DE GENIE ELECTRIQUE ET INFORMATIQUE, 2015, 38 (03): : 219 - 231
  • [8] RFLRU: A Buffer Cache Management Algorithm for Solid State Drive to Improve the Write Performance on Mixed Workload
    Ramasamy, Arul Selvan
    Karantharaj, Porkumaran
    ENGINEERING LETTERS, 2014, 22 (04) : 158 - 169
  • [9] Firefly Optimization-Based Buffer Replacement Algorithm to Improve Nand Flash Memory Performance
    Shweta
    Singh, P. K.
    JOURNAL OF ELECTRICAL SYSTEMS, 2024, 20 (02) : 107 - 119