License: Creative Commons Attribution 3.0 Unported license (CC BY 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.DISC.2017.37
URN: urn:nbn:de:0030-drops-80148
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2017/8014/
Nawab, Faisal ;
Izraelevitz, Joseph ;
Kelly, Terence ;
Morrey III, Charles B. ;
Chakrabarti, Dhruva R. ;
Scott, Michael L.
Dalí: A Periodically Persistent Hash Map
Abstract
Technology trends suggest that byte-addressable nonvolatile memory (NVM) will supplant many uses of DRAM over the coming decade, raising the prospect of inexpensive recovery from power failures and similar faults. Ensuring the consistency of persistent state remains nontrivial, however, in the presence of volatile caches; cached values can "leak" back to persistent memory in arbitrary order. To ensure consistency, existing persistent memory algorithms use expensive, explicit write-back instructions to force each value back to memory before performing a dependent write, thereby incurring significant run-time overhead.
To reduce this overhead, we present a new design paradigm that we call periodic persistence. In a periodically persistent data structure, updates are made "in place," but can safely leak back to memory in any order, because only those updates that are known to be valid will be heeded during recovery. To guarantee forward progress, we periodically force a write-back of all dirty data in the cache, ensuring that all "sufficiently old" updates have indeed become persistent, at which point they become semantically visible to the recovery process.
As an example of periodic persistence, we present a transactional hash map, Dalí, together with an informal proof of safety (buffered durable linearizability). Experiments with a prototype implementation suggest that periodic persistence can offer substantially better performance than either file-based or incrementally persistent (per-access write-back) alternatives.
BibTeX - Entry
@InProceedings{nawab_et_al:LIPIcs:2017:8014,
author = {Faisal Nawab and Joseph Izraelevitz and Terence Kelly and Charles B. Morrey III and Dhruva R. Chakrabarti and Michael L. Scott},
title = {{Dal{\'i}: A Periodically Persistent Hash Map}},
booktitle = {31st International Symposium on Distributed Computing (DISC 2017)},
pages = {37:1--37:16},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-053-8},
ISSN = {1868-8969},
year = {2017},
volume = {91},
editor = {Andr{\'e}a W. Richa},
publisher = {Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
address = {Dagstuhl, Germany},
URL = {http://drops.dagstuhl.de/opus/volltexte/2017/8014},
URN = {urn:nbn:de:0030-drops-80148},
doi = {10.4230/LIPIcs.DISC.2017.37},
annote = {Keywords: data structure, nonvolatile memory, durable linearizability}
}
Keywords: |
|
data structure, nonvolatile memory, durable linearizability |
Collection: |
|
31st International Symposium on Distributed Computing (DISC 2017) |
Issue Date: |
|
2017 |
Date of publication: |
|
12.10.2017 |