[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

Efficient cache resource aggregation using adaptive multi-level exclusive caching policies

Published: 01 September 2018 Publication History

Abstract

Multi-level buffer cache hierarchies are now commonly seen in most client/server cluster configurations, especially in today’s big data application deployment. However, multi-level caching policies deployed so far typically use independent cache replacement algorithms in each level, which has two major drawbacks: (1) File blocks may be redundantly cached on multiple levels, reducing the actual aggregate cache usable size; (2) Less accurate replacement decisions at lower level caches due to weakened locality. Inefficient cache resource usage may result in noticeable performance degradation for big data applications.
To address these problems, we propose new adaptive multi-level exclusive caching policies that can dynamically adjust replacement and placement decisions in response to changing access patterns. (1) First, to capture locality information in multi-level cache hierarchies, we propose a Reuse Distance based Adaptive Replacement Caching (ReDARC) algorithm that adopts reuse distance as the means of locality measure and adaptively balances between the Small Reuse Distance (SRD) set and Large Reuse Distance (LRD) set. (2) Second, to achieve exclusive caching and make global caching decisions, we propose an Adaptive Level-Aware Caching Algorithm (ALACA) that works collaboratively with ReDARC. The ALACA algorithm uses an adaptive probabilistic PUSH technique that allows lower caches to push blocks to higher caches and appropriately decide blocks’ caching locations with the ReDARC algorithm. In this way, we achieve multi-level exclusive caching with significant cache performance improvement. Our trace-driven simulation experiments show that the policies we proposed achieve a reduction of the client average response time of 8 percent to 56 percent over other multi-level cache schemes.

Highlights

Propose a new multi-level exclusive cache policy.
Design a new local Reuse Distance based Adaptive Replacement Caching (ReDARC) Algorithm.
Design a new distributed Adaptive Level-Aware Caching Algorithm (ALACA).

References

[1]
Bian M.Y., Yoon S.K., Kim J.G., et al., A unified buffering management with set divisible cache for PCM main memory, Journal of Computer Science and Technology 31 (1) (2016) 137–146.
[2]
K. Puttaswamy, Frugal storage for cloud file systems, in Proceedings of the 7th ACM european conference on Computer Systems, pp. 71–84, 2012.
[3]
Chen Z., et al., Empirical evaluation of multi-level buffer cache collaboration for storage systems, ACM SIGMETRICS Performance Evaluation Review 33 (1) (2005) 145–156.
[4]
A. Jaleel, J. Nuzman, A. Moga, High performing cache hierarchies for server workloads: Rrelaxing inclusion to capture the latency benefits of exclusive caches, in Proceedings of the 21st International Symposium on High Performance Computer Architecture, pp. 343–353, 2015.
[5]
Lee E., Kang H., Bahn H., et al., Eliminating periodic flush overhead of file I/O with non-volatile buffer cache, IEEE Transactions on Computers 65 (4) (2016) 1145–1157.
[6]
T.M. Wong, J. Wilkes, My cache or yours? Making storage more exclusive, in Proceedings of the 2002 USENIX Annual Technical Conference, 2002.
[7]
O’neil E., O’neil P., Weikum G., The LRU-K page replacement algorithm for database disk buffering, ACM SIGMOD Record 22 (2) (1993) 297–306.
[8]
Johnson T., Jorge B., 2Q: A low overhead high performance buffer management replacement, VLDB’94 (1994) 439–450.
[9]
Lee D., et al., On the existence of a spectrum of policies that subsumes the least recently used (lru) and least frequently used (lfu) policies, ACM SIGMETRICS Performance Evaluation Review 27 (1) (1999) 134–143.
[10]
Jiang S., Zhang X., LIRS: An efficient low inter-reference recency set replacement policy to improve buffer cache performance, ACM SIGMETRICS Performance Evaluation Review 30 (1) (2002) 31–42.
[11]
N. Megiddo, D. Modha, ARC: A self-tuning, low overhead replacement cache, in Proceedings of the 2nd USENIX Conference on File and Storage Technologies, pp. 115–130, 2003.
[12]
Belady L., A study of replacement algorithms for a virtual-storage computer, IBM Syst. J. 5 (2) (1966) 78–101.
[13]
Y. Cheng, F. Douglis, P. Shilane, Erasing Belady?s limitations: In search of flash cache offline optimality, in USENIX Annual Technical Conference, 2016.
[14]
Wang Y., et al., SOPA: Selecting the optimal caching policy adaptively, ACM Transactions on Storage 6 (2) (2010) 7.
[15]
Zhou Y., Chen Z., Li K., Second-level buffer cache management, IEEE Transactions on Parallel and Distributed Systems 15 (6) (2004) 505–519.
[16]
L. Bairavasundaram, X-ray: A non-invasive exclusive caching mechanism for raids, in Proceedings of the 31th Annual International Symposium on Computer Architecture, pp. 176–187, 2004.
[17]
Z. Chen, Y. Zhou, K. Li, Eviction-based cache placement for storage caches, in Proceedings of the 2003 USENIX Annual Technical Conference, pp. 269–282, 2003.
[18]
Jiang S., Davis K., Zhang X., Coordinated multilevel buffer cache management with consistent access locality quantification, IEEE Transactions on Computers 56 (1) (2007) 95–108.
[19]
Yadgar G., et al., Management of multilevel, multiclient cache hierarchies with application hints, ACM Transactions on Computer Systems 29 (2) (2011) 5.
[20]
B. Gill, On multi-level exclusive caching: Offline optimality and why promotions are better than demotions, in Proceedings of the 6th USENIX Conference on File and Storage Technologies, p. 4, 2008.
[21]
Aho A., Denning P., Ullman J., Principles of optimal page replacement, Journal of the ACM (JACM) 18 (1) (1971) 80–93.
[22]
Robinson J., Devarakonda M., Data cache management using frequency-based replacement, ACM SIGMETRICS Performance Evaluation Review 18 (1) (1990) 134–142.
[23]
Butt A., Gniady C., Hu Y., The performance impact of kernel prefetching on buffer cache replacement algorithms, ACM SIGMETRICS Performance Evaluation Review 33 (1) (2005) 157–168.
[24]
S. Jiang, F. Chen, X. Zhang, Clock-pro: An effective improvement of the clock replacement, in Proceedings of the annual conference on USENIX Annual Technical Conference, pp. 35–35, 2005.
[25]
Jaleel A., et al., High performance cache replacement using re-reference interval prediction (rrip), ACM SIGARCH Computer Architecture News 38 (3) (2010) 60–71.
[26]
Zhong Y., Shen X., Ding C., Program locality analysis using reuse distance, ACM Transactions on Programming Languages and Systems 31 (6) (2009) 1–20.
[27]
Kharbutli M., Sheikh R., LACS: A locality-aware cost-sensitive cache replacement algorithm, IEEE Transactions on Computers 63 (8) (2014) 1975–1987.
[28]
Cheng Y., Chen W., Xiang Y., AMC: An adaptive multi-level cache algorithm in hybrid storage systems, Concurrency and Computation: Practice and Experience 27 (2015) 4230–4246.
[29]
M. Kandemir, Computation mapping for multi-level storage cache hierarchies, in Proceedings of the 19th ACM International Symposium on High Performance Distributed Computing, pp. 179–190, 2010.
[30]
R. Prabhakar, Adaptive multi-level cache allocation in distributed storage architectures, in Proceedings of the 24th ACM International Conference on Supercomputing, pp. 211–221, 2010.
[31]
Storage performance council, SPC trace file, http://traces.cs.umass.edu/index.php/Storage/Storage.

Cited By

View all
  • (2022)Writes hurtProceedings of the 13th Symposium on Cloud Computing10.1145/3542929.3563461(110-125)Online publication date: 7-Nov-2022

Index Terms

  1. Efficient cache resource aggregation using adaptive multi-level exclusive caching policies
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Please enable JavaScript to view thecomments powered by Disqus.

        Information & Contributors

        Information

        Published In

        cover image Future Generation Computer Systems
        Future Generation Computer Systems  Volume 86, Issue C
        Sep 2018
        1535 pages

        Publisher

        Elsevier Science Publishers B. V.

        Netherlands

        Publication History

        Published: 01 September 2018

        Author Tags

        1. Buffer cache
        2. Multi-level
        3. Exclusive caching
        4. Adaptive policy

        Qualifiers

        • Research-article

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • Downloads (Last 12 months)0
        • Downloads (Last 6 weeks)0
        Reflects downloads up to 28 Jan 2025

        Other Metrics

        Citations

        Cited By

        View all
        • (2022)Writes hurtProceedings of the 13th Symposium on Cloud Computing10.1145/3542929.3563461(110-125)Online publication date: 7-Nov-2022

        View Options

        View options

        Figures

        Tables

        Media

        Share

        Share

        Share this Publication link

        Share on social media