The XOR Cache: A Catalyst for Compression
Zhewen Pan, Joshua San Miguel
Abstract
Modern computing systems allocate significant amounts of resources for caching, especially for the last level cache (LLC). We observe that there is untapped potential for compression by leveraging redundancy due to private caching and inclusion that are common in today's systems. We introduce the XOR Cache to exploit this redundancy via XOR compression. Unlike conventional cache architectures, XOR Cache stores bitwise XOR values of line pairs, halving the number of stored lines via a form of inter-line compression. When combined with other compression schemes, XOR Cache can further boost intra-line compression ratios by XORing lines of similar value, reducing the entropy of the data prior to compression. Evaluation results show that the XOR Cache can save LLC area by 1.93× and power by 1.92× at a cost of 2.06% performance overhead compared to a larger uncompressed cache, reducing energy-delay product by 26.3%.
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 b0293c3b-2d6f-4ac8-98f2-a627b2740f67Builds on12
- Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive WorldMengjia Yan, Read Sprabery, Bhargava Gopireddy, Christopher W. Fletcher et al.S&P 2019 · 201 citations
- Thesaurus: Efficient Cache Compression via Dynamic ClusteringAmin Ghasemazar, Prashant J. Nair, Mieszko LisASPLOS 2020 · 22 citations
- IDIO: Network-Driven, Inbound Network Data Orchestration on Server ProcessorsMohammad Alian, Siddharth Agarwal, Jongmin Shin, Neel Patel et al.MICRO 2022 · 21 citations
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public CloudZirui Neil Zhao, Adam Morrison, Christopher W. Fletcher, Josep TorrellasASPLOS 2024 · 20 citations
- BCD deduplication: effective memory compression using partial cache-line deduplicationSungbo Park, Ingab Kang, Yaebin Moon, Jung Ho Ahn et al.ASPLOS 2021 · 19 citations
Related papers
- Accelerating XOR-based erasure coding using program optimization techniquesYuya UezatoSC 2021 · 16 citations
- FReaC Cache: Folded-logic Reconfigurable Computing in the Last Level CacheAshutosh Dhar, Xiaohao Wang, Hubertus Franke, Jinjun Xiong et al.MICRO 2020 · 4 citations
- CDCache: Space-Efficient Flash Caching via Compression-before-DeduplicationHengying Xiao, Jingwei Li, Yanjing Ren, Ruijin Wang et al.INFOCOM 2024 · 1 citation
- Intermittence-Aware Cache CompressionGan Fang, Jianping Zeng, Yuchen Zhou, Changhee JungHPCA 2026 · 3 citations
- A4: Microarchitecture-Aware LLC Management for Datacenter Servers with Emerging I/O DevicesHaneul Park, Jiaqi Lou, Sangjin Lee, Yifan Yuan et al.ISCA 2025 · 2 citations
