Parallel Combining:显式同步的优点
Parallel Combining: Benefits of Explicit Synchronization
摘要:
并行批处理数据结构被设计为在并行计算模型中处理同步的批操作。在本文中,我们提出了并行组合,一种技术,实现了并发的数据结构从一个并行批处理。我们的想法是,我们显式地同步并发操作成批处理:其中一个进程成为一个合并器,它收集并发请求,并启动一个并行批处理算法,涉及收集到的请求的所有者(客户端)。直观地说,同步并发调用的成本可以通过运行并行批处理算法来补偿。我们通过两个应用程序的并行组合验证直觉。首先,我们使用我们的技术来设计一个并发的数据结构优化读为主的工作负载,以动态图数据结构为例。其次,我们使用一种新的并行批处理优先级队列来构建一个并发队列。在这两种情况下,我们获得的性能增益相对于国家的最先进的算法。
英文摘要:
Parallel batched data structures are designed to process synchronized batches of operations in a parallel computing model. In this paper, we propose parallel combining, a technique that implements a concurrent data structure from a parallel batched one. The idea is that we explicitly synchronize concurrent operations into batches: one of the processes becomes a combiner which collects concurrent requests and initiates a parallel batched algorithm involving the owners (clients) of the collected requests. Intuitively, the cost of synchronizing the concurrent calls can be compensated by running the parallel batched algorithm. We validate the intuition via two applications of parallel combining. First, we use our technique to design a concurrent data structure optimized for read-dominated workloads, taking a dynamic graph data structure as an example. Second, we use a novel parallel batched priority queue to build a concurrent one. In both cases, we obtain performance gains with respect to the state-of-the-art algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。