Hestia:面向云微服务的超线程级调度:具有干扰意识的注意力
Hestia: Hyperthread-Level Scheduling for Cloud Microservices with Interference-Aware Attention
AI总结:
Hestia通过自注意力机制实现云微服务超线程级干扰意识调度,有效降低服务延迟并提升资源利用率。
摘要:
现代云服务器经常将多个对延迟敏感的微服务实例共置在一起以提高资源效率。然而,微服务行为的多样性,加上在同时多线程(SMT)下的相互性能干扰,使得大规模部署变得更加复杂。现有的干扰意识调度器和隔离技术依赖于粗粒度的核心级配置或静态资源分区,导致不对称的超线程级异构性和SMT竞争动态大多未被建模。我们提出了Hestia,一个基于自注意力机制的超线程级干扰意识调度框架。通过分析涵盖32,408个实例的3,132台服务器的生产跟踪数据,我们识别出两种主导的竞争模式——共享核心(SC)和共享socket(SS)——并揭示了它们影响的强不对称性。基于这些见解,Hestia集成了(1)一个基于自注意力的CPU使用预测器,用于建模SC/SS竞争和硬件异构性,以及(2)一个干扰评分模型,用于估计成对竞争风险以指导调度决策。我们通过大规模模拟和真实生产部署评估了Hestia。Hestia将95百分位服务延迟降低了高达80%,在相同工作负载下降低了整体CPU消耗2.3%,并在多样化的竞争场景中超越了五个最先进的调度器,最高达30.65%。
英文摘要:
Modern cloud servers routinely co-locate multiple latency-sensitive microservice instances to improve resource efficiency. However, the diversity of microservice behaviors, coupled with mutual performance interference under simultaneous multithreading (SMT), makes large-scale placement increasingly complex. Existing interference aware schedulers and isolation techniques rely on coarse core-level profiling or static resource partitioning, leaving asymmetric hyperthread-level heterogeneity and SMT contention dynamics largely unmodeled. We present Hestia, a hyperthread-level, interference-aware scheduling framework powered by self-attention. Through an extensive analysis of production traces encompassing 32,408 instances across 3,132 servers, we identify two dominant contention patterns -- sharing-core (SC) and sharing-socket (SS) -- and reveal strong asymmetry in their impact. Guided by these insights, Hestia incorporates (1) a self-attention-based CPU usage predictor that models SC/SS contention and hardware heterogeneity, and (2) an interference scoring model that estimates pairwise contention risks to guide scheduling decisions. We evaluate Hestia through large-scale simulation and a real production deployment. Hestia reduces the 95th-percentile service latency by up to 80\%, lowers overall CPU consumption by 2.3\% under the same workload, and surpasses five state-of-the-art schedulers by up to 30.65\% across diverse contention scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。