Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Machine Learning Based Online Performance Prediction for Runtime Parallelization and Task Scheduling

Conference ·

With the emerging many-core paradigm, parallel programming must extend beyond its traditional realm of scientific applications. Converting existing sequential applications as well as developing next-generation software requires assistance from hardware, compilers and runtime systems to exploit parallelism transparently within applications. These systems must decompose applications into tasks that can be executed in parallel and then schedule those tasks to minimize load imbalance. However, many systems lack a priori knowledge about the execution time of all tasks to perform effective load balancing with low scheduling overhead. In this paper, we approach this fundamental problem using machine learning techniques first to generate performance models for all tasks and then applying those models to perform automatic performance prediction across program executions. We also extend an existing scheduling algorithm to use generated task cost estimates for online task partitioning and scheduling. We implement the above techniques in the pR framework, which transparently parallelizes scripts in the popular R language, and evaluate their performance and overhead with both a real-world application and a large number of synthetic representative test scripts. Our experimental results show that our proposed approach significantly improves task partitioning and scheduling, with maximum improvements of 21.8%, 40.3% and 22.1% and average improvements of 15.9%, 16.9% and 4.2% for LMM (a real R application) and synthetic test cases with independent and dependent tasks, respectively.

Research Organization:
Lawrence Livermore National Laboratory (LLNL), Livermore, CA
Sponsoring Organization:
USDOE
DOE Contract Number:
W-7405-ENG-48
OSTI ID:
951680
Report Number(s):
LLNL-CONF-407723
Country of Publication:
United States
Language:
English

Similar Records

Automatic Halo Management for the Uintah GPU-Heterogeneous Asynchronous Many-Task Runtime
Journal Article · Thu Dec 06 23:00:00 EST 2018 · International Journal of Parallel Programming · OSTI ID:1567537

Compile-time partitioning and scheduling of parallel programs
Technical Report · Wed Dec 31 23:00:00 EST 1986 · OSTI ID:6472061

Partitioning and scheduling parallel programs for execution on multiprocessors
Thesis/Dissertation · Wed Dec 31 23:00:00 EST 1986 · OSTI ID:7043298