EEvA: Fast Expert-Based Algorithms for Buffer Page Replacement
Abstract: Optimal page replacement is an important problem in efficient buffer management. The range of replacement strategies known in the literature varies from simple but efficient FIFO-based algorithms to more accurate but potentially costly methods tailored to specific data access patterns. The principal issue in adopting a pattern-specific replacement logic in a DB buffer manager is to guarantee non-degradation in general high-load regimes. In this paper, we propose a new family of page replacement algorithms for DB buffer manager which demonstrate a superior performance wrt competitors on custom data access patterns and imply a low computational overhead on TPC-C. We provide theoretical foundations and an extensive experimental study on the proposed algorithms which covers synthetic benchmarks and an implementation in an open-source DB kernel evaluated on TPC-C.
- Fifo queues are all you need for cache eviction. In Proceedings of the 29th Symposium on Operating Systems Principles, pages 130–149, 2023.
- Fifo cache analysis for wcet estimation: A quantitative approach. In 2013 Design, Automation & Test in Europe Conference & Exhibition (DATE), pages 296–301. IEEE, 2013.
- Fifo can be better than lru: the power of lazy promotion and quick demotion. In Proceedings of the 19th Workshop on Hot Topics in Operating Systems, pages 70–79, 2023.
- Fast and exact analysis for lru caches. Proceedings of the ACM on Programming Languages, 3(POPL):1–29, 2019.
- Evaluation techniques for storage hierarchies. IBM Systems journal, 9(2):78–117, 1970.
- Eelru: simple and effective adaptive page replacement. ACM SIGMETRICS Performance Evaluation Review, 27(1):122–133, 1999.
- Cflru: a replacement algorithm for flash memory. In Proceedings of the 2006 international conference on Compilers, architecture and synthesis for embedded systems, pages 234–241, 2006.
- Cfdc: a flash-aware replacement policy for database buffer management. In Proceedings of the fifth international workshop on data management on new hardware, pages 15–20, 2009.
- The lru-k page replacement algorithm for database disk buffering. Acm Sigmod Record, 22(2):297–306, 1993.
- Caching strategies to improve disk system performance. Computer, 27(3):38–46, 1994.
- Principles of database buffer management. ACM Transactions on Database Systems (TODS), 9(4):560–595, 1984.
- 2q: a low overhead high performance buffer management replacement algorithm. In Proceedings of the 20th International Conference on Very Large Data Bases, pages 439–450. Citeseer, 1994.
- Tinylfu: A highly efficient cache admission policy. ACM Transactions on Storage (ToS), 13(4):1–31, 2017.
- Onlinemin: A fast strongly competitive randomized paging algorithm. Theory of Computing Systems, 56:22–40, 2015.
- Competitive paging algorithms. Journal of Algorithms, 12(4):685–699, 1991.
- A strongly competitive randomized paging algorithm. Algorithmica, 6(1):816–825, 1991.
- A primal-dual randomized algorithm for weighted paging. Journal of the ACM (JACM), 59(4):1–24, 2012.
- Competitive algorithms for block-aware caching. In Proceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures, pages 161–172, 2022.
- A survey on ai for storage. CCF Transactions on High Performance Computing, 4(3):233–264, 2022.
- Online algorithms with advice: A survey. ACM Computing Surveys (CSUR), 50(2):1–34, 2017.
- Competitive caching with machine learned advice. Journal of the ACM (JACM), 68(4):1–25, 2021.
- Laszlo A. Belady. A study of replacement algorithms for a virtual-storage computer. IBM Systems journal, 5(2):78–101, 1966.
- A survey of machine learning for computer architecture and systems. ACM Computing Surveys (CSUR), 55(3):1–39, 2022.
- Learning to cache with no regrets. In IEEE INFOCOM 2019-IEEE Conference on Computer Communications, pages 235–243. IEEE, 2019.
- Driving cache replacement with {{\{{ML-based}}\}}{{\{{LeCaR}}\}}. In 10th USENIX Workshop on Hot Topics in Storage and File Systems (HotStorage 18), 2018.
- Learning cache replacement with CACHEUS. In 19th USENIX Conference on File and Storage Technologies (FAST 21), pages 341–354, 2021.
- Prediction, learning, and games. Cambridge university press, 2006.
- Elad Hazan et al. Introduction to online convex optimization. Foundations and Trends® in Optimization, 2(3-4):157–325, 2016.
- Following the perturbed leader for online structured learning. In International Conference on Machine Learning, pages 1034–1042. PMLR, 2015.
- A survey on indexing techniques for big data: taxonomy and performance evaluation. Knowledge and information systems, 46:241–284, 2016.
- Handbook of Markov decision processes: methods and applications, volume 40. Springer Science & Business Media, 2012.
- openGauss. Enterprise-grade open-source relational database. https://opengauss.org/en/, (accessed April, 2024).
- TPC-C. Online transaction processing benchmark. https://www.tpc.org/tpcc/, (accessed April, 2024).
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.