Lune

MICRO2021Top-tier venue

ReplayCache: Enabling Volatile Cachesfor Energy Harvesting Systems

Jianping Zeng, Jongouk Choi, Xinwei Fu, Ajay Paddayuru Shreepathi, Dongyoon Lee, Changwoo Min, Changhee Jung

Abstract

Energy harvesting systems have shown their unique benefit of ultra-long operation time without maintenance and are expected to be more prevalent in the era of Internet of Things. However, due to the batteryless nature, they suffer unpredictable frequent power outages. They thus require a lightweight mechanism for crash consistency since saving/restoring checkpoints across the outages can limit forward progress by consuming hard-won energy. For the reason, energy harvesting systems have been designed with a non-volatile memory (NVM) only. The use of a volatile data cache has been assumed to be not viable or at least challenging due to the difficulty to ensure cacheline persistence.

In this paper, we propose ReplayCache, a software-only crash consistency scheme that enables commodity energy harvesting systems to exploit a volatile data cache. ReplayCache does not have to ensure the persistence of dirty cachelines or record their logs at run time. Instead, ReplayCache recovery runtime re-executes the potentially unpersisted stores in the wake of power failure to restore the consistent NVM state, from which interrupted program can safely resume. To support store replay during recovery, ReplayCache partitions program into a series of regions in a way that store operand registers remain intact within each region, and checkpoints all registers just before power failure using the crash consistency mechanism of the commodity systems. For performance, ReplayCache enables region-level persistence that allows the stores in a region to be asynchronously persisted until the region ends, exploiting ILP. The evaluation with 23 benchmark applications show that compared to the baseline with no caches, ReplayCache can achieve about 10.72x and 8.5x-8.9x speedup (on geometric mean) for the scenarios without and with power outages, respectively.

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.

12 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

  • Write-Light Cache for Energy Harvesting Systems cites Compiler-directed soft error resilience for lightweight GPU register file protection
  • Write-Light Cache for Energy Harvesting Systems cites Capri: Compiler and Architecture Support for Whole-System Persistence
  • Write-Light Cache for Energy Harvesting Systems cites Unbounded Hardware Transactional Memory for a Hybrid DRAM/NVM Memory System
  • Write-Light Cache for Energy Harvesting Systems cites PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)
  • Write-Light Cache for Energy Harvesting Systems cites Turnpike: Lightweight Soft Error Resilience for In-Order Cores
  • IntOS: Persistent Embedded Operating System and Language Support for Multi-threaded Intermittent Computing cites Write-Light Cache for Energy Harvesting Systems
  • IntOS: Persistent Embedded Operating System and Language Support for Multi-threaded Intermittent Computing cites SweepCache: Intermittence-Aware Cache on the Cheap
  • Capri: Compiler and Architecture Support for Whole-System Persistence cites Compiler-directed soft error resilience for lightweight GPU register file protection
  • Capri: Compiler and Architecture Support for Whole-System Persistence cites Durable Transactional Memory Can Scale with Timestone
  • Capri: Compiler and Architecture Support for Whole-System Persistence cites Unbounded Hardware Transactional Memory for a Hybrid DRAM/NVM Memory System
  • Capri: Compiler and Architecture Support for Whole-System Persistence cites PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)
  • Capri: Compiler and Architecture Support for Whole-System Persistence cites Turnpike: Lightweight Soft Error Resilience for In-Order Cores
  • SweepCache: Intermittence-Aware Cache on the Cheap cites Write-Light Cache for Energy Harvesting Systems
  • SweepCache: Intermittence-Aware Cache on the Cheap cites Compiler-directed soft error resilience for lightweight GPU register file protection
  • SweepCache: Intermittence-Aware Cache on the Cheap cites Capri: Compiler and Architecture Support for Whole-System Persistence
  • SweepCache: Intermittence-Aware Cache on the Cheap cites Unbounded Hardware Transactional Memory for a Hybrid DRAM/NVM Memory System
  • SweepCache: Intermittence-Aware Cache on the Cheap cites PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)
  • SweepCache: Intermittence-Aware Cache on the Cheap cites Turnpike: Lightweight Soft Error Resilience for In-Order Cores
  • Turnpike: Lightweight Soft Error Resilience for In-Order Cores cites Compiler-directed soft error resilience for lightweight GPU register file protection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Write-Light Cache for Energy Harvesting SystemsJongouk Choi, Jianping Zeng, Dongyoon Lee, Changwoo Min et al.ISCA 2023 · 24 citations
  2. Capri: Compiler and Architecture Support for Whole-System PersistenceJungi Jeong, Jianping Zeng, Changhee JungHPDC 2022 · 21 citations
  3. Turnpike: Lightweight Soft Error Resilience for In-Order CoresJianping Zeng, Hongjune Kim, Jaejin Lee, Changhee JungMICRO 2021 · 17 citations
  4. IntOS: Persistent Embedded Operating System and Language Support for Multi-threaded Intermittent ComputingYilun Wu, Byounguk Min, Mohannad Ismail, Wenjie Xiong et al.OSDI 2024 · 16 citations
  5. SweepCache: Intermittence-Aware Cache on the CheapYuchen Zhou, Jianping Zeng, Jungi Jeong, Jongouk Choi et al.MICRO 2023 · 15 citations

Builds on5

  1. Durable Transactional Memory Can Scale with TimestoneMadhava Krishnan Ramanathan, Jaeho Kim, Ajit Mathew, Xinwei Fu et al.ASPLOS 2020 · 46 citations
  2. Compiler-directed soft error resilience for lightweight GPU register file protectionHongjune Kim, Jianping Zeng, Qingrui Liu, Mohammad Abdel-Majeed et al.PLDI 2020 · 31 citations
  3. PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)Jungi Jeong, Changhee JungASPLOS 2021 · 30 citations
  4. Unbounded Hardware Transactional Memory for a Hybrid DRAM/NVM Memory SystemJungi Jeong, Jaewan Hong, Seungryoul Maeng, Changhee Jung et al.MICRO 2020 · 29 citations
  5. Turnpike: Lightweight Soft Error Resilience for In-Order CoresJianping Zeng, Hongjune Kim, Jaejin Lee, Changhee JungMICRO 2021 · 17 citations

Related papers

  1. WarmCache: Exploiting STT-RAM Cache for Low-Power Intermittent SystemsNoureldin Hassan, Byounguk Min, Changhee Jung, Yan Solihin et al.ISCA 2025 · 7 citations
  2. Cache-aware Task Decomposition for Efficient Intermittent Computing SystemsShuo Xu, Wei Zhang, Mengying Zhao, Zimeng Zhou et al.DAC 2024 · 2 citations
  3. Rethinking Prefetching for Intermittent ComputingGan Fang, Jianping Zeng, Aditya Gupta, Changhee JungISCA 2025 · 5 citations
  4. Forget Failure: Exploiting SRAM Data Remanence for Low-overhead Intermittent ComputationHarrison Williams, Xun Jian, Matthew HicksASPLOS 2020 · 27 citations
  5. Data Cache for Intermittent Computing Systems with Non-Volatile Main MemorySourav Mohapatra, Vito Kortbeek, Marco Antonio van Eerden, Jochem Broekhoff et al.ASPLOS 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines