Table of Contents
Fetching ...

Deep Back-Filling: a Split Window Technique for Deep Online Cluster Job Scheduling

Lingfei Wang, Aaron Harwood, Maria A. Rodriguez

TL;DR

Online HPC scheduling faces partial observability and window staleness when agents only see the head of the queue. The authors introduce a split window technique and a Deep Back-filling (DBF) framework with Schedule Cycling to enable back-filling decisions without separate heuristics. They show via Lublin workload traces that the split window with DBF substantially reduces average waiting time and queue length (up to about 49–50% in some setups) while maintaining solid utilization. The approach improves learning efficiency and offers a practical, RL-based online scheduler that adapts to dynamic workloads.

Abstract

Job scheduling is a critical component of workload management systems that can significantly influence system performance, e.g., in HPC clusters. The scheduling objectives are often mixed, such as maximizing resource utilization and minimizing job waiting time. An increasing number of researchers are moving from heuristic-based approaches to Deep Reinforcement Learning approaches in order to optimize scheduling objectives. However, the job scheduler's state space is partially observable to a DRL-based agent because the job queue is practically unbounded. The agent's observation of the state space is constant in size since the input size of the neural networks is predefined. All existing solutions to this problem intuitively allow the agent to observe a fixed window size of jobs at the head of the job queue. In our research, we have seen that such an approach can lead to "window staleness" where the window becomes full of jobs that can not be scheduled until the cluster has completed sufficient work. In this paper, we propose a novel general technique that we call \emph{split window}, which allows the agent to observe both the head \emph{and tail} of the queue. With this technique, the agent can observe all arriving jobs at least once, which completely eliminates the window staleness problem. By leveraging the split window, the agent can significantly reduce the average job waiting time and average queue length, alternatively allowing the use of much smaller windows and, therefore, faster training times. We show a range of simulation results using HPC job scheduling trace data that supports the effectiveness of our technique.

Deep Back-Filling: a Split Window Technique for Deep Online Cluster Job Scheduling

TL;DR

Online HPC scheduling faces partial observability and window staleness when agents only see the head of the queue. The authors introduce a split window technique and a Deep Back-filling (DBF) framework with Schedule Cycling to enable back-filling decisions without separate heuristics. They show via Lublin workload traces that the split window with DBF substantially reduces average waiting time and queue length (up to about 49–50% in some setups) while maintaining solid utilization. The approach improves learning efficiency and offers a practical, RL-based online scheduler that adapts to dynamic workloads.

Abstract

Job scheduling is a critical component of workload management systems that can significantly influence system performance, e.g., in HPC clusters. The scheduling objectives are often mixed, such as maximizing resource utilization and minimizing job waiting time. An increasing number of researchers are moving from heuristic-based approaches to Deep Reinforcement Learning approaches in order to optimize scheduling objectives. However, the job scheduler's state space is partially observable to a DRL-based agent because the job queue is practically unbounded. The agent's observation of the state space is constant in size since the input size of the neural networks is predefined. All existing solutions to this problem intuitively allow the agent to observe a fixed window size of jobs at the head of the job queue. In our research, we have seen that such an approach can lead to "window staleness" where the window becomes full of jobs that can not be scheduled until the cluster has completed sufficient work. In this paper, we propose a novel general technique that we call \emph{split window}, which allows the agent to observe both the head \emph{and tail} of the queue. With this technique, the agent can observe all arriving jobs at least once, which completely eliminates the window staleness problem. By leveraging the split window, the agent can significantly reduce the average job waiting time and average queue length, alternatively allowing the use of much smaller windows and, therefore, faster training times. We show a range of simulation results using HPC job scheduling trace data that supports the effectiveness of our technique.
Paper Structure (28 sections, 6 equations, 7 figures, 1 table)

This paper contains 28 sections, 6 equations, 7 figures, 1 table.

Figures (7)

  • Figure 1: The DBF framework.
  • Figure 2: The flowchart of Schedule Cycling.
  • Figure 3: The learning curves of DBF with a window size of 20 for three different objectives.
  • Figure 4: Performance comparison (sorted by average waiting time) on trained DBF of different window sizes with other schedulers. M10 means the DBF has a window size of 10. Insp-F1-o means the SchedInspector method has an F1 algorithm as the base scheduler and the test method is offline. Insp-SJF means testing SchedInspector in an online method with SJF as the base scheduler.
  • Figure 5: Performance comparison on different window sizes with various splitting configurations. The red points represent the average waiting time, and the green crosses represent the average queue length.
  • ...and 2 more figures