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.
翻译:准确估计工作运行时间属性的能力可以准确估计工作运行时间属性,从而能够有效地安排工作。 最先进的在线分组任务调度员使用基于历史的学习方法,该方法利用过去的工作执行信息来估计新到职位的运行时间属性。然而,随着集群技术(硬件和软件)和用户投入变化的快速发展,工作运行时间属性会随着时间的变化而变化,从而导致不准确的预测。 在本文件中,我们探讨实时学习工作运行时间属性的潜力和局限性,方法是主动抽样和安排每项工作的一小部分任务。这种基于任务取样的方法利用了同一工作任务的运行时间属性之间的相似性,并且本质上不受工作行为变化的影响。 但是,随着集群技术(硬件和软件)的快速发展,工作运行时间属性会随着时间的变化而变化,工作运行时间特性的变化,工作运行时间属性会随着时间的变化而变化。 如果这样,我们探索空间学习比时间上的学习更准确性,那么空间学习比时间上的学习更准确? (2) 如果这样的话,那么在抽样任务完成之前的剩余任务的时间安排可以被推迟,因为改进了职位上的准确性和结果。 1. 在改进了工作周期的模拟中,我们进行的分析和实验性分析,在学习过程的进度中可以显示, 3 学习过程的精确的进度中,我们的分析和空间分析和实验分析会显示了1 。