arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1506.04910cs.DCcs.DS
收藏

顺序一致性与并发数据结构

Sequential Consistency and Concurrent Data Structures

Ali Sezgin

摘要:

线性化,并发数据结构实现的事实上的正确性条件,尽管其直观的吸引力是众所周知的,导致可伸缩性差。这个缺点使得研究人员设计满足比线性化弱的一致性条件的可伸缩数据结构。尽管最近的趋势,序列一致性作为一个严格弱于线性一致性条件已收到没有兴趣。在本文中,我们调查的适用性顺序一致性作为并发数据结构实现的替代正确性标准。我们的第一个发现正式证明了不情愿走向顺序一致的数据结构:实现中,每个线程只修改其线程局部变量是顺序一致的各种标准数据结构,如池,队列和堆栈。我们还表明,几乎所有的数据结构,和数据结构,我们认为在本文中,它是可能的,有顺序一致的行为,其中指定的线程不同步。作为一个潜在的补救措施,我们定义了一个层次结构的定量加强变量的顺序一致性,使更强的变体,它强制执行的同步在极限等于强制执行的线性化。

英文摘要:

Linearizability, the de facto correctness condition for concurrent data structure implementations, despite its intuitive appeal is known to lead to poor scalability. This disadvantage has led researchers to design scalable data structures satisfying consistency conditions weaker than linearizability. Despite this recent trend, sequential consistency as a strictly weaker consistency condition than linearizability has received no interest. In this paper, we investigate the applicability of sequential consistency as an alternative correctness criterion for concurrent data structure implementations. Our first finding formally justifies the reluctance in moving towards sequentially consistent data structures: Implementations in which each thread modifies only its thread-local variables are sequentially consistent for various standard data structures such as pools, queues and stacks. We also show that for almost all data structures, and the data structures we consider in this paper, it is possible to have sequentially consistent behaviors in which a designated thread does not synchronize at all. As a potential remedy, we define a hierarchy of quantitatively strengthened variants of sequential consistency such that the stronger the variant the more synchronization it enforces which at the limit is equal to that enforced by linearizability.

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

↑