Skip to main content
QUICK REVIEW

[Paper Review] Online Job Scheduling in Distributed Machine Learning Clusters

Yixin Bao, Yanghua Peng|arXiv (Cornell University)|Jan 3, 2018
Cloud Computing and Resource ManagementComputer Science19 references13 citations
TL;DR

This paper proposes OASiS, an online job scheduling algorithm for distributed machine learning clusters that dynamically adjusts the number of workers and parameter servers during training to maximize long-term job utility. Using a primal-dual framework with efficient dual subroutines, OASiS achieves polynomial-time complexity and outperforms standard schedulers in simulations and testbed experiments, demonstrating superior resource utilization and completion time performance.

ABSTRACT

Nowadays large-scale distributed machine learning systems have been deployed to support various analytics and intelligence services in IT firms. To train a large dataset and derive the prediction/inference model, e.g., a deep neural network, multiple workers are run in parallel to train partitions of the input dataset, and update shared model parameters. In a shared cluster handling multiple training jobs, a fundamental issue is how to efficiently schedule jobs and set the number of concurrent workers to run for each job, such that server resources are maximally utilized and model training can be completed in time. Targeting a distributed machine learning system using the parameter server framework, we design an online algorithm for scheduling the arriving jobs and deciding the adjusted numbers of concurrent workers and parameter servers for each job over its course, to maximize overall utility of all jobs, contingent on their completion times. Our online algorithm design utilizes a primal-dual framework coupled with efficient dual subroutines, achieving good long-term performance guarantees with polynomial time complexity. Practical effectiveness of the online algorithm is evaluated using trace-driven simulation and testbed experiments, which demonstrate its outperformance as compared to commonly adopted scheduling algorithms in today's cloud systems.

Motivation & Objective

  • To address the challenge of inefficient resource utilization in shared ML clusters where static worker and parameter server allocation limits training speed.
  • To design an online scheduling algorithm that adaptively adjusts resource allocation during job execution to improve training efficiency and cluster-wide utility.
  • To enable dynamic admission decisions based on job utility and resource cost, ensuring long-term performance optimization.
  • To evaluate the algorithm’s effectiveness through trace-driven simulation and real testbed experiments on a Kubernetes-based MXNet prototype.

Proposed method

  • OASiS employs a primal-dual optimization framework to compute scheduling decisions in real time, balancing job utility and resource cost.
  • The algorithm dynamically adjusts the number of concurrent workers and parameter servers for each job based on projected future resource availability and job utility.
  • It uses dual subroutines to efficiently solve the online optimization problem with polynomial time complexity.
  • Resource prices are used as signals to guide admission decisions, filtering out low-utility jobs when resources are scarce.
  • The system integrates with Kubernetes and modifies MXNet to support runtime reconfiguration of worker and parameter server counts.
  • Job utility is modeled as a function of completion time, with higher priority jobs receiving better scheduling treatment.

Experimental results

Research questions

  • RQ1How can online job scheduling in distributed ML clusters be optimized to maximize long-term utility while adapting to dynamic resource availability?
  • RQ2What is the performance gain of dynamic worker and parameter server scaling compared to fixed allocation in real-world ML workloads?
  • RQ3How does the OASiS algorithm compare to standard schedulers like FIFO, DRF, and RRH in terms of job utility and completion timeliness?
  • RQ4What impact do estimation errors in job utility-to-resource ratios have on the algorithm’s competitive ratio and performance?

Key findings

  • OASiS achieves a performance ratio of 1.1 to 1.5 compared to the offline optimal solution, indicating strong competitive performance under realistic conditions.
  • Underestimating utility-to-resource ratios leads to higher total utility than overestimation in resource-constrained scenarios, due to reduced job filtering.
  • In testbed experiments with 12 jobs over 10 time slots, OASiS demonstrated superior total job utility and better completion timeliness compared to FIFO, DRF, and RRH schedulers.
  • The algorithm runs in under one second for 100 time slots and 80 servers, showing practical scalability despite the complexity of the optimization problem.
  • Simulation results confirm that OASiS maintains good long-term performance guarantees with polynomial-time complexity, even under uncertain job utility estimates.

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.