Proceedings

DeepWeave: Accelerating Job Completion Time with Deep Reinforcement Learning-based Coflow Scheduling

Video Download BibTeX Cite

Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence. Main track. Pages 3314-3320.

https://doi.org/10.24963/ijcai.2020/458

Abstract

To improve the processing efficiency of jobs in distributed computing, the concept of coflow is proposed. A coflow is a collection of flows that are semantically correlated in a multi-stage computation task. A job consists of multiple coflows and can be usually formulated as a Directed-Acyclic Graph (DAG). A proper scheduling of coflows can significantly reduce the completion time of jobs in distributed computing. However, this scheduling problem is proved to be NP-hard. Different from existing schemes that use hand-crafted heuristic algorithms to solve this problem, in this paper, we propose a Deep Reinforcement Learning (DRL) framework named DeepWeave to generate coflow scheduling policies. To improve the inter-coflow scheduling ability in the job DAG, DeepWeave employs a Graph Neural Network (GNN) to process the DAG information. DeepWeave learns from the history workload trace to train the neural networks of the DRL agent and encodes the scheduling policy in the neural networks, which make coflow scheduling decisions without expert knowledge or a pre-assumed model. The proposed scheme is evaluated with a simulator using real-life traces. Simulation results show that DeepWeave completes jobs at least 1.7X faster than the state-of-the-art solutions.

  1. [Agarwal et al., 2018] Saksham Agarwal, Shijin Rajakrish- nan, Akshay Narayan, Rachit Agarwal, David Shmoys, and Amin Vahdat. Sincronia: near-optimal network de- sign for coflows. In ACM SIGCOMM, pages 16-29, 2018.
  2. [Chen et al., 2016] Li Chen, Wei Cui, Baochun Li, and Bo Li. Optimizing coflow completion times with utility max-min fairness. In IEEE INFOCOM, pages 1-9, 2016.
  3. [Chowdhury and Stoica, 2012] Mosharaf Chowdhury and Ion Stoica. Coflow: a networking abstraction for cluster applications. In ACM HotNets, pages 31-36, 2012.
  4. [Chowdhury and Stoica, 2015] Mosharaf Chowdhury and Ion Stoica. Efficient coflow scheduling without prior knowledge. ACM SIGCOMM CCR, 45(4):393-406, 2015.
  5. [Chowdhury et al., 2011] Mosharaf Chowdhury, Matei Za- haria, Justin Ma, Michael I Jordan, and Ion Stoica. Man- aging data transfers in computer clusters with orchestra. ACM SIGCOMM CCR, 41(4):98-109, 2011.
  6. [Chowdhury et al., 2014] Mosharaf Chowdhury, Yuan Zhong, and Ion Stoica. Efficient coflow scheduling with varys. ACM SIGCOMM CCR, 44(4):443-454, 2014.
  7. [Cof, 2014] Coflowsim. https://github.com/coflow/ coflowsim, 2014. Link
  8. [Cordeiro et al., 2010] Daniel Cordeiro, Grégory Mounié, Swann Perarnau, Denis Trystram, Jean-Marc Vincent, and Frédéric Wagner. Random graph generation for scheduling simulations. In SIMUTOOLS 2010, page 60, 2010.
  9. [Dogar et al., 2014] Fahad R Dogar, Thomas Karagiannis, Hitesh Ballani, and Antony Rowstron. Decentralized task- aware scheduling for data center networks. ACM SIG- COMM CCR, 44(4):431-442, 2014.
  10. [Gao et al., 2016] Yuanxiang Gao, Hongfang Yu, Shouxi Luo, and Shui Yu. Information-agnostic coflow schedul- ing with optimal demotion thresholds. In IEEE ICC, pages 1-6, 2016.
  11. [Greensmith et al., 2004] Evan Greensmith, Peter L Bartlett, and Jonathan Baxter. Variance reduction techniques for gradient estimates in reinforcement learning. JMLR, 5:1471-1530, 2004.
  12. [Huang et al., 2015] Zhe Huang, Bharath Balasubramanian, Michael Wang, Tian Lan, Mung Chiang, and Danny HK Tsang. Need for speed: Cora scheduler for optimizing completion-times in the cloud. In IEEE INFOCOM, pages 891-899, 2015.
  13. [Huang et al., 2016] Xin Sunny Huang, Xiaoye Steven Sun, and T Sunflow Ng. Sunflow: Efficient optical circuit scheduling for coflows. In ACM CONEXT, pages 297- 311, 2016.
  14. [Kelley Jr, 1961] James E Kelley Jr. Critical-path planning and scheduling: Mathematical basis. Operations research, 9(3):296-320, 1961.
  15. [Kingma and Ba, 2014] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
  16. [Li et al., 2016] Ziyang Li, Yiming Zhang, Dongsheng Li, Kai Chen, and Yuxing Peng. Optas: Decentralized flow monitoring and scheduling for tiny tasks. In IEEE INFO- COM, pages 1-9, 2016.
  17. [Mao et al., 2019] Hongzi Mao, Malte Schwarzkopf, Shaileshh Bojja Venkatakrishnan, Zili Meng, and Moham- mad Alizadeh. Learning scheduling algorithms for data processing clusters. In ACM SIGCOMM, pages 270-288, 2019.
  18. [Qiu et al., 2015] Zhen Qiu, Cliff Stein, and Yuan Zhong. Minimizing the total weighted completion time of coflows in datacenter networks. In ACM SPAA, pages 294-303, 2015.
  19. [Rusek et al., 2019] Krzysztof Rusek, José Suárez-Varela, Albert Mestres, Pere Barlet-Ros, and Albert Cabellos- Aparicio. Unveiling the potential of graph neural networks for network modeling and optimization in sdn. In ACM SOSR, pages 140-151, 2019.
  20. [Shafiee and Ghaderi, 2018] Mehrnoosh Shafiee and Javad Ghaderi. An improved bound for minimizing the to- tal weighted completion time of coflows in datacenters. IEEE/ACM TON, 26(4):1674-1687, 2018.
  21. [Sutton et al., 2000] Richard S Sutton, David A McAllester, Satinder P Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approx- imation. In NIPS, pages 1057-1063, 2000.
  22. [Tan et al., 2019] Haisheng Tan, Shaofeng H-C Jiang, Yu- peng Li, Xiang-Yang Li, Chenzi Zhang, Zhenhua Han, and Francis Chi Moon Lau. Joint online coflow routing and scheduling in data center networks. IEEE/ACM ToN, 27(5):1771-1786, 2019.
  23. [tpc, 2019] TPC Benchmark DS (TPC-DS). http://www.tpc. org/tpcds, 2019. Link
  24. [Wang et al., 2018a] Shuo Wang, Jiao Zhang, , Tao Huang, Tian Pan, Jiang Liu, and Yunjie Liu. Multi- attributes-based coflow scheduling without prior knowl- edge. IEEE/ACM ToN, 26(4):1962-1975, 2018.
  25. [Wang et al., 2018b] Shuo Wang, Jiao Zhang, Tao Huang, Jiang Liu, Tian Pan, and Yunjie Liu. A survey of coflow scheduling schemes for data center networks. IEEE Com- munications Magazine, 56(6):179-185, 2018.
  26. [Wang et al., 2019] Zhiliang Wang, Han Zhang, Xingang Shi, Xia Yin, Yahui Li, Haijun Geng, Qianhong Wu, and Jianwei Liu. Efficient scheduling of weighted coflows in data centers. IEEE TPDS, 30(9):2003-2017, 2019.
  27. [Xin et al., 2013] Reynold S Xin, Josh Rosen, Matei Za- haria, Michael J Franklin, Scott Shenker, and Ion Stoica. Shark: Sql and rich analytics at scale. In ACM SIGMOD, pages 13-24, 2013.
  28. [Xu and Tang, 2015] Xiaoyong Xu and Maolin Tang. A new approach to the cloud-based heterogeneous mapre- duce placement problem. IEEE TSC, 9(6):862-871, 2015.
  29. [Zhang et al., 2016] Hong Zhang, Li Chen, Bairen Yi, Kai Chen, Mosharaf Chowdhury, and Yanhui Geng. Coda: To- ward automatically identifying and scheduling coflows in the dark. In ACM SIGCOMM, pages 160-173, 2016.
  30. [Zhao et al., 2015] Yangming Zhao, Kai Chen, Wei Bai, Minlan Yu, Chen Tian, Yanhui Geng, Yiming Zhang, Dan Li, and Sheng Wang. Rapier: Integrating routing and scheduling for coflow-aware data center networks. In IEEE INFOCOM, pages 424-432, 2015.
  31. [Zhou et al., 2018] Jie Zhou, Ganqu Cui, Zhengyan Zhang, Cheng Yang, Zhiyuan Liu, Lifeng Wang, Changcheng Li, and Maosong Sun. Graph neural networks: A review of methods and applications. arXiv preprint arXiv:1812.08434, 2018.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards