Efficient Checkpoint under Unstable Power Supplies on NVM based Devices

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In smart cities, many embedded devices' power supply lacks stability, e.g., solar panel, since they are used outdoors. In these systems, power failures can cause data lost if the data is kept on volatile media like DRAM. Thus, using a backup mechanism to record the program status is necessary for the program going forward. Non-volatile memory (NVM) provides systems with a convenient method to persist the programs' status. However, NVM is notorious for poor write endurance. In this paper, we propose an automatic checkpoint mechanism that can reduce NVM write wear. Firstly, the checkpoint trigger code is instrumented into every basic block to achieve automatic runtime checkpoint activation. Then, when the program triggers checkpoint, the checkpoint procedure incrementally updates program state's backup to reduce redundant NVM writes. In this step, we select what to back up by determining the activated stack frame. Also, our mechanism has two backup copies to avoid power loss corrupting the backup content by interrupting the checkpoint procedure. Finally, we design an update log queue to fine-grained update of global data so that the NVM write can be reduced. Experiments show that our mechanism can effectively reduce total NVM write overhead with acceptable execution overhead.

Original languageEnglish
Title of host publicationProceedings - 24th IEEE International Conference on High Performance Computing and Communications, 8th IEEE International Conference on Data Science and Systems, 20th IEEE International Conference on Smart City and 8th IEEE International Conference on Dependability in Sensor, Cloud and Big Data Systems and Application, HPCC/DSS/SmartCity/DependSys 2022
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1846-1853
Number of pages8
ISBN (Electronic)9798350319934
DOIs
StatePublished - 2022
Event24th IEEE International Conference on High Performance Computing and Communications, 8th IEEE International Conference on Data Science and Systems, 20th IEEE International Conference on Smart City and 8th IEEE International Conference on Dependability in Sensor, Cloud and Big Data Systems and Application, HPCC/DSS/SmartCity/DependSys 2022 - Chengdu, China
Duration: 18 Dec 202220 Dec 2022

Publication series

NameProceedings - 24th IEEE International Conference on High Performance Computing and Communications, 8th IEEE International Conference on Data Science and Systems, 20th IEEE International Conference on Smart City and 8th IEEE International Conference on Dependability in Sensor, Cloud and Big Data Systems and Application, HPCC/DSS/SmartCity/DependSys 2022

Conference

Conference24th IEEE International Conference on High Performance Computing and Communications, 8th IEEE International Conference on Data Science and Systems, 20th IEEE International Conference on Smart City and 8th IEEE International Conference on Dependability in Sensor, Cloud and Big Data Systems and Application, HPCC/DSS/SmartCity/DependSys 2022
Country/TerritoryChina
CityChengdu
Period18/12/2220/12/22

Keywords

  • Backup
  • Checkpoint
  • Power Failure
  • Stack

Fingerprint

Dive into the research topics of 'Efficient Checkpoint under Unstable Power Supplies on NVM based Devices'. Together they form a unique fingerprint.

Cite this