Log-Free Concurrent Data Structures

Non-volatile RAM (NVRAM) makes it possible for data structures to tolerate transient failures, assuming however that programmers have designed these structures such that their consistency is preserved upon recovery. Previous approaches are typically transactional and inherently make heavy use of logging, resulting in implementations that are significantly slower than their DRAM counterparts. In this paper, we introduce a set of techniques aimed at lock-free data structures that, in the large majority of cases, remove the need for logging (and costly durable store instructions) both in the data structure algorithm and in the associated memory management scheme. Together, these generic techniques enable us to design what we call log-free concurrent data structures, which, as we illustrate on linked lists, hash tables, skip lists, and BSTs, can provide several-fold performance improvements over previous transaction-based implementations, with overheads of the order of milliseconds for recovery after a failure. We also highlight how our techniques can be integrated into practical systems, by presenting a durable version of Memcached that maintains the performance of its volatile counterpart.


Published in:
Proceedings Of The 2018 Usenix Annual Technical Conference, 373-385
Presented at:
USENIX Annual Technical Conference (ATC), Boston, MA, Jul 11-13, 2018
Year:
Jan 01 2018
Publisher:
Berkeley, USENIX ASSOC
ISBN:
978-1-939133-02-1
Laboratories:




 Record created 2020-02-08, last modified 2020-10-25


Rate this document:

Rate this document:
1
2
3
 
(Not yet reviewed)