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

在大规模集群中利用评分机制缓解微服务干扰

Mitigating Interference of Microservices with a Scoring Mechanism in Large-scale Clusters

Dingyu Yang, Kangpeng Zheng, Shiyou Qian, Jian Cao, Guangtao Xue

AI总结:

针对大规模集群中延迟关键服务(LCSs)与尽力而为作业(BEJs)共存时的干扰问题,提出PISM框架,通过BEJ分类、干扰建模及评分机制优化调度,可降低干扰41.5%、提升长尾LCSs吞吐量76.4%。

摘要:

在生产环境中,将延迟关键服务(LCSs)与尽力而为作业(BEJs)共存是提高资源利用率的主要方法。然而,由于资源竞争,即使采用隔离技术,共存实践仍会损害LCSs的性能。通过对来自两个生产集群的大量真实跟踪数据的广泛分析,我们观察到BEJs通常表现出周期性执行模式,并且是LCSs干扰的主要来源。此外,尽管占用相同水平的资源消耗,BEJs的不同组成可能会对LCSs造成不同程度的干扰。随后,我们提出了PISM,一个通过优化BEJ调度来主动为LCSs评分和缓解性能干扰的框架。首先,PISM采用数据驱动的方法建立BEJs的表征和分类方法。其次,PISM对服务器上BEJs的组成与LCSs的响应时间(RT)之间的关系进行建模。第三,PISM基于RT建立干扰评分机制,作为BEJ调度的基础。我们在小规模集群上并通过广泛的数据驱动模拟评估了PISM的有效性。实验结果表明,PISM可将集群干扰降低高达41.5%,并将长尾LCSs的吞吐量提高76.4%。

英文摘要:

Co-locating latency-critical services (LCSs) and best-effort jobs (BEJs) constitute the principal approach for enhancing resource utilization in production. Nevertheless, the co-location practice hurts the performance of LCSs due to resource competition, even when employing isolation technology. Through an extensive analysis of voluminous real trace data derived from two production clusters, we observe that BEJs typically exhibit periodic execution patterns and serve as the primary sources of interference to LCSs. Furthermore, despite occupying the same level of resource consumption, the diverse compositions of BEJs can result in varying degrees of interference on LCSs. Subsequently, we propose PISM, a proactive Performance Interference Scoring and Mitigating framework for LCSs through the optimization of BEJ scheduling. Firstly, PISM adopts a data-driven approach to establish a characterization and classification methodology for BEJs. Secondly, PISM models the relationship between the composition of BEJs on servers and the response time (RT) of LCSs. Thirdly, PISM establishes an interference scoring mechanism in terms of RT, which serves as the foundation for BEJ scheduling. We assess the effectiveness of PISM on a small-scale cluster and through extensive data-driven simulations. The experiment results demonstrate that PISM can reduce cluster interference by up to 41.5%, and improve the throughput of long-tail LCSs by 76.4%.

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

↑