Paper Details
Reference:
Kia Shakiba, Sari Sultan, and Michael Stumm,
"Kosmo: Efficient online miss ratio curve generation for eviction policy evaluation",
In Proceedings 22th USENIX Conference on File and Storage Technologies (FAST'24), Santa Clara, CA, USA, USENIX Association, Month, 2024, pp. 89–105.
Download:
PDF ; Talk Slides ; Talk
Abstract:
In-memory caches play an important role in reducing the load on backend storage servers for many workloads. Miss ratio curves (MRCs) are an important tool for configuring these caches with respect to cache size and eviction policy. MRCs provide insight into the trade-off between cache size (and thus costs) and miss ratio for a specific eviction policy. Over the years, many MRC-generation algorithms have been developed. However, to date, only Miniature Simulations is capable of efficiently generating MRCs for popular eviction policies, such as Least Frequently Used (LFU), First-In-First- Out (FIFO), 2Q, and Least Recently/Frequently Used (LRFU), that do not adhere to the inclusion property. One critical downside of Miniature Simulations is that it incurs significant memory overhead, precluding its use for online cache analysis at runtime in many cases.
In this paper, we introduce Kosmo, an MRC generation algorithm that allows for the simultaneous generation of MRCs for a variety of eviction policies that do not adhere to the inclusion property. We evaluate Kosmo using 52 publicly-accessible cache access traces with a total of roughly 126 billion accesses. Compared to Miniature Simulations configured with 100 simulated caches, Kosmo has lower memory overhead by a factor of 3.6 on average, and as high as 36, and a higher throughput by a factor of 1.3 making it far more suitable for online MRC generation.
Keywords:
Cache sizing, Miss rate curve (MRC) generation, Eviction policies, LFU, FIFO, LRFU, 2Q
Reference Info:
ISBN: 978-1-939133-38-0
BibTeX:
@inproceedings(Shakiba-fast24, author = {Kia Shakiba and Sari Sultan and Michael Stumm}, title = {Kosmo: Efficient online miss ratio curve generation for eviction policy evaluation}, booktitle = {Proceedings 22th USENIX Conference on File and Storage Technologies (\textbf{FAST'24})}, location = {Santa Clara, CA, USA}, publisher = {USENIX Association}, month = {Month}, year = {2024}, pages = {89--105}, isbn = {978-1-939133-38-0}, keywords = {Cache sizing, Miss rate curve (MRC) generation, Eviction policies, LFU, FIFO, LRFU, 2Q} )