Atlas: Leveraging Locks for Non-volatile Memory Consistency
Atlas: Leveraging Locks for Non-volatile Memory Consistency
复制标题
DOI:
10.1145/2660193.2660224
复制
发表时间:
2014-10-01
影响因子:
--
通讯作者:
Bhandari, Kumud
中科院分区:
文献类型:
--
作者:
Chakrabarti, Dhruva R.;Boehm, Hans-J.;Bhandari, Kumud
Non-volatile main memory, such as memristors or phase change memory, can revolutionize the way programs persist data. In-memory objects can themselves be persistent without the need for a separate persistent data storage format. However, the challenge is to ensure that such data remains consistent if a failure occurs during execution.In this paper, we present our system, called Atlas, which adds durability semantics to lock-based code, typically allowing us to automatically maintain a globally consistent state even in the presence of failures. We identify failure-atomic sections of code based on existing critical sections and describe a log-based implementation that can be used to recover a consistent state after a failure. We discuss several subtle semantic issues and implementation tradeoffs. We confirm the ability to rapidly flush CPU caches as a core implementation bottleneck and suggest partial solutions. Experimental results confirm the practicality of our approach and provide insight into the overheads of such a system.