RLSchert: An HPC Job Scheduler Using Deep Reinforcement Learning and Remaining Time Prediction
Source abstract
Abstract
The job scheduler plays a vital role in high-performance computing platforms. It determines the execution order of the jobs and the allocation of resources, which in turn affect the resource utilization of the entire system. As the scale and complexity of HPC continue to grow, job scheduling is becoming increasingly important and difficult. Existing studies relied on user-specified or regression techniques to give fixed runtime prediction values and used the values in static heuristic scheduling algorithms. However, these approaches require very accurate runtime predictions to produce better results, and fixed heuristic scheduling strategies cannot adapt to changes in the workload. In this work, we propose RLSchert, a job scheduler based on deep reinforcement learning and remaining runtime prediction. Firstly, RLSchert estimates the state of the system by using a dynamic job remaining runtime predictor, thereby providing an accurate spatiotemporal view of the cluster status. Secondly, RLSchert learns the optimal policy to select or kill jobs according to the status through imitation learning and the proximal policy optimization algorithm. Extensive experiments on real-world job logs at the USTC Supercomputing Center showed that RLSchert is superior to static heuristic policies and outperforms the learning-based scheduler DeepRM. In addition, the dynamic predictor gives a more accurate remaining runtime prediction result, which is essential for most learning-based schedulers.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Cloud Computing and Resource Management · Distributed and Parallel Computing Systems · Parallel Computing and Optimization Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
School of Computer Science and Technology, University of Science and Technology of China, Hefei 230026, China
Supercomputing Center, University of Science and Technology of China, Hefei 230026, China
Funding
the Strategic Priority Research Program of the Chinese 656 Academy of Sciences
References (34)
Show source-provided references
1. A survey of high-performance computing scaling challenges10.1177/1094342015597083 ↗
2. Feitelson, D.G., Rudolph, L., Schwiegelshohn, U., Sevcik, K.C., and Wong, P. (1997). Theory and Practice in Parallel Job Scheduling. Workshop on Job Scheduling Strategies for Parallel Processing, Springer.10.1007/3-540-63574-2 ↗
3. Np-complete scheduling problems10.1016/S0022-0000(75)80008-0 ↗
4. Tang, W., Lan, Z., Desai, N., and Buettner, D. (September, January 31). Fault-aware, utility-based job scheduling on Blue, Gene/P systems. Proceedings of the 2009 IEEE International Conference on Cluster Computing and Workshops, New Orleans, LA, USA.10.1109/CLUSTR.2009.5289206 ↗
5. Carastan-Santos, D., and de Camargo, R.Y. (2017, January 12). Obtaining dynamic scheduling policies with simulation and machine learning. Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, Denver, CO, USA.10.1145/3126908.3126955 ↗
6. Computational models and heuristic methods for Grid scheduling problems10.1016/j.future.2009.11.005 ↗
7. Utilization, Predictability, Workloads, and user Runtime Estimates in Scheduling the IBM SP2 with ling10.1109/71.932708 ↗
8. Heuristics and augmented neural networks for task scheduling with non-identical machines10.1016/j.ejor.2005.03.045 ↗
9. Pinedo, M. (2012). Scheduling, Springer.10.1007/978-1-4614-2361-4 ↗
10. Carastan-Santos, D., Camargo, R.Y.D., Trystram, D., and Zrigui, S. (2019, January 1). One can only gain by replacing EASY Backfilling: A simple scheduling policies case study. Proceedings of the CCGrid 2019—International Symposium in Cluster, Cloud, and Grid Computing, Larnaca, Cyprus.10.1109/CCGRID.2019.00010 ↗
11. Backfilling using system-generated predictions rather than user runtime estimates10.1109/TPDS.2007.70606 ↗
12. OKCM: Improving parallel task scheduling in high-performance computing systems using online learning10.1007/s11227-020-03506-5 ↗
13. Reinforcement learning: A survey10.1613/jair.301 ↗
14. Sutton, R.S., and Barto, A.G. (2018). Reinforcement Learning: An Introduction, MIT Press.
15. Mao, H., Alizadeh, M., Menache, I., and Kandula, S. (2016, January 9). Resource management with deep reinforcement learning. Proceedings of the 15th ACM Workshop on Hot Topics in Networks, New York, NY, USA.10.1145/3005745.3005750 ↗
16. Chen, W., Xu, Y., and Wu, X. (2017). Deep reinforcement learning for multi-resource multi-machine job scheduling. arXiv.
17. Domeniconi, G., Lee, E.K., Venkataswamy, V., and Dola, S. (2019, January 5). Cush: Cognitive scheduler for heterogeneous high performance computing system. Proceedings of the DRL4KDD 19: Workshop on Deep Reinforcement Learning for Knowledge Discover, Anchorage, AK, USA.
18. Qin, H., Zawad, S., Zhou, Y., Yang, L., Zhao, D., and Yan, F. (2019, January 17). Swift machine learning model serving scheduling: A region based reinforcement learning approach. Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, Denver, CO, USA.10.1145/3295500.3356164 ↗
19. Fan, Y., Lan, Z., Childers, T., Rich, P., Allcock, W., and Papka, M.E. (2021). Deep Reinforcement Agent for Scheduling in HPC. arXiv.10.1109/IPDPS49936.2021.00090 ↗
20. (2021, September 09). The Vienna Ab Initio Simulation Package. Available online: https://www.vasp.at/.
21. Schulman, J., Wolski, F., Dhariwal, P., Radford, A., and Klimov, O. (2021). Proximal policy optimization algorithms. arXiv.
22. Schmitt, S., Hudson, J.J., Zidek, A., Osindero, S., Doersch, C., and Czarnecki, W.M. (2018). Kickstarting deep reinforcement learning. arXiv.
23. (2021, September 09). Supercomputing Center of USTC. Available online: http://scc.ustc.edu.cn/.
24. Heess, N., TB, D., Sriram, S., Lemmon, J., Merel, J., and Wayne, G. (2017). Emergence of locomotion behaviours in rich environments. arXiv.
25. Grandl, R., Ananthanarayanan, G., Kandula, S., Rao, S., and Akella, A. (2014, January 17–22). Multi-resource packing for cluster schedulers. Proceedings of the 2014 ACM Conference on SIGCOMM (SIGCOMM ’14), Chicago, IL, USA.10.1145/2619239.2626334 ↗
26. Chen, T., and Guestrin, C. (2016, January 13–17). Xgboost: A scalable tree boosting system. Proceedings of the 22nd ACM Sigkdd International Conference on Knowledge Discovery and Data Mining, Washington, DC, USA.10.1145/2939672.2939785 ↗
27. Wang, Q., Li, J., Wang, S., and Wu, G. (2019, January 12–15). A novel two-step job runtime estimation method based on input parameters in HPC system. Proceedings of the 2019 IEEE 4th International Conference on Cloud Computing and Big Data Analysis (ICCCBDA), Chengdu, China.10.1109/ICCCBDA.2019.8725643 ↗
28. Gaussier, E., Glesser, D., Reis, V., and Trystram, D. (2015, January 15–20). Improving backfilling by using machine learning to predict running times. Proceedings of the SC15: Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, Austin, TX, USA.10.1145/2807591.2807646 ↗
29. Performance analysis of cloud computing services for many-tasks scientific computing10.1109/TPDS.2011.66 ↗
30. Zrigui, S., de Camargo, R., Legrand, A., and Trystram, D. (2021, October 10). Improving the Performance of Batch Schedulers Using Online Job Runtime Classification. In press. Available online: https://hal.archives-ouvertes.fr/hal-03023222.
31. Lifka, D.A. (1995, January 25). The anl/ibm sp scheduling system. Proceedings of the Workshop on Job Scheduling Strategies for Parallel Processing, Santa Barbara, CA, USA.10.1007/3-540-60153-8_35 ↗
32. Reinforcement learning in robotics: A survey10.1177/0278364913495721 ↗
33. Mao, H., Schwarzkopf, M., Venkatakrishnan, S.B., Meng, Z., and Alizadeh, M. (2019, January 19–23). Learning scheduling algorithms for data processing clusters. Proceedings of the ACM Special Interest Group on Data Communication, Beijing, China.10.1145/3341302.3342080 ↗
34. Zhang, D., Dai, D., He, Y., Bao, F.S., and Xie, B. (2020, January 9–19). RLScheduler: An automated HPC batch job scheduler using reinforcement learning. Proceedings of the SC20: International Conference for High Performance Computing, Networking, Storage and Analysis, Atlanta, GA, USA.10.1109/SC41405.2020.00035 ↗