English

Work-stealing for mixed-mode parallelism by deterministic team-building

Distributed, Parallel, and Cluster Computing 2010-12-23 v1

Abstract

We show how to extend classical work-stealing to deal also with data parallel tasks that can require any number of threads r >= 1 for their execution. We explain in detail the so introduced idea of work-stealing with deterministic team-building which in a natural way generalizes classical work-stealing. A prototype C++ implementation of the generalized work-stealing algorithm has been given and is briefly described. Building on this, a serious, well-known contender for a best parallel Quicksort algorithm has been implemented, which naturally relies on both task and data parallelism. For instance, sorting 2^27-1 randomly generated integers we could improve the speed-up from 5.1 to 8.7 on a 32-core Intel Nehalem EX system, being consistently better than the tuned, task-parallel Cilk++ system.

Keywords

Cite

@article{arxiv.1012.5030,
  title  = {Work-stealing for mixed-mode parallelism by deterministic team-building},
  author = {Martin Wimmer and Jesper Larsson Träff},
  journal= {arXiv preprint arXiv:1012.5030},
  year   = {2010}
}
R2 v1 2026-06-21T17:03:12.947Z