arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1502.07118cs.PLcs.DCcs.DS
收藏

局部线性化

Local Linearizability

Andreas Haas, Thomas A. Henzinger, Andreas Holzer, Christoph M. Kirsch, Michael Lippautz, Hannes Payer, Ali Sezgin, Ana Sokolova, Helmut Veith

摘要:

并发数据结构的语义通常由顺序规范和一致性条件给出。线性化是最流行的一致性条件,由于其简单性和普遍适用性。然而,对于不需要线性化提供的所有保证的应用程序,最近的研究集中在通过放松它们的语义来提高并发数据结构的性能和可伸缩性。在本文中,我们提出了局部线性化,一个宽松的一致性条件,适用于容器类型的并发数据结构,如池,队列和堆栈。线性化要求所有线程同时观察到每个操作的效果,而局部线性化仅要求所有线程同时观察到每个线程T的局部插入操作的效果和那些移除T插入的值的移除操作的效果。我们研究了局部线性化的理论和实际性质,以及它与许多现有的相容性条件的关系。我们提出了一个通用的实现方法,局部线性化数据结构,使用现有的线性化数据结构作为构建块。我们的实现显示出比原始构建块更高的性能和可扩展性,并且优于现有最快的容器类型实现。

英文摘要:

The semantics of concurrent data structures is usually given by a sequential specification and a consistency condition. Linearizability is the most popular consistency condition due to its simplicity and general applicability. Nevertheless, for applications that do not require all guarantees offered by linearizability, recent research has focused on improving performance and scalability of concurrent data structures by relaxing their semantics. In this paper, we present local linearizability, a relaxed consistency condition that is applicable to container-type concurrent data structures like pools, queues, and stacks. While linearizability requires that the effect of each operation is observed by all threads at the same time, local linearizability only requires that for each thread T, the effects of its local insertion operations and the effects of those removal operations that remove values inserted by T are observed by all threads at the same time. We investigate theoretical and practical properties of local linearizability and its relationship to many existing consistency conditions. We present a generic implementation method for locally linearizable data structures that uses existing linearizable data structures as building blocks. Our implementations show performance and scalability improvements over the original building blocks and outperform the fastest existing container-type implementations.

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

↑