On testing persistent-memory-based software
Ismail Oukid, Daniel Booss, Adrien Lespinasse et al. · International Workshop on Data Management on New Hardware (DaMoN) · 2016
Leveraging Storage Class Memory (SCM) as a universal memory--i.e. as memory and storage at the same time--has deep implications on database architectures. It becomes possible to store a single copy of the data in SCM and directly operate on it at a fine granularity. However, exposing the whole database with direct access to the application dramatically increases the risk of data corruption. In this paper we propose a lightweight on-line testing framework that helps find and debug SCM-related errors that can occur upon software or power failures. Our testing framework simulates failures in critical code paths and achieves fast code coverage by leveraging call stack information to limit duplicate testing. It also partially covers the errors that might arise as a result of reordered memory operations. We show through an experimental evaluation that our testing framework is fast enough to be used with large software systems and discuss its use during the development of our in-house persistent SCM allocator.
Cited by 10 works. doi:10.1145/2933349.2933354
Authors
References
- Mnemosyne
- NV-Heaps
- System software for persistent memory
- Consistent and durable data structures for non-volatile byte-addressable memory
- EXPLODE: a lightweight, general system for finding serious storage system errors
- Persistent B + -trees in non-volatile main memory
- NV-Tree: reducing consistency cost for NVM-based single level systems
- Let's Talk About Storage & Recovery Methods for Non-Volatile Memory Database Systems
- FOEDUS
- REWIND