arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.10036cs.DC
收藏

无锁透明邻接表

Lock-Free Transactional Adjacency List

Zachary Painter, Christina Peterson, Damian Dechev

摘要:

邻接列表经常用于基于图形或地图的应用程序中。虽然高效的并发链表算法是众所周知的,但很难采用这些方法来构建高性能的邻接表。此外,通常期望以事务方式执行这些数据结构中的操作,或者在一个原子步骤中执行一系列操作。在本文中,我们提出了一个无锁的事务邻接表的基础上的多维列表(MDList)。我们能够将已知的链表策略与MDList的能力相结合,以便有效地组织图形顶点及其边缘。我们将底层的数据结构设计为基于节点的和可线性化的,然后使用无锁事务转换(LFTT)方法来有效地启用事务执行。在我们的性能评估中,我们的无锁事务邻接列表实现了平均50%的加速比事务提升实现。

英文摘要:

Adjacency lists are frequently used in graphing or map based applications. Although efficient concurrent linked-list algorithms are well known, it can be difficult to adapt these approaches to build a high-performance adjacency list. Furthermore, it can often be desirable to execute operations in these data structures transactionally, or perform a sequence of operations in one atomic step. In this paper, we present a lock-free transactional adjacency list based on a multi-dimensional list (MDList). We are able to combine known linked list strategies with the capability of the MDList in order to efficiently organize graph vertexes and their edges. We design our underlying data structure to be node-based and linearizable, then use the Lock-Free Transactional Transformation (LFTT) methodology to efficiently enable transactional execution. In our performance evaluation, our lock-free transactional adjacency list achieves an average of 50% speedup over a transactional boosting implementation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑