Lock-Free Transactional Transformation for Linked Data Structures
Lock-Free Transactional Transformation for Linked Data Structures
复制标题
链接数据结构的无锁事务转换
DOI:
10.1145/3209690
复制
发表时间:
2018
影响因子:
1.6
通讯作者:
Dechev, Damian
中科院分区:
文献类型:
--
作者:
Zhang, Deli;Laborde, Pierre;Lebanoff, Lance;Dechev, Damian
Nonblocking data structures allow scalable and thread-safe access to shared data. They provide individual operations that appear to execute atomically. However, it is often desirable to execute multiple operations atomically in a transactional manner. Previous solutions, such as Software Transactional Memory (STM) and transactional boosting, manage transaction synchronization separately from the underlying data structure’s thread synchronization. Although this reduces programming effort, it leads to overhead associated with additional synchronization and the need to rollback aborted transactions. In this work, we present a new methodology for transforming high-performance lock-free linked data structures into high-performance lock-free transactional linked data structures without revamping the data structures’ original synchronization design. Our approach leverages the semantic knowledge of the data structure to eliminate the overhead of false conflicts and rollbacks. We encapsulate all operations, operands, and transaction status in a transaction descriptor, which is shared among the nodes accessed by the same transaction. We coordinate threads to help finish the remaining operations of delayed transactions based on their transaction descriptors. When a transaction fails, we recover the correct abstract state by reversely interpreting the logical status of a node. We also present an obstruction-free version of our algorithm that can be applied to dynamic execution scenarios and an example of our approach applied to a hash map. In our experimental evaluation using transactions with randomly generated operations, our lock-free transactional data structures outperform the transactional boosted ones by 70% on average. They also outperform the alternative STM-based approaches by a factor of 2 to 13 across all scenarios. More importantly, we achieve 4,700 to 915,000 times fewer spurious aborts than the alternatives.
登录
查看更多内容
DOI:
--
发表时间:
2012-06
期刊:
--
影响因子:
--
作者:
M. Herlihy;N. Shavit
通讯作者:
M. Herlihy;N. Shavit
DOI:
--
发表时间:
2010
期刊:
ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing
影响因子:
--
作者:
N. Bronson;J. Casper;Hassan Chafi;K. Olukotun
通讯作者:
K. Olukotun
DOI:
--
发表时间:
2013
期刊:
2013 IEEE 27th International Symposium on Parallel and Distributed Processing
影响因子:
--
作者:
Vincent Gramoli;R. Guerraoui;Mihai Letia
通讯作者:
Mihai Letia
DOI:
--
发表时间:
2012
期刊:
European Conference on Object-Oriented Programming
影响因子:
--
作者:
Khilan Gudka;T. Harris;S. Eisenbach
通讯作者:
S. Eisenbach
影响因子:
5.3
作者:
Deli Zhang;D. Dechev
通讯作者:
D. Dechev