SweepCache: Intermittence-Aware Cache on the Cheap

56TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, MICRO 2023(2023)

引用 0|浏览0
暂无评分
摘要
This paper presents SweepCache, a new compiler/architecture codesign scheme that can equip energy harvesting systems with a volatile cache in a performant yet lightweight way. Unlike prior justin-time checkpointing designs that persists volatile data just before power failure and thus dedicates additional energy, SweepCache partitions program into a series of recoverable regions and persists stores at region granularity to fully utilize harvested energy for computation. In particular, SweepCache introduces persist bufferas a redo buffer resident in nonvolatile memory (NVM)-to keep the main memory consistent across power failure while persisting region's stores in a failure-atomic manner. Specifically, for writebacks during region execution, SweepCache saves their cachelines to the persist buffer. At each region end, SweepCache first flushes dirty cachelines to the buffer, allowing the next region to start with a clean cache, and then moves all buffered cachelines to the corresponding NVM locations. In this way, no matter when power failure occurs, the buffer contents or their memory locations always remain intact, which serves as a basis for correct recovery. To hide the persistence delay, SweepCache speculatively starts a region right after the prior region finishes its execution-as if its stores were already persisted-with the two regions having their own persist buffer, i.e., dual-buffering. This region-level parallelism helps SweepCache to achieve the full potential of a high-performance data cache. The experimental results show that compared to the original cachefree nonvolatile processor, SweepCache delivers speedups of 14.60x and 14.86x-outperforming the state-of-the-art work by 3.47x and 3.49x-for two representative energy harvesting power traces, respectively.
更多
查看译文
关键词
compiler/architecture co-design,energy harvesting,failure-atomic
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要