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

实用并发优先权

Practical Concurrent Priority Queues

Jakob Gruber

摘要:

优先级队列是抽象的数据结构,它存储一组键/值对,并允许有效地访问具有最小(最大)键的项。这种队列是计算机科学的各个领域中的重要元素,例如算法(即Dijkstra的最短路径算法)和操作系统(即优先级排序器)。近来多处理器计算的趋势要求基本数据结构的新实现,这些基本数据结构能够被并发地使用并且很好地扩展到大量线程。特别是,无锁结构通过避免使用阻塞同步原语而保证了卓越的可伸缩性。并发优先级队列在过去的几十年中得到了广泛的研究。在本文中,我们讨论了三个主要的想法在该领域:细粒度的锁定采用多个锁,以避免一个单一的瓶颈队列中;跳过列表是搜索结构,使用随机化,因此不需要精心的重组计划;和放松数据结构贸易语义保证提高可扩展性。

英文摘要:

Priority queues are abstract data structures which store a set of key/value pairs and allow efficient access to the item with the minimal (maximal) key. Such queues are an important element in various areas of computer science such as algorithmics (i.e. Dijkstra's shortest path algorithm) and operating system (i.e. priority schedulers). The recent trend towards multiprocessor computing requires new implementations of basic data structures which are able to be used concurrently and scale well to a large number of threads. In particular, lock-free structures promise superior scalability by avoiding the use of blocking synchronization primitives. Concurrent priority queues have been extensively researched over the past decades. In this paper, we discuss three major ideas within the field: fine-grained locking employs multiple locks to avoid a single bottleneck within the queue; SkipLists are search structures which use randomization and therefore do not require elaborate reorganization schemes; and relaxed data structures trade semantic guarantees for improved scalability.

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

↑