Abstract
LRU has been the basis of cache eviction algorithms for decades, with a plethora of innovations on improving LRU's miss ratio and throughput. While it is well-known that FIFO-based eviction algorithms provide significantly better throughput and scalability, they lag behind LRU on miss ratio, thus, cache efficiency.We performed a large-scale simulation study using 5307 block and web cache workloads collected in the past two decades. We find that contrary to what common wisdom suggests, some FIFO-based algorithms, such as FIFO-Reinsertion (or CLOCK), are, in fact, more efficient (have a lower miss ratio) than LRU. Moreover, we find that qick demotion - - evicting most new objects very quickly - - is critical for cache efficiency. We show that when enhanced by qick demotion, not only can state-of-the-art algorithms be more efficient, a simple FIFO-based algorithm can outperform five complex state-of-the-art in terms of miss ratio.
Cite
CITATION STYLE
Yang, J., Qiu, Z., Zhang, Y., Yue, Y., & Rashmi, K. V. (2023). FIFO can be Better than LRU: the Power of Lazy Promotion and Quick Demotion. In HotOS 2023 - Proceedings of the 19th Workshop on Hot Topics in Operating Systems (pp. 70–79). Association for Computing Machinery, Inc. https://doi.org/10.1145/3593856.3595887
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.