A Review of Scheduling Deep Learning Workloads: JCT, Fairness
Abstract
Traditional high-performance computing scheduling algorithms have been unable to satisfy the intricate demands of deep learning workloads. With advances in deep learning, tasks exhibit attributes including multi-tenancy, multi-resource consumption, and intense variability, introducing unprecedented difficulties for resource coordination. To address these challenges, scheduling approaches must be optimized regarding fairness, job completion timeframe (JCT), and hardware utilization. This review paper provides an analysis of primary deep learning scheduling algorithms, focusing on distinct techniques for improving fairness and JCT. Regarding fairness optimization, this review paper contrasts strategies dependent on runtime and non-runtime resource redistribution, including Dorm, Gandivafair, Themis, Astraea, Shockwave, Gavel and Sia, applicable in varying computing environments. For JCT optimization, the review paper examines scheduling algorithms based on heuristic functions and machine learning methods like Tiresias, E-LAS, Optimus, Sched2, Philly and Gandiva, emphasizing the impact of task priorities, resource allocation and job packing on completion time. By contrasting the strengths and limitations of these approaches, the review paper offers readers a comprehensive perspective and forecasts forthcoming directions for deep learning scheduling algorithm progress.
References
- Zhong, Y., Arandjelovic, R., & Zisserman, A. (2018). GhostVLAD for set-based face recognition. CoRR, abs/1810.09951. http://arxiv.org/abs/1810.09951
- Amodei, D., Anubhai, R., Battenberg, E., Case, C., Casper, J., Catanzaro, B., Chen, J., Chrzanowski, M., Coates, A., Diamos, G., Elsen, E., Engel, J. H., Fan, L., Fougner, C., Han, T., Hannun, A. Y., Jun, B., LeGresley, P., Lin, L., … Zhu, Z. (2015). Deep Speech 2: End-to-End Speech Recognition in English and Mandarin. CoRR, abs/1512.02595. http://arxiv.org/abs/1512.02595
- Lex Fridman, Benedikt Jenik, and Jack Terwilliger. Deeptraffic: Driving fast through dense traffic with deep reinforcement learning. CoRR, abs/1801.02805, 2018.
- R. Grandl, S. Kandula, S. Rao, A. Akella, and J. Kulkarni. Graphene: Packing and dependency-aware scheduling for data-parallel clusters. In OSDI, 2016.
- 2021. NVIDIA Multi-Instance GPU. https://www.nvidia.com/en-us/technologies/ multi-instance-gpu/.
- Ghodsi, A., Zaharia, M., Hindman, B., Konwinski, A., Shenker, S., & Stoica, I. (2011, March). Dominant Resource Fairness: Fair Allocation of Multiple Resource Types. 8th USENIX Symposium on Networked Systems Design and Implementation (NSDI 11). https://www.usenix.org/conference/nsdi11/dominant-resource-fairness-fair-allocation-multiple-resource-types
- Mahajan, K., Balasubramanian, A., Singhvi, A., Venkataraman, S., Akella, A., Phanishayee, A., & Chawla, S. (2020). Themis: Fair and Efficient GPU Cluster Scheduling . 17th USENIX Symposium on Networked Systems Design and Implementation (NSDI 20), 289–304. https://www.usenix.org/conference/nsdi20/presentation/mahajan
- Ye, Z., Sun, P., Gao, W., Zhang, T., Wang, X., Yan, S., & Luo, Y. (2022). ASTRAEA: A Fair Deep Learning Scheduler for Multi-Tenant GPU Clusters. IEEE Transactions on Parallel and Distributed Systems, 33(11), 2781–2793. https://doi.org/10.1109/TPDS.2021.3136245
- Zheng, P., Pan, R., Khan, T., Venkataraman, S., & Akella, A. (2023). Shockwave: Fair and Efficient Cluster Scheduling for Dynamic Adaptation in Machine Learning. 20th USENIX Symposium on Networked Systems Design and Implementation (NSDI 23), 703–723. https://www.usenix.org/conference/nsdi23/presentation/zheng
- Narayanan, D., Santhanam, K., Kazhamiaka, F., Phanishayee, A., & Zaharia, M. (2020). Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads. 14th USENIX Symposium on Operating Systems Design and Implementation (OSDI 20), 481–498. https://www.usenix.org/conference/osdi20/presentation/narayanan-deepak
- Jayaram Subramanya, S., Arfeen, D., Lin, S., Qiao, A., Jia, Z., & Ganger, G. R. (2023). Sia: Heterogeneity-aware, goodput-optimized ML-cluster scheduling. Proceedings of the 29th Symposium on Operating Systems Principles, 642–657. https://doi.org/10.1145/3600006.3613175
- Qiu, T., Li, Y., & Feng, X. (2023). DORM: Distance-based opportunistic routing and medium access protocol for multi-AUV monitoring system. Proceedings of the 2023 2nd International Conference on Networks, Communications and Information Technology, 100–104. https://doi.org/10.1145/3605801.3605821
- Chaudhary, S., Ramjee, R., Sivathanu, M., Kwatra, N., & Viswanatha, S. (2020). Balancing efficiency and fairness in heterogeneous GPU clusters for deep learning. Proceedings of the Fifteenth European Conference on Computer Systems. https://doi.org/10.1145/3342195.3387555
- Gu, J., Chowdhury, M., Shin, K. G., Zhu, Y., Jeon, M., Qian, J., Liu, H., & Guo, C. (2019). Tiresias: A GPU Cluster Manager for Distributed Deep Learning. 16th USENIX Symposium on Networked Systems Design and Implementation (NSDI 19), 485–500. https://www.usenix.org/conference/nsdi19/presentation/gu
- Sultana, A., Chen, L., Xu, F., & Yuan, X. (2020). E-LAS: Design and Analysis of Completion-Time Agnostic Scheduling for Distributed Deep Learning Cluster. Proceedings of the 49th International Conference on Parallel Processing. https://doi.org/10.1145/3404397.3404415
- Peng, Y., Bao, Y., Chen, Y., Wu, C., & Guo, C. (2018). Optimus: an efficient dynamic resource scheduler for deep learning clusters. Proceedings of the Thirteenth EuroSys Conference. https://doi.org/10.1145/3190508.3190517
- Luan, Y., Chen, X., Zhao, H., Yang, Z., & Dai, Y. (2019). SCHED2: Scheduling Deep Learning Training via Deep Reinforcement Learning. 2019 IEEE Global Communications Conference (GLOBECOM), 1–7. https://doi.org/10.1109/GLOBECOM38437.2019.9014110
- Jeon, M., Venkataraman, S., Phanishayee, A., Qian, J., Xiao, W., & Yang, F. (2019). Analysis of Large-Scale Multi-Tenant GPU Clusters for DNN Training Workloads. 2019 USENIX Annual Technical Conference (USENIX ATC 19), 947–960. https://www.usenix.org/conference/atc19/presentation/jeon
- Xiao, W., Bhardwaj, R., Ramjee, R., Sivathanu, M., Kwatra, N., Han, Z., Patel, P., Peng, X., Zhao, H., Zhang, Q., Yang, F., & Zhou, L. (2018). Gandiva: Introspective Cluster Scheduling for Deep Learning. 13th USENIX Symposium on Operating Systems Design and Implementation (OSDI 18), 595–610. https://www.usenix.org/conference/osdi18/presentation/xiao