Extending the nested parallel model to the nested dataflow model with provably efficient schedulers

13Citations
Citations of this article
18Readers
Mendeley users who have this article in their library.

Abstract

The nested parallel (a.k.a. fork-join) model is widely used for writing parallel programs. However, the two composition constructs, i.e. "k" (parallel) and "k" (serial), that comprise the nested-parallel model are insufficient in expressing "partial dependencies" in a program. We propose a new dataflow composition construct "" to express partial dependencies in algorithms in a processorand cache-oblivious way, thus extending the Nested Parallel (NP) model to the Nested Dataflow (ND) model. We redesign several divide-and-conquer algorithms ranging from dense linear algebra to dynamic-programming in the ND model and prove that they all have optimal span while retaining optimal cache complexity. We propose the design of runtime schedulers that map ND programs to multicore processors with multiple levels of possibly shared caches (i.e, Parallel Memory Hierarchies) and prove guarantees on their ability to balance nodes across processors and preserve locality. For this, we adapt space-bounded (SB) schedulers for the ND model. We show that our algorithms have increased "parallelizability" in the ND model, and that SB schedulers can use the extra parallelizability to achieve asymptotically optimal bounds on cache misses and running time on a greater number of processors than in the NP model. The running time for the algorithms in this paper is(Equation presented on a p-processor machine, where Q∗ is the parallel cache complexity of task t, Ci is the cost of cache miss at level-i cache which is of size Mi, and σ ∈ (0,1) is a constant.

Cite

CITATION STYLE

APA

Dinh, D., Simhadri, H. V., & Tang, Y. (2016). Extending the nested parallel model to the nested dataflow model with provably efficient schedulers. In Annual ACM Symposium on Parallelism in Algorithms and Architectures (Vol. 11-13-July-2016, pp. 49–60). Association for Computing Machinery. https://doi.org/10.1145/2935764.2935797

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free