Near Optimal Work-Stealing Tree Scheduler for Highly Irregular Data-Parallel Workloads

We present a work-stealing algorithm for runtime scheduling of data-parallel operations in the context of shared-memory architectures on data sets with highly-irregular workloads that are not known a priori to the scheduler. This scheduler can parallelize loops and operations expressible with a parallel reduce or a parallel scan. The scheduler is based on the work-stealing tree data structure, which allows workers to decide on the work division in a lock-free, workload-driven manner and attempts to minimize the amount of communication between them. A significant effort is given to showing that the algorithm has the least possible amount of overhead. We provide an extensive experimental evaluation, comparing the advantages and shortcomings of different data-parallel schedulers in order to combine their strengths. We show specific workload distribution patterns appearing in practice for which different schedulers yield suboptimal speedup, explaining their drawbacks and demonstrating how the work-stealing tree scheduler overcomes them. We thus justify our design decisions experimentally, but also provide a theoretical background for our claims.

Cascaval, C
Montesinos, P
Published in:
Languages And Compilers For Parallel Computing, Lcpc 2013, 8664, 55-86
Presented at:
26th International Workshop on Languages and Compilers for Parallel Computing (LCPC), San Jose, CA, SEP 25-27, 2013
Berlin, Springer-Verlag Berlin
978-3-319-09967-5; 978-3-319-09966-8

 Record created 2014-12-30, last modified 2018-03-17

Rate this document:

Rate this document:
(Not yet reviewed)