RLScheduler: An Automated HPC Batch Job Scheduler Using Reinforcement Learning

Di Zhang, Dong Dai, Youbiao He, Forrest Sheng Bao, Bing Xie
10/20/2019
cs.DCcs.AIcs.LG
rl

Official code: DIR-LAB/deep-batch-scheduler (70 stars, Python, last commit 2023-05-30).

Abstract

Today high-performance computing (HPC) platforms are still dominated by batch jobs. Accordingly, effective batch job scheduling is crucial to obtain high system efficiency.

Show full abstract

Existing HPC batch job schedulers typically leverage heuristic priority functions to prioritize and schedule jobs. But, once configured and deployed by the experts, such priority functions can hardly adapt to the changes of job loads, optimization goals, or system settings, potentially leading to degraded system efficiency when changes occur. To address this fundamental issue, we present RLScheduler, an automated HPC batch job scheduler built on reinforcement learning. RLScheduler relies on minimal manual interventions or expert knowledge, but can learn high-quality scheduling policies via its own continuous 'trial and error'. We introduce a new kernel-based neural network structure and trajectory filtering mechanism in RLScheduler to improve and stabilize the learning process. Through extensive evaluations, we confirm that RLScheduler can learn high-quality scheduling policies towards various workloads and various optimization goals with relatively low computation cost. Moreover, we show that the learned models perform stably even when applied to unseen workloads, making them practical for production use.

View on arXivView PDF

Code Implementations(1)

RLScheduler: An AutomatedHPC Batch Job Scheduler Using Reinforcement Learning [SC'20]

7020PythonJan 4, 20193 years ago

Similar Papers

Cite this paper

@article{zhang2019rlscheduler,
  title  = {RLScheduler: An Automated HPC Batch Job Scheduler Using Reinforcement Learning},
  author = {Di Zhang and Dong Dai and Youbiao He and Forrest Sheng Bao and Bing Xie},
  year   = {2019},
  eprint = {1910.08925},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.08925}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.08925.svg)](https://codeofpaper.com/paper/1910.08925)

Discussion