arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.06582cs.DCcs.AI
收藏

面向Kubernetes的边缘云系统的定制学习调度

Tailored Learning-Based Scheduling for Kubernetes-Oriented Edge-Cloud System

Tianjin University(天津大学);IBM T. J. Watson Research Center(IBM托马斯·J·沃森研究中心);Shenzhen University(深圳大学);the University of British Columbia(不列颠哥伦比亚大学)

Yiwen Han, Shihao Shen, Xiaofei Wang, Shiqiang Wang, Victor C. M. Leung

摘要:

Kubernetes(k8s)有可能将分布式边缘和云合并,但缺乏专门针对边缘云系统的调度框架。此外,异构资源的层次分布以及请求和资源之间的复杂依赖关系使得面向k8s的边缘云系统的建模和调度尤为复杂。在本文中,我们介绍了KaiS,这是一个基于学习的调度框架,用于这种边缘云系统,以提高请求处理的长期吞吐率。首先,我们设计了一个协调的多代理Actor-Critic算法,以满足分散的请求调度和边缘集群内的动态调度空间。其次,针对不同的系统规模和结构,采用图神经网络嵌入系统状态信息,并将嵌入结果与多策略网络相结合,通过逐步调度降低编排维数。最后,我们采用双时间尺度的调度机制来协调请求分派和服务编排,并给出了部署上述算法与原生k8s组件兼容的实现设计。使用真实的工作负载跟踪的实验表明,KaiS可以成功地学习适当的调度策略,无论请求到达模式和系统规模。此外,与基线相比,KaiS可以将平均系统吞吐率提高14.3%,同时将调度成本降低34.7%。

英文摘要:

Kubernetes (k8s) has the potential to merge the distributed edge and the cloud but lacks a scheduling framework specifically for edge-cloud systems. Besides, the hierarchical distribution of heterogeneous resources and the complex dependencies among requests and resources make the modeling and scheduling of k8s-oriented edge-cloud systems particularly sophisticated. In this paper, we introduce KaiS, a learning-based scheduling framework for such edge-cloud systems to improve the long-term throughput rate of request processing. First, we design a coordinated multi-agent actor-critic algorithm to cater to decentralized request dispatch and dynamic dispatch spaces within the edge cluster. Second, for diverse system scales and structures, we use graph neural networks to embed system state information, and combine the embedding results with multiple policy networks to reduce the orchestration dimensionality by stepwise scheduling. Finally, we adopt a two-time-scale scheduling mechanism to harmonize request dispatch and service orchestration, and present the implementation design of deploying the above algorithms compatible with native k8s components. Experiments using real workload traces show that KaiS can successfully learn appropriate scheduling policies, irrespective of request arrival patterns and system scales. Moreover, KaiS can enhance the average system throughput rate by 14.3% while reducing scheduling cost by 34.7% compared to baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑