Metraipolis › archive › dc_7ab744a48678
SR-Gadgets: Make Scan-Resistant Caching Practical — arXiv:2609.30468
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.30468
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T02:05:30.191Z
- SHA-256 of the archived text
615e39b5b0b6fd82f1fe7b9f87f46babb58308b13308a8fac89a524ca916d3b0- Stable URL of this page
https://metraipolis.com/documento/dc_7ab744a48678
How to cite
SR-Gadgets: Make Scan-Resistant Caching Practical — arXiv:2609.30468 — arXiv (en), https://arxiv.org/abs/2609.30468 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_7ab744a48678 (Metraipolis archive dc_7ab744a48678, sha256 615e39b5b0b6fd82f1fe7b9f87f46babb58308b13308a8fac89a524ca916d3b0)
BibTeX
@misc{dc7ab744a48678,
title = {SR-Gadgets: Make Scan-Resistant Caching Practical — arXiv:2609.30468},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.30468},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_7ab744a48678; sha256 615e39b5b0b6fd82f1fe7b9f87f46babb58308b13308a8fac89a524ca916d3b0},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.30468. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Block caches commonly serve scan-heavy I/O workloads, motivating extensive studies on scan-resistant eviction algorithms. Many of these algorithms adopt a multi-queue structure. However, they focus primarily on one-time scans and do not handle repeated scans well. Two important challenges from repeated scans are miss-ratio cliffs, where a small increase in cache size sharply reduces the miss ratio, and Belady's anomalies, where increasing the cache size increases the miss ratio. In this paper, we first develop two quantitative metrics to measure these behaviors. With these metrics, we find that LIRS is the only multi-queue algorithm that is scan-resistant (almost cliff- and anomaly-free). Contrary to conventional wisdom, we show that stack distance is not the secret sauce that makes LIRS scan-resistant. Instead, regulating the queues are the key to its scan resistance. Based on these insights, we design the \gadgetprefix Gadgets, easy-to-integrate augmentations that make existing algorithms scan-resistant without changing their eviction heuristics or queue structures. We implement the \gadgetprefix Gadgets in five algorithms: S3-FIFO, SIEVE, ARC, 2Q, and TinyLFU, and make them scan-resistant. Evaluated on 5,538 production traces, all augmented algorithms outperform their base versions, reducing miss ratios by up to 23.1% while consistently reducing cliffs and Belady's anomalies across the production traces. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-28 in cs.PF). Categorie arXiv: Performance (cs.PF). Pagina del lavoro: https://arxiv.org/abs/2609.30468 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-08T01:40:52.362Z dalla pagina https://arxiv.org/catchup/cs.PF/2026-09-28?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).