Pseudo-Log: Restore Global Data Facing Power Failures with Minimum NVM Write

Edwin H.-M. Sha,Yeteng Liao,Qingfeng Zhuge,Rui Xu,Yuhong Song,Jialin Liu
DOI: https://doi.org/10.1109/hpcc-dss-smartcity-dependsys57074.2022.00301
2022-01-01
Abstract:Embedded devices and systems are commonly used in various scenarios. But they often face power failures because of the unstable power supply. So it is important to back up the running state and global data of the program under this architecture. Meanwhile, non-volatile memory (NVM) is widely used to back up the program state and store global data because of its byte-addressability, low access latency, and persistency. But NVM has a limited write endurance and the backup procedure may cause many writes to NVM. There are many works to optimize the backup of the program state, but few considers the consistency between the program state and global data. In this paper, we propose a scheme, Pseudo-Log, to delay the update of global data and then reduce the write on NVM and guarantee the global data is restored correctly. Experiments show that our method greatly reduces the number of NVM writes compared with other methods. The average improvement in the number of writes is about 160x.
What problem does this paper attempt to address?