Proactive work stealing for futures
Proactive work stealing for futures
复制标题
为未来主动窃取工作
DOI:
10.1145/3293883.3295735
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
Lee, I-Ting Angelina
中科院分区:
文献类型:
--
作者:
Singer, Kyle;Xu, Yifan;Lee, I-Ting Angelina
The use of futures provides a flexible way to express parallelism and can generate arbitrary dependences among parallel subcomputations. The additional flexibility that futures provide comes with a cost, however. When scheduled using classic work stealing, a program with futures, compared to a program that uses only fork-join parallelism, can incur a much higher number of "deviations," a metric for evaluating the performance of parallel executions. All prior works assume aparsimoniouswork-stealing scheduler, however, where a worker thread (surrogate of a processor) steals work only when its local deque becomes empty.In this work, we investigate an alternative scheduling approach, called ProWS, where the workers performproactivework stealing when handling future operations. We show that ProWS, for programs that use futures, can provide provably efficient execution time and equal or better bounds on the number of deviations compared to classic parsimonious work stealing. Given a computation withT1work andT∞span, ProWS executes the computation onPprocessors in expected timeO(T1/P+T∞lgP), with an additional lgPoverhead on the span term compared to the parsimonious variant. For structured use of futures, where each future is single touch with no race on the future handle, the algorithm incurs deviations, matching that of the parsimonious variant. For general use of futures, the algorithm incursO(mkT∞+PT∞lgP) deviations, wheremkis the maximum number of future touches that are logically parallel. Compared to the bound for the parsimonious variant,O(kT∞+PT∞), withkbeing the total number of touches in the entire computation, this bound is better assumingmk= Ω(PlgP) and is smaller thank,which holds true for all the benchmarks we examined.
登录
查看更多内容
DOI:
--
发表时间:
2016
期刊:
ACM Symposium on Parallelism in Algorithms and Architectures
影响因子:
--
作者:
Chaoran Yang;J. Mellor
通讯作者:
J. Mellor
DOI:
10.1145/1639950.1639989
发表时间:
2009
期刊:
Theor. Comput. Sci.
影响因子:
--
作者:
R. Barik;Zoran Budimlic;Vincent Cavé;S. Chatterjee;Yi Guo;David M. Peixotto;Raghavan Raman;J. Shirako;Sagnak Tasirlar;Yonghong Yan;Yisheng Zhao;Vivek Sarkar
通讯作者:
Vivek Sarkar
DOI:
10.1016/j.scico.2006.05.008
发表时间:
2006
期刊:
Sci. Comput. Program.
影响因子:
--
作者:
John S. Danaher;I. Lee;C. Leiserson
通讯作者:
C. Leiserson
DOI:
--
发表时间:
1978
期刊:
影响因子:
--
作者:
Jacobo Valdes Ayesta
通讯作者:
Jacobo Valdes Ayesta
影响因子:
3.7
作者:
Daniel P. Friedman;David S. Wise
通讯作者:
David S. Wise