Fine-Grain Checkpointing with In-Cache-Line Logging
Open Access
- 4 April 2019
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 441-454
Abstract
Non-Volatile Memory offers the possibility of implementing high-performance, durable data structures. However, achieving performance comparable to well-designed data structures in non-persistent (transient) memory is difficult, primarily because of the cost of ensuring the order in which memory writes reach NVM. Often, this requires flushing data to NVM and waiting a full memory round-trip time. In this paper, we introduce two new techniques: Fine-Grained Checkpointing, which ensures a consistent, quickly recoverable data structure in NVM after a system failure, and In-Cache-Line Logging, an undo-logging technique that enables recovery of earlier state without requiring cacheline flushes in the normal case. We implemented these techniques in the Masstree data structure, making it persistent and demonstrating the ease of applying them to a highly optimized system and their low (5.9-15.4%) runtime overhead cost.Keywords
All Related Versions
This publication has 23 references indexed in Scilit:
- FPTree2016
- High-Performance Transactions for Persistent Memories2016
- Persistent B + -trees in non-volatile main memoryProceedings of the VLDB Endowment, 2015
- Atlas2014
- Speedy transactions in multicore in-memory databases2013
- Cache craftiness for fast multicore key-value storage2012
- Foundations of the C++ concurrency memory model2008
- Dynamic performance tuning of word-based software transactional memory2008
- A novel nonvolatile memory with spin torque transfer magnetization switching: spin-ram2006
- The Java memory model2005