Thesaurus: Efficient Cache Compression via Dynamic Clustering
Amin Ghasemazar, Prashant J. Nair, Mieszko Lis
Abstract
In this paper, we identify a previously untapped source of compressibility in cache working sets: clusters of cachelines that are similar, but not identical, to one another. To compress the cache, we can then store the "clusteroid" of each cluster together with the (much smaller) "diffs" needed to reconstruct the rest of the cluster. To exploit this opportunity, we propose a hardware-level on-line cacheline clustering mechanism based on locality-sensitive hashing. Our method dynamically forms clusters as they appear in the data access stream and retires them as they disappear from the cache. Our evaluations show that we achieve 2.25× compression on average (and up to 9.9×) on SPEC CPU 2017 suite and is significantly higher than prior proposals scaled to an iso-silicon budget.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6ad0a314-a931-4e51-abb8-60f4c7c799b9Cited by top-tier papers6
- Accelerating Recommendation System Training by Leveraging Popular ChoicesMuhammad Adnan, Yassaman Ebrahimzadeh Maboud, Divya Mahajan, Prashant J. NairVLDB 2022 · 70 citations
- Morpheus: Extending the Last Level Cache Capacity in GPU Systems Using Idle GPU Core ResourcesSina Darabi, Mohammad Sadrosadati, Negar Akbarzadeh, Joël Lindegger et al.MICRO 2022 · 24 citations
- PDede: Partitioned, Deduplicated, Delta Branch Target BufferNiranjan K. Soundararajan, Peter Braun, Tanvir Ahmed Khan, Baris Kasikci et al.MICRO 2021 · 22 citations
- Predict and Write: Using K-Means Clustering to Extend the Lifetime of NVM StorageSaeed Kargar, Heiner Litz, Faisal NawabICDE 2021 · 12 citations
- The XOR Cache: A Catalyst for CompressionZhewen Pan, Joshua San MiguelISCA 2025 · 1 citation
Related papers
- Safecracker: Leaking Secrets through Compressed CachesPo-An Tsai, Andrés Sánchez, Christopher W. Fletcher, Daniel SánchezASPLOS 2020 · 23 citations
- MagiCache: A Virtual In-Cache Computing EngineRenhao Fan, Yikai Cui, Weike Li, Mingyu Wang et al.ISCA 2025 · 3 citations
- Composable Cachelets: Protecting Enclaves from Cache Side-Channel AttacksDaniel Townley, Kerem Arikan, Yu David Liu, Dmitry Ponomarev et al.USENIX Security 2022
- Cluster-Reduce: Compressing Sketches for Distributed Data StreamsYikai Zhao, Zheng Zhong, Yuanpeng Li, Yi Zhou et al.KDD 2021 · 12 citations
- Fat Loads: Exploiting Locality Amongst Contemporaneous Load Operations to Optimize Cache AccessesVanshika Baoni, Adarsh Mittal, Gurindar S. SohiMICRO 2021 · 3 citations
