A Novel STT-RAM-Based Hybrid Cache for Intermittently Powered Processors in IoT Devices

作者:Xie, Mimi*; Pan, Chen; Zhang, Youtao; Hu, Jingtong; Liu, Yongpan; Xue, Chun Jason
来源:IEEE Micro, 2019, 39(1): 24-32.
DOI:10.1109/MM.2018.2890257

摘要

Emerging nonmemory technologies have been widely employed in intermittently powered the Internet of Things (IoT) devices to bridge program execution across different power cycles. Together with register contents, the cache contents will be checkpointed to nonvolatile memory upon power outages. While pure nonvolatile memory-based cache is an intuitive option, it suffers from inferior performance due to high write latency and energy overhead. We introduce a spin-transfer torque magnetic random-access memory (STT-RAM)-based hybrid cache which is specifically tailored for the intermittently powered embedded system. This cache design supports both normal memory access and checkpointing: During normal access, the large density of STT-RAM and the fast access speed of static random-access memory (SRAM) are fully taken advantage to achieve high performance and low energy consumption; during checkpointing, the most important cache blocks in SRAM are migrated to the dead or unimportant clean cache blocks in STT-RAM. This design achieves instant resumption speed without restoration of large cache state. The experimental results demonstrate a 1.3x execution progress improvement compared with a pure nonvolatile cache design.