The SprayList: a scalable relaxed priority queue

Author:

Alistarh Dan1,Kopinsky Justin2,Li Jerry2,Shavit Nir3

Affiliation:

1. Microsoft Research, UK

2. Massachusetts Institute of Technology, USA

3. Massachusetts Institute of Technology, USA / Tel Aviv University, Israel

Abstract

High-performance concurrent priority queues are essential for applications such as task scheduling and discrete event simulation. Unfortunately, even the best performing implementations do not scale past a number of threads in the single digits. This is because of the sequential bottleneck in accessing the elements at the head of the queue in order to perform a DeleteMin operation. In this paper, we present the SprayList, a scalable priority queue with relaxed ordering semantics. Starting from a non-blocking SkipList, the main innovation behind our design is that the DeleteMin operations avoid a sequential bottleneck by ``spraying'' themselves onto the head of the SkipList list in a coordinated fashion. The spraying is implemented using a carefully designed random walk, so that DeleteMin returns an element among the first O(p log^3 p) in the list, with high probability, where p is the number of threads. We prove that the running time of a DeleteMin operation is O(log^3 p), with high probability, independent of the size of the list. Our experiments show that the relaxed semantics allow the data structure to scale for high thread counts, comparable to a classic unordered SkipList. Furthermore, we observe that, for reasonably parallel workloads, the scalability benefits of relaxation considerably outweigh the additional work due to out-of-order execution.

Funder

Intel Corporation

U.S. Department of Energy

Oracle

National Science Foundation

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference28 articles.

1. Fast and scalable rendezvousing

2. The Complexity of Renaming

3. D. Alistarh J. Kopinsky J. Li and N. Shavit. Spraylist. https: //github.com/jkopinsky/SprayList. D. Alistarh J. Kopinsky J. Li and N. Shavit. Spraylist. https: //github.com/jkopinsky/SprayList.

Cited by 14 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. How to Relax Instantly: Elastic Relaxation of Concurrent Data Structures;Lecture Notes in Computer Science;2024

2. Performance Analysis and Modelling of Concurrent Multi-access Data Structures;Proceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures;2022-07-11

3. Quantifiability: a concurrent correctness condition modeled in vector space;Computing;2022-06-07

4. Fast Concurrent Data Sketches;ACM Transactions on Parallel Computing;2022-04-11

5. TSLQueue: An Efficient Lock-Free Design for Priority Queues;Euro-Par 2021: Parallel Processing;2021

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3