Skip to main content
QUICK REVIEW

[Paper Review] Learning to Optimize DAG Scheduling in Heterogeneous Environment

Jinhong Luo, Zhou, Yunfan|arXiv (Cornell University)|Mar 9, 2021
Cloud Computing and Resource ManagementComputer Science18 references5 citations
TL;DR

This paper proposes LACHESIS, a two-phase reinforcement learning-based algorithm that uses a graph neural network (GNN) to perceive task dependencies in DAG workloads and a heuristic rule for task duplication and executor assignment in heterogeneous clusters. It achieves up to 26.7% reduction in makespan and 35.2% improvement in speedup over state-of-the-art baselines.

ABSTRACT

Scheduling job flows efficiently and rapidly on distributed computing clusters is one of huge challenges for daily operation of data centers. In a practical scenario, a single job consists of numerous stages with complex dependency relation represented as a Directed Acyclic Graph (DAG) structure. Nowadays a data center usually equips with a cluster of heterogeneous computing servers which are different in the hardware/software configuration. From both the cost saving and environmental friendliness, the data centers could benefit a lot from optimizing the job scheduling problems in the heterogeneous environment. Thus the problem has attracted more and more attention from both the industry and academy. In this paper, we propose a task-duplication based learning algorithm, namely \lachesis \footnote{The second of the Three Fates in ancient Greek mythology, who determines destiny.}, aiming to optimize the problem. In the proposed approach, it first perceives the topological dependencies between jobs using a reinforcement learning framework and a specially designed graph neural network (GNN) to select the most promising task to be executed. Then the task is assigned to a specific executor with the consideration of duplicating all its precedent tasks according to an expert-designed rules. We have conducted extensive experiments over standard workloads to evaluate the proposed solution. The experimental results suggest that \lachesisquad can achieve at most 26.7\% reduction of makespan and 35.2\% improvement of speedup ratio over seven strong baseline algorithms, including the state-of-the-art heuristics methods and a variety of deep reinforcement learning based algorithms.

Motivation & Objective

  • To address the challenge of efficient DAG job scheduling in heterogeneous computing environments with diverse executor capabilities.
  • To reduce makespan and improve speedup by leveraging task duplication and dynamic executor assignment.
  • To design a learning-based scheduling framework that adapts to complex, dynamic, and large-scale job dependencies in real-time data center workloads.
  • To outperform existing heuristic and deep reinforcement learning-based scheduling algorithms in both batch and continuous job arrival scenarios.

Proposed method

  • A graph neural network (GNN) is used to encode the topological structure of DAG tasks and capture dependency relationships.
  • A reinforcement learning policy network selects the next task to execute based on the GNN-embedded state representation.
  • A heuristic rule determines the optimal executor for the selected task, including whether to duplicate its predecessor tasks to reduce communication overhead.
  • Task duplication is strategically applied to minimize end-to-end job completion time by balancing computation and communication costs.
  • The framework is implemented in a two-phase pipeline: (1) task selection via RL policy, (2) executor assignment with duplication decision using expert-designed rules.
  • The system is evaluated under both batch and continuous job arrival modes using standard workloads and real-world data center patterns.

Experimental results

Research questions

  • RQ1How can reinforcement learning with GNNs effectively model complex DAG dependencies in heterogeneous scheduling environments?
  • RQ2To what extent can task duplication improve makespan and speedup in heterogeneous clusters compared to non-duplicating baselines?
  • RQ3How does the proposed LACHESIS algorithm compare in performance and inference time to state-of-the-art deep learning and heuristic scheduling methods?
  • RQ4Can the learning-based approach maintain low decision latency while scaling to large-scale, dynamic workloads?

Key findings

  • LACHESIS reduces the makespan by up to 26.7% compared to the best-performing baseline algorithm across all test scenarios.
  • The speedup ratio of LACHESIS exceeds the second-best algorithm by up to 35.2%, demonstrating superior scalability and efficiency.
  • In batch mode, 98% of LACHESIS decisions are completed in under 30ms, indicating strong real-time performance.
  • In continuous mode, LACHESIS reduces average makespan by up to 7.4% compared to the second-best algorithm, showing robustness in dynamic workloads.
  • The SLR (Speedup Loss Ratio) of LACHESIS is consistently the lowest among all evaluated algorithms, indicating high scheduling quality.
  • LACHESIS outperforms even advanced models like Decima-DEFT, especially in large-scale and continuous job arrival settings, due to its effective duplication and executor selection strategy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.