Optimal Parallel Algorithms in the Binary-Forking Model
Optimal Parallel Algorithms in the Binary-Forking Model
复制标题
二分叉模型中的最优并行算法
DOI:
10.1145/3350755.3400227
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
Sun, Yihan
中科院分区:
文献类型:
--
作者:
Blelloch, Guy E.;Fineman, Jeremy T.;Gu, Yan;Sun, Yihan
In this paper we develop optimal algorithms in the binary-forking model for a variety of fundamental problems, including sorting, semisorting, list ranking, tree contraction, range minima, and ordered set union, intersection and difference. In the binary-forking model, tasks can only fork into two child tasks, but can do so recursively and asynchronously. The tasks share memory, supporting reads, writes and test-and-sets. Costs are measured in terms of work (total number of instructions), and span (longest dependence chain).The binary-forking model is meant to capture both algorithm performance and algorithm-design considerations on many existing multithreaded languages, which are also asynchronous and rely on binary forks either explicitly or under the covers. In contrast to the widely studied PRAM model, it does not assume arbitrary-way forks nor synchronous operations, both of which are hard to implement in modern hardware. While optimal PRAM algorithms are known for the problems studied herein, it turns out that arbitrary-way forking and strict synchronization are powerful, if unrealistic, capabilities. Natural simulations of these PRAM algorithms in the binary-forking model (i.e., implementations in existing parallel languages) incur an Ω(log n) overhead in span. This paper explores techniques for designing optimal algorithms when limited to binary forking and assuming asynchrony. All algorithms described in this paper are the first algorithms with optimal work and span in the binary-forking model. Most of the algorithms are simple. Many are randomized.
登录
查看更多内容
DOI:
10.1109/ipdps.2018.00081
发表时间:
2017-10
期刊:
2018 IEEE International Parallel and Distributed Processing Symposium (IPDPS)
影响因子:
--
作者:
N. Ben-David;G. Blelloch;Jeremy T. Fineman;Phillip B. Gibbons;Yan Gu;Charles McGuffey;Julian Shun
通讯作者:
N. Ben-David;G. Blelloch;Jeremy T. Fineman;Phillip B. Gibbons;Yan Gu;Charles McGuffey;Julian Shun
DOI:
--
发表时间:
1990
期刊:
ACM Symposium on Parallelism in Algorithms and Architectures
影响因子:
--
作者:
Richard J. Anderson
通讯作者:
Richard J. Anderson
影响因子:
1.1
作者:
A. Czumaj;Przemyslawa Kanarek;Mirosław Kutyłowski;Krzysztof Lorys
通讯作者:
Krzysztof Lorys
DOI:
10.1145/2935764.2935768
发表时间:
2016
期刊:
Proceedings of the 28th ACM Symposium on Parallelism in Algorithms and Architectures
影响因子:
--
作者:
G. Blelloch;Daniel Ferizovic;Yihan Sun
通讯作者:
Yihan Sun
DOI:
10.1145/3210377.3210380
发表时间:
2018-05
期刊:
Proceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures
影响因子:
--
作者:
G. Blelloch;Yan Gu;Yihan Sun;Julian Shun
通讯作者:
G. Blelloch;Yan Gu;Yihan Sun;Julian Shun