z-logo
open-access-imgOpen Access
On testing persistent-memory-based software
Author(s) -
Ismail Oukid,
Daniel Booss,
Adrien Lespinasse,
Wolfgang Lehner
Publication year - 2016
Publication title -
qucosa (saxon state and university library dresden)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/2933349.2933354
Subject(s) - computer science , allocator , memory safety , debugging , software , memory management , memory leak , operating system , software bug , embedded system , semiconductor memory
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.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom