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 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 93196e1a-493f-4f91-9558-5dedb0f2dafbCited by top-tier papers12
- Write-Light Cache for Energy Harvesting SystemsJongouk Choi, Jianping Zeng, Dongyoon Lee, Changwoo Min et al.ISCA 2023 · 24 citations
- Capri: Compiler and Architecture Support for Whole-System PersistenceJungi Jeong, Jianping Zeng, Changhee JungHPDC 2022 · 21 citations
- Turnpike: Lightweight Soft Error Resilience for In-Order CoresJianping Zeng, Hongjune Kim, Jaejin Lee, Changhee JungMICRO 2021 · 17 citations
- 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
- SweepCache: Intermittence-Aware Cache on the CheapYuchen Zhou, Jianping Zeng, Jungi Jeong, Jongouk Choi et al.MICRO 2023 · 15 citations
Builds on5
- Durable Transactional Memory Can Scale with TimestoneMadhava Krishnan Ramanathan, Jaeho Kim, Ajit Mathew, Xinwei Fu et al.ASPLOS 2020 · 46 citations
- 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
- PMEM-spec: persistent memory speculation (strict persistency can trump relaxed persistency)Jungi Jeong, Changhee JungASPLOS 2021 · 30 citations
- Unbounded Hardware Transactional Memory for a Hybrid DRAM/NVM Memory SystemJungi Jeong, Jaewan Hong, Seungryoul Maeng, Changhee Jung et al.MICRO 2020 · 29 citations
- Turnpike: Lightweight Soft Error Resilience for In-Order CoresJianping Zeng, Hongjune Kim, Jaejin Lee, Changhee JungMICRO 2021 · 17 citations
Related papers
- WarmCache: Exploiting STT-RAM Cache for Low-Power Intermittent SystemsNoureldin Hassan, Byounguk Min, Changhee Jung, Yan Solihin et al.ISCA 2025 · 7 citations
- Cache-aware Task Decomposition for Efficient Intermittent Computing SystemsShuo Xu, Wei Zhang, Mengying Zhao, Zimeng Zhou et al.DAC 2024 · 2 citations
- Rethinking Prefetching for Intermittent ComputingGan Fang, Jianping Zeng, Aditya Gupta, Changhee JungISCA 2025 · 5 citations
- Forget Failure: Exploiting SRAM Data Remanence for Low-overhead Intermittent ComputationHarrison Williams, Xun Jian, Matthew HicksASPLOS 2020 · 27 citations
- 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
