arrow
Return

Adaptive Task-Based Intermittent Computing System With Parallel State Backup

delete2023-06-01
delete0
PRE
AI
W
Wei Zhang
Q
Qianling Zhang
M
Mingsong Lv
S
Songran Liu
Z
Zimeng Zhou
陈秋霖 cover
陈秋霖 (Qiulin Chen)
N
Nan Guan
L
Lei Ju *
DOI:10.1109/TCAD.2022.3213989delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Energy harvesting promises to power billions of Internet of Things devices without being restricted by battery life. Since the energy harvester generally outputs weak and unstable energy, the system may suffer frequent and unpredictable power failures, thus falling into cyclically reboots without forward progress. The task-based intermittent computing system which periodically backs up system states into nonvolatile memory (NVM) is proposed to solve the nonprogress problem, with the nontrivial cost of frequent backups. How to reduce the backup overhead becomes a major research problem for intermittent computing. This article, for the first time, proposes to parallelize state backup and program execution with asynchronous direct memory access (DMA) to hide the backup latency into the program's execution. But, straightforwardly executing the state backup and the program in parallel may cause an inconsistent system state. In specific, the system state may be modified by the program during backup, and therefore may be backed up incorrectly and further cause the system to deliver an incorrect computation result. We make a deep analysis on the system behavior and observe that, although the system state may be backed up incorrectly, the incorrect backup will be covered by the subsequent correct backups soon as the backup operations are performed frequently. In addition, only a small part of variables among all the program states may cause incorrect computation result. So, in this article, we aggressively allow incorrect backups to occur and propose a backup error detection method and a fault-tolerant backup management to guarantee the correctness of the system's execution. To augment the parallel backup method, an adaptive execution method is further proposed to reduce the number of backups and balance the ratio between task execution time and backup latency. We design a run-time system to implement the proposed approach, and experimental results conducted on an STM32F7-based platform show that the proposed method can achieve a $2.6\times $ average speedup.
Keywords:
Adaptive execution
asynchronous direct memory access (DMA)
intermittent computing
state backup

Journal

I
IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
IF:
2.9
Papers:
564
Citations:
9.6K

Organization

H
huawei technologies
Scholars:
3.3K
Papers: 2.9K
Citations: 1
H
hong kong polytechnic university
Scholars:
3.0W
Papers: 4.1W
Citations: 921
C
City University of Hong Kong
Scholars:
2.3W
Papers: 3.0W
Citations: 6.1W
N
northeastern university - china
Scholars:
3.1W
Papers: 2.7W
Citations: 37
S
shandong university
Scholars:
9.3W
Papers: 6.4W
Citations: 94
researcher View more organizations