NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SPIN: BSP Job Scheduling With Placement-Sensitive Execution

Zhenhua Han, Haisheng Tan, Shaofeng H.-c. Jiang, Wanli Cao, Xiaoming Fu, Lan Zhang, Francis C. M. Lau

Abstract

The Bulk Synchronous Parallel (BSP) paradigm is gaining tremendous importance recently due to the popularity of computations as distributed machine learning and graph computation. In a typical BSP job, multiple workers concurrently conduct iterative computations, where frequent synchronization is required. Therefore, the workers should be scheduled simultaneously and their placement on different computing devices could significantly affect the performance. Simply retrofitting a traditional scheduling discipline will likely not yield the desired performance due to the unique characteristics of BSP jobs. In this work, we derive <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SPIN</monospace> , a novel scheduling designed for BSP jobs with placement-sensitive execution to minimize the makespan of all jobs. We first prove the problem approximation hardness and then present how <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SPIN</monospace> solves it with a rounding-based randomized approximation approach. Our analysis indicates <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SPIN</monospace> achieves a good performance guarantee efficiently. Moreover, <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SPIN</monospace> is robust against misestimation of job execution time by theoretically bounding its negative impact. We implement <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SPIN</monospace> on a production-trace driven testbed with 40 GPUs. Our extensive experiments show that <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SPIN</monospace> can reduce the job makespan and the average job completion time by up to <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$3\times $ </tex-math></inline-formula> and <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$4.68\times $ </tex-math></inline-formula> , respectively. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SPIN</monospace> also demonstrates better robustness to execution time misestimation compared with state-of-the-art heuristic baselines.
BibTeX
@article{han2021spin,
  author = {Zhenhua Han and Haisheng Tan and Shaofeng H.-C. Jiang and Wanli Cao and Xiaoming Fu and Lan Zhang and Francis C. M. Lau},
  title = {{SPIN: BSP Job Scheduling With Placement-Sensitive Execution}},
  journal = {IEEE/ACM Trans. Networking},
  year = {2021},
  url = {https://openreview.net/forum?id=Bn4WaYrmLl5},
}

Loading related content...

Figure