Lune

HPCA2022Top-tier venue

Virtual Coset Coding for Encrypted Non-Volatile Memories with Multi-Level Cells

Stephen Longofono, Seyed Mohammad Seyedzadeh, Alex K. Jones

Abstract

Recently, Phase-Change Memory (PCM) has become a popular commercialized non-volatile memory (NVM), which has been deployed as a backing memory for DRAM main memory, secondary storage, or even as a DRAM main memory replacement. Like other NVMs, PCM has asymmetric access energy; writes dominate reads. When considering multilevel cells (MLC), this asymmetry can vary by an order of magnitude. Many schemes have been developed to take advantage of the asymmetric patterns of ‘0’s and ‘1’s in the data to reduce write energy. Because the memory is non-volatile, data can be recovered via physical attack or across system reboot cycles. To protect information stored in PCM against these attacks requires encryption. Unfortunately, most encryption algorithms scramble ‘0’s and ‘1’s in the data, effectively removing any patterns and negatively impacting schemes that leverage data bias and similarity to reduce write energy. In this paper, we introduce Virtual Coset Coding (VCC) as a workload-independent approach that reduces costly symbol transitions for storing encrypted data. VCC is based on two ideas. First, using coset encoding with random coset candidates, it is possible to effectively reduce the frequency of costly bit/symbol transitions when writing encrypted data. Second, a small set of random substrings can be used to achieve the same encoding efficiency as a large number of random coset candidates, but at a much lower encoding/decoding cost. Additionally, we demonstrate how VCC can be leveraged for energy reduction in combination with fault-mitigation and fault-tolerance to dramatically increase the lifetimes of endurance-limited NVMs, such as PCM. We evaluate the design of VCC and demonstrate that it can be implemented on-chip with only a nominal area overhead. VCC reduces dynamic energy by 22-28% while maintaining the same performance. Using our multi-objective optimization approach achieves at least a 36% improvement in lifetime over the state-of-the-art and at least a 50% improvement in lifetime vs. an unencoded memory, while maintaining its energy savings and system 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.

1 top-tier paper has 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

  • Realizing Extreme Endurance Through Fault-aware Wear Leveling and Improved Tolerance cites FLOWER and FaME: A Low Overhead Bit-Level Fault-map and Fault-Tolerance Approach for Deeply Scaled Memories
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Realizing Extreme Endurance Through Fault-aware Wear Leveling and Improved ToleranceJiangwei Zhang, Chong Wang, Zhenhua Zhu, Donald Kline et al.HPCA 2023 · 5 citations

Builds on1

  1. FLOWER and FaME: A Low Overhead Bit-Level Fault-map and Fault-Tolerance Approach for Deeply Scaled MemoriesDonald Kline Jr., Jiangwei Zhang, Rami G. Melhem, Alex K. JonesHPCA 2020 · 15 citations

Related papers

  1. Improving the Reliability of Next Generation SSDs using WOM-v CodesShehbaz Jaffer, Kaveh Mahdaviani, Bianca SchroederFAST 2022 · 26 citations
  2. DBC: Drift-aware Binary Code for Drift-tolerant Deep Neural NetworksInsu Choi, Jaeyong Chung, Joon-Sung YangDAC 2025
  3. Don't open row: rethinking row buffer policy for improving performance of non-volatile memoriesYongho Lee, Osang Kwon, Seokin HongDAC 2022 · 2 citations
  4. Runtime-guided ECC protection using online estimation of memory vulnerabilityLuc Jaulmes, Miquel Moretó, Mateo Valero, Mattan Erez et al.SC 2020 · 3 citations
  5. Predict and Write: Using K-Means Clustering to Extend the Lifetime of NVM StorageSaeed Kargar, Heiner Litz, Faisal NawabICDE 2021 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines