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 ap- proaches 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.


Scientific editor(s):
Haryadi Gunawi
Benjamin Reed
Presented at:
2018 USENIX Annual Technical Conference, BOSTON, MA, USA, JULY 11–13, 2018
Year:
2018
Publisher:
USENIX Association
Keywords:
Laboratories:




 Record created 2017-11-20, last modified 2018-09-13

Rate this document:

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