Practical Bounds on Optimal Caching with Variable Object Sizes

Author:

Berger Daniel S.1,Beckmann Nathan1,Harchol-Balter Mor1

Affiliation:

1. Carnegie Mellon University, Pittsburgh, PA, USA

Abstract

Many recent caching systems aim to improve miss ratios, but there is no good sense among practitioners of how much further miss ratios can be improved. In other words, should the systems community continue working on this problem? Currently, there is no principled answer to this question. In practice, object sizes often vary by several orders of magnitude, where computing the optimal miss ratio (OPT) is known to be NP-hard. The few known results on caching with variable object sizes provide very weak bounds and are impractical to compute on traces of realistic length. We propose a new method to compute upper and lower bounds on OPT. Our key insight is to represent caching as a min-cost flow problem, hence we call our method the flow-based offline optimal (FOO). We prove that, under simple independence assumptions, FOO's bounds become tight as the number of objects goes to infinity. Indeed, FOO's error over 10M requests of production CDN and storage traces is negligible: at most 0.3%. FOO thus reveals, for the first time, the limits of caching with variable object sizes. While FOO is very accurate, it is computationally impractical on traces with hundreds of millions of requests. We therefore extend FOO to obtain more efficient bounds on OPT, which we call practical flow-based offline optimal (PFOO). We evaluate PFOO on several full production traces and use it to compare OPT to prior online policies. This analysis shows that current caching systems are in fact still far from optimal, suffering 11--43% more cache misses than OPT, whereas the best prior offline bounds suggest that there is essentially no room for improvement.

Funder

National Science Foundation

Google

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Networks and Communications,Hardware and Architecture,Safety, Risk, Reliability and Quality,Computer Science (miscellaneous)

Reference85 articles.

1. Marc Abrams C. R. Standridge Ghaleb Abdulla S. Williams and Edward A. Fox . 1995. Caching Proxies: Limitations and Potentials. Technical Report. Virginia Polytechnic Institute & State University Blacksburgh VA. Marc Abrams C. R. Standridge Ghaleb Abdulla S. Williams and Edward A. Fox . 1995. Caching Proxies: Limitations and Potentials. Technical Report. Virginia Polytechnic Institute & State University Blacksburgh VA.

2. Principles of Optimal Page Replacement

3. Ravindra K Ahuja Thomas L Magnanti and James B Orlin . 1993. Network flows: theory algorithms and applications. Prentice hall. Ravindra K Ahuja Thomas L Magnanti and James B Orlin . 1993. Network flows: theory algorithms and applications. Prentice hall.

4. Susanne Albers Sanjeev Arora and Sanjeev Khanna . 1999. Page replacement for general caching problems. In SODA. 31--40. Susanne Albers Sanjeev Arora and Sanjeev Khanna . 1999. Page replacement for general caching problems. In SODA. 31--40.

5. New Results on a Generalized Coupon Collector Problem Using Markov Chains

Cited by 22 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Increment - and - Freeze: Every Cache, Everywhere, All of the Time;Proceedings of the 35th ACM Symposium on Parallelism in Algorithms and Architectures;2023-06-17

2. An overview of analysis methods and evaluation results for caching strategies;Computer Networks;2023-06

3. DySO: Enhancing application offload efficiency on programmable switches;Computer Networks;2023-04

4. Finding optimal non-datapath caching strategies via network flow;Theoretical Computer Science;2023-02

5. End-to-End Deep Learning Proactive Content Caching Framework;GLOBECOM 2022 - 2022 IEEE Global Communications Conference;2022-12-04

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3