Beating OPT with Statistical Clairvoyance and Variable Size Caching
Pengcheng Li, Colin Pronovost, William Wilson et al. · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · 2019
Caching techniques are widely used in today's computing infrastructure from virtual memory management to server cache and memory cache. This paper builds on two observations. First, the space utilization in cache can be improved by varying the cache size based on dynamic application demand. Second, it is easier to predict application behavior statistically than precisely. This paper presents a new variable-size cache that uses statistical knowledge of program behavior to maximize the cache performance. We measure performance using data access traces from real-world workloads, including Memcached traces from Facebook and storage traces from Microsoft Research. In an offline setting, the new cache is demonstrated to outperform even OPT, the optimal fixed-size cache which makes use of precise knowledge of program behavior.
Cited by 23 works. doi:10.1145/3297858.3304067 Open-access PDF
Authors
References
- A study of replacement algorithms for a virtual-storage computer
- The working set model for program behavior
- Evaluation techniques for storage hierarchies
- The working set model for program behavior
- Operating Systems Theory
- Leases: an efficient fault-tolerant mechanism for distributed file cache consistency
- Working Sets Past and Present
- Properties of the working-set model
- Aspects of Cache Memory and Instruction Buffer Performance
- The LRU-K page replacement algorithm for database disk buffering