Lune

MICRO2022Top-tier venue

Revisiting Residue Codes for Modern Memories

Evgeny Manzhosov, Adam Hastings, Meghna Pancholi, Ryan Piersma, Mohamed Tarek Ibn Ziad, Simha Sethumadhavan

Abstract

Residue codes have been traditionally used for compute error correction rather than storage error correction. In this paper, we use these codes for storage error correction with surprising results. We find that adapting residue codes to modern memory systems offers a level of error correction comparable to traditional schemes such as Reed-Solomon with fewer bits of storage. For instance, our adaptation of residue code – MUSE ECC – can offer ChipKill protection using approximately 30% fewer bits. We show that the storage gains can be used to hold metadata needed for emerging security functionality such as memory tagging or to provide better detection capabilities against Rowhammer attacks. Our evaluation shows that memory tagging in a MUSE-enabled system shows a 12% reduction in memory bandwidth utilization while providing the same level of error correction as a traditional ECC baseline without a noticeable loss of performance. Thus, our work demonstrates a new, flexible primitive for co-designing reliability with security and performance.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites SafeGuard: Reducing the Security Risk from Row-Hammer via Low-Cost Integrity Protection
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read Disturbance cites Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions
  • SafeGuard: Reducing the Security Risk from Row-Hammer via Low-Cost Integrity Protection cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • SafeGuard: Reducing the Security Risk from Row-Hammer via Low-Cost Integrity Protection cites Compact Leakage-Free Support for Integrity and Reliability
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites SafeGuard: Reducing the Security Risk from Row-Hammer via Low-Cost Integrity Protection
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites SafeGuard: Reducing the Security Risk from Row-Hammer via Low-Cost Integrity Protection
  • QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation
  • QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost
  • QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority Queues cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites SafeGuard: Reducing the Security Risk from Row-Hammer via Low-Cost Integrity Protection
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
  • Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions cites SafeGuard: Reducing the Security Risk from Row-Hammer via Low-Cost Integrity Protection
  • Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions cites ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation
  • Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions cites CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost
  • Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future Solutions cites Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer Attacks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer MitigationAtaberk Olgun, Yahya Can Tugrul, Nisa Bostanci, Ismail Emir Yuksel et al.USENIX Security 2024 · 29 citations
  2. CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low CostF. Nisa Bostanci, Ismail Emir Yüksel, Ataberk Olgun, Konstantinos Kanellopoulos et al.HPCA 2024 · 27 citations
  3. Spatial Variation-Aware Read Disturbance Defenses: Experimental Analysis of Real DRAM Chips and Implications on Future SolutionsAbdullah Giray Yaglikçi, Yahya Can Tugrul, Geraldo F. Oliveira, Ismail Emir Yüksel et al.HPCA 2024 · 22 citations
  4. QPRAC: Towards Secure and Practical PRAC-based Rowhammer Mitigation using Priority QueuesJeonghyun Woo, Shaopeng Chris Lin, Prashant J. Nair, Aamer Jaleel et al.HPCA 2025 · 20 citations
  5. Variable Read Disturbance: An Experimental Analysis of Temporal Variation in DRAM Read DisturbanceAtaberk Olgun, F. Nisa Bostanci, Ismail Emir Yüksel, Oguzhan Canpolat et al.HPCA 2025 · 15 citations

Builds on7

  1. Exploiting Correcting Codes: On the Effectiveness of ECC Memory Against Rowhammer AttacksLucian Cojocar, Kaveh Razavi, Cristiano Giuffrida, Herbert BosS&P 2019 · 233 citations
  2. PAC it up: Towards Pointer Integrity using ARM Pointer AuthenticationHans Liljestrand, Thomas Nyman, Kui Wang, Carlos Chinea Perez et al.USENIX Security 2019 · 168 citations
  3. SafeGuard: Reducing the Security Risk from Row-Hammer via Low-Cost Integrity ProtectionAli Fakhrzadehgan, Yale N. Patt, Prashant J. Nair, Moinuddin K. QureshiHPCA 2022 · 51 citations
  4. Compact Leakage-Free Support for Integrity and ReliabilityMeysam Taassori, Rajeev Balasubramonian, Siddhartha Chhabra, Alaa R. Alameldeen et al.ISCA 2020 · 22 citations
  5. PAIR: Pin-aligned In-DRAM ECC architecture using expandability of Reed-Solomon codeSangmok Jeong, SeungYup Kang, Joon-Sung YangDAC 2020 · 17 citations

Related papers

  1. How to Kill the Second Bird with One ECC: The Pursuit of Row Hammer Resilient DRAMMichael Jaemin Kim, Minbok Wi, Jaehyun Park, Seoyoung Ko et al.MICRO 2023 · 16 citations
  2. HashTag: Hash-based Integrity Protection for Tagged ArchitecturesLukas Lamster, Martin Unterguggenberger, David Schrammel, Stefan MangardUSENIX Security 2023
  3. Polymorphic Error CorrectionEvgeny Manzhosov, Simha SethumadhavanMICRO 2024 · 1 citation
  4. Copy-on-Flip: Hardening ECC Memory Against Rowhammer AttacksAndrea Di Dio, Koen Koning, Herbert Bos, Cristiano GiuffridaNDSS 2023
  5. CSI:Rowhammer - Cryptographic Security and Integrity against RowhammerJonas Juffinger, Lukas Lamster, Andreas Kogler, Maria Eichlseder et al.S&P 2023
Dusk over the sea between two cliffs drawn in fine vertical lines