EWS: Towards Cost-Effective Job Scheduling via Combinatorial Multi-Armed Bandit Learning

Linchang Xiao, Zili Xiao, Di Wu, Miao Hu

Abstract

With the increasing demand for artificial intelligence (AI), cluster jobs require high-performance GPU instances and often face stringent deadline constraints. Previous studies have proposed various scheduling strategies to minimize job completion time and instance costs, assuming accurate prediction of job execution time across different instances. However, such assumptions are often unrealistic due to the inherent unpredictability of job execution time. Additionally, jobs typically involve large data sets and incur substantial cold-start time, leading to increased job completion latency and degradation of user quality of service. To tackle these challenges, we introduce an algorithm named Exponential Weighting Scheduling (EWS) for GPU clusters, which employs an online learning approach based on the combinatorial multi-armed bandit (CMAB) framework. EWS dynamically updates the probability distribution of decision spaces using real-time information on job performance across different instances and employs randomized decision-making for scheduling. Furthermore, we provide theoretical proof that this online strategy guarantees sublinear regret in terms of performance. Extensive experiments validate that our algorithm significantly enhances user quality of service and reduces instance utilization costs compared to other state-of-the-art baselines.
BibTeX
@inproceedings{xiao2024ews,
  author = {Linchang Xiao and Zili Xiao and Di Wu and Miao Hu},
  title = {{EWS: Towards Cost-Effective Job Scheduling via Combinatorial Multi-Armed Bandit Learning}},
  booktitle = {NAS},
  year = {2024},
  doi = {10.1109/nas63802.2024.10781367},
}

Loading related content...

Figure