咨询与建议

看过本文的还看了

相关文献

该作者的其他文献

文献详情 >Fast Wait-Free Construction fo... 收藏

Fast Wait-Free Construction for Pool-Like Objects with Weakened Internal Order: Stacks as an Example

为有削弱的内部顺序的像水池的目标的快等待免费的建设: 作为一个例子叠

作     者:Peng, Yaqiong Yun, Xiaochun Hao, Zhiyu 

作者机构:Chinese Acad Sci Inst Informat Engn Beijing 100093 Peoples R China 

出 版 物:《IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS》 (IEEE并行与分布系统汇刊)

年 卷 期:2019年第30卷第7期

页      面:1596-1612页

核心收录:

学科分类:0808[工学-电气工程] 08[工学] 0812[工学-计算机科学与技术(可授工学、理学学位)] 

基  金:National Natural Science Foundation of China National Key Research and Development Program of China [2016QY04W0804] Beijing Natural Science Foundation 

主  题:Concurrent data structure stack double-ended queue performance wait-freedom 

摘      要:This paper focuses on a large class of concurrent data structures that we call pool-like objects (e.g., stack, double-ended queue, and queue). Performance and progress guarantee are two important characteristics for concurrent data structures. In the aspect of performance, weakening the internal order in a pool-like object is an effective technique to reduce the synchronization cost among threads accessing the object, but no objects with weakened internal order provide a progress guarantee as strong as wait-freedom. Meanwhile, wait-free algorithms tend to be inefficient, which is mainly attributed to the helping mechanisms. Based on the philosophy of existing helping mechanisms, a wait-free pool-like object with weakened internal order would suffer from unnecessary process of getting the latest object state and synchronization. This paper takes a state-of-the-art implementation of stacks with weakened internal order as an example, and transforms it into a highly-efficient wait-free stack named WF-TS-Stack. The transformation method includes a helping mechanism with state reuse and a relaxed removal scheme. In addition, we use a simple and effective scheme to further improve the performance of WF-TS-Stack in Non-Uniform Memory Access (NUMA) architectures. Our evaluation with representative benchmarks shows that WF-TS-Stack outperforms its original building blocks by up to 1.45X at maximum concurrency. We also discuss how to yield an efficient double-ended queue (deque) variant of WF-TS-Stack, because deque is a more generalized pool-like object.

读者评论 与其他读者分享你的观点

用户名:未登录
我的评分