Reinforcement Learning-Generated Topological Order for Dynamic Task Graph Scheduling
Dynamic task graph scheduling (DTGS) has become a powerful tool for parallel and heterogeneous applications, such as static timing analysis and large-scale machine learning. DTGS allows applications to define the task graph structure on-the-fly, enabling concurrent task creations and task executions. However, to schedule tasks, DTGS relies on applications to define a topological order for the task graph. Existing algorithms for generating this order primarily rely on heuristics like level-by-level sorting, which lack adaptability to dynamic computing environments. This paper proposes a novel method that leverages reinforcement learning to generate topological orders for DTGS systems. We will delve into the details of our design and present a real-world use case. For instance, when scheduling a large task graph with 3.9 million tasks and 7.4 million dependencies in a large-scale static timing analysis workload, our method achieves a speedup of up to 1.52 × compared to the baseline.
Authors
- Boyang Zhang (ORCID: https://orcid.org/0009-0007-2008-7915)
- Cheng-Hsiang Chiu
- Yi Zhou (ORCID: https://orcid.org/0000-0002-4919-3638)
- Tsung‐Wei Huang (ORCID: https://orcid.org/0000-0001-9768-3378)
- Chedi Morchdi
- Che Chang (ORCID: https://orcid.org/0009-0001-5455-037X)
Institutions
- University of Wisconsin–Madison (US)
- Texas A&M University (US)
Publication Details
- Published
- 2024-09-23
- DOI
- https://doi.org/10.1109/hpec62836.2024.10938506
- Citations
- 4
- Primary Topic
- Scheduling and Optimization Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 1.40
Funders
- National Science Foundation