Enabling Volatile Caches for Energy Harvesting Systems

02/18/2022
by   Jianping Zeng, et al.
0

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.

READ FULL TEXT

page 9

page 10

page 11

research
06/20/2020

Compiler Directed Speculative Intermittent Computation

This paper presents CoSpec, a new architecture/compiler co-design scheme...
research
03/04/2022

eBaRe: An Efficient Backup and Restore Techniques in Hybrid L-1 Cache for Energy Harvesting Devices

Battery operated devices are rapidly increasing due to the bulk usage of...
research
12/18/2022

An Efficient NVM based Architecture for Intermittent Computing under Energy Constraints

Battery-less technology evolved to replace battery technology. Non-volat...
research
09/28/2018

Intelligence Beyond the Edge: Inference on Intermittent Embedded Systems

Energy-harvesting technology provides a promising platform for future Io...
research
09/13/2019

Alpaca: Intermittent Execution without Checkpoints

The emergence of energy harvesting devices creates the potential for bat...
research
01/25/2021

Freezer: A Specialized NVM Backup Controller for Intermittently-Powered Systems

The explosion of IoT and wearable devices determined a rising attention ...
research
03/01/2021

SmartON: Just-in-Time Active Event Detection on Energy Harvesting Systems

We propose SmartON, a batteryless system that learns to wake up proactiv...

Please sign up or login with your details

Forgot password? Click here to reset