Provably efficient scheduling for languages with fine-grained parallelism

Author:

Blelloch Guy E.1,Gibbons Phillip B.2,Matias Yossi2

Affiliation:

1. Carnegie Mellon Univ., Pittsburgh, PA

2. Bell Labs, Murray Hill, NJ

Abstract

Many high-level parallel programming languages allow for fine-grained parallelism. As in the popular work-time framework for parallel algorithm design, programs written in such languages can express the full parallelism in the program without specifying the mapping of program tasks to processors. A common concern in executing such programs is to schedule tasks to processors dynamically so as to minimize not only the execution time, but also the amount of space (memory) needed. Without careful scheduling, the parallel execution on p processors can use a factor of p or larger more space than a sequential implementation of the same program. This paper first identifies a class of parallel schedules that are provably efficient in both time and space. For any computation with w units of work and critical path length d , and for any sequential schedule that takes space s 1 , we provide a parallel schedule that takes fewer than w/p + d steps on p processors and requires less than s 1 + p·d space. This matches the lower bound that we show, and significantly improves upon the best previous bound of s 1 ·p spaces for the common case where d « s 1 . The paper then describes a scheduler for implementing high-level languages with nested parallelism, that generates schedules in this class. During program execution, as the structure of the computation is revealed, the scheduler keeps track of the active tasks, allocates the tasks to the processors, and performs the necessary task synchronization. The scheduler is itself a parallel algorithm, and incurs at most a constant factor overhead in time and space, even when the scheduling granularity is individual units of work. The algorithm is the first efficient solution to the scheduling problem discussed here, even if space considerations are ignored.

Publisher

Association for Computing Machinery (ACM)

Subject

Artificial Intelligence,Hardware and Architecture,Information Systems,Control and Systems Engineering,Software

Reference60 articles.

1. An overview of the PTRAN analysis system for multiprocessing

2. I-structures: data structures for parallel computing

3. The incremental garbage collection of processes

4. Portable parallel programming in HPC++

5. PREFACE-2: Supporting nested parallelism;BERNSTEIN D.;Fortran. Res. Rep. RC-14160. IBM Thomas J. Watson Research Center, Yorktown Heights, N.Y.,1988

Cited by 52 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Scheduling Out-Trees Online to Optimize Maximum Flow;Proceedings of the 36th ACM Symposium on Parallelism in Algorithms and Architectures;2024-06-17

2. Efficient Parallel Functional Programming with Effects;Proceedings of the ACM on Programming Languages;2023-06-06

3. Odyssey: A Journey in the Land of Distributed Data Series Similarity Search;Proceedings of the VLDB Endowment;2023-01

4. Implicit Directed Acyclic Graphs (DAGs) for Parallel Outlier/Anomaly Detection Ensembles;IFIP Advances in Information and Communication Technology;2023

5. Improving Cache Utilization of Nested Parallel Programs by Almost Deterministic Work Stealing;IEEE Transactions on Parallel and Distributed Systems;2022-12-01

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3