arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.10464cs.DC
收藏

基于任务抽样学习的集群作业调度问题

The Case for Task Sampling based Learning for Cluster Job Scheduling

Akshay Jajoo, Y. Charlie Hu, Xiaojun Lin, Nan Deng

摘要:

准确估计作业运行时属性的能力允许调度程序有效地调度作业。最先进的在线集群作业管理器使用基于历史的学习,它使用过去的作业执行信息来估计新到达的作业的运行时属性。然而,随着集群技术(硬件和软件)的快速发展和用户输入的不断变化,作业运行时属性可能会随着时间的推移而变化,这会导致预测不准确。在本文中,我们探索的潜力和限制的实时学习的作业运行时属性,主动采样和调度的一小部分任务的每个作业。这种基于任务采样的方法利用了同一作业的任务的运行时属性之间的相似性,并且固有地不受作业行为变化的影响。我们的研究集中在两个关键问题上,比较基于任务抽样的学习(空间学习)和基于历史的学习(时间学习):(1)空间学习是否比时间学习更准确?(2)如果是这样的话,延迟调度作业的剩余任务直到完成采样任务是否可以通过提高精度来补偿,并导致提高作业性能?我们对具有不同偏斜和作业分布的3种生产轨迹的分析和实验分析表明,空间学习可以更加准确。我们在Azure上对锚定在通用作业调度程序中的两种学习方法进行了模拟和测试平台评估,使用3个生产集群作业跟踪,结果表明,尽管存在在线开销,但与现有技术的基于历史的预测器相比,空间学习将平均作业完成时间(JCT)减少了1.28倍,1.56倍和1.32倍。

英文摘要:

The ability to accurately estimate job runtime properties allows a scheduler to effectively schedule jobs. State-of-the-art online cluster job schedulers use history-based learning, which uses past job execution information to estimate the runtime properties of newly arrived jobs. However, with fast-paced development in cluster technology (in both hardware and software) and changing user inputs, job runtime properties can change over time, which lead to inaccurate predictions. In this paper, we explore the potential and limitation of real-time learning of job runtime properties, by proactively sampling and scheduling a small fraction of the tasks of each job. Such a task-sampling-based approach exploits the similarity among runtime properties of the tasks of the same job and is inherently immune to changing job behavior. Our study focuses on two key questions in comparing task-sampling-based learning (learning in space) and history-based learning (learning in time): (1) Can learning in space be more accurate than learning in time? (2) If so, can delaying scheduling the remaining tasks of a job till the completion of sampled tasks be more than compensated by the improved accuracy and result in improved job performance? Our analytical and experimental analysis of 3 production traces with different skew and job distribution shows that learning in space can be substantially more accurate. Our simulation and testbed evaluation on Azure of the two learning approaches anchored in a generic job scheduler using 3 production cluster job traces shows that despite its online overhead, learning in space reduces the average Job Completion Time (JCT) by 1.28x, 1.56x, and 1.32x compared to the prior-art history-based predictor.

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

↑