arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.00433cs.DC
收藏

Jiagu:以效率与实用性的协调优化无服务器计算资源利用率

Jiagu: Optimizing Serverless Computing Resource Utilization with Harmonized Efficiency and Practicability

Qingyuan Liu, Yanning Yang, Dong Du, Yubin Xia, Ping Zhang, Jia Feng, James Larus, Haibo Chen

AI总结:

针对无服务器平台资源利用率与实用性难兼顾的问题,提出 Jiagu,通过预决策调度和双阶段扩缩容提升部署密度并降低调度与冷启动开销。

摘要:

当前无服务器平台因其动态、细粒度的特性而难以优化资源利用率。超卖和自动扩缩容等传统技术存在不足,往往为实用性牺牲利用率,或引发性能权衡。超卖需要预测性能以防止 QoS 被违反,从而在预测准确性与开销之间引入权衡。自动扩缩容需要根据负载波动快速扩缩实例以减少资源浪费,但更频繁的扩缩也会带来更多冷启动开销。本文提出 Jiagu,它通过两项新技术协调效率与实用性。首先,预决策调度通过解耦预测与调度,在消除开销的同时实现准确预测。其次,双阶段扩缩容以最小开销实现实例的频繁调整。我们实现了一个原型,并使用来自公有云平台的真实应用和轨迹进行评估。评估表明,在保持 QoS 的同时,相比商业云(使用 Kubernetes)部署密度提升 54.8%;与研究工作中现有的 QoS 感知调度器相比,调度成本降低 81.0%–93.7%,冷启动延迟降低 57.4%–69.3%。

英文摘要:

Current serverless platforms struggle to optimize resource utilization due to their dynamic and fine-grained nature. Conventional techniques like overcommitment and autoscaling fall short, often sacrificing utilization for practicability or incurring performance trade-offs. Overcommitment requires predicting performance to prevent QoS violation, introducing trade-off between prediction accuracy and overheads. Autoscaling requires scaling instances in response to load fluctuations quickly to reduce resource wastage, but more frequent scaling also leads to more cold start overheads. This paper introduces Jiagu, which harmonizes efficiency with practicability through two novel techniques. First, pre-decision scheduling achieves accurate prediction while eliminating overheads by decoupling prediction and scheduling. Second, dual-staged scaling achieves frequent adjustment of instances with minimum overhead. We have implemented a prototype and evaluated it using real-world applications and traces from the public cloud platform. Our evaluation shows a 54.8% improvement in deployment density over commercial clouds (with Kubernetes) while maintaining QoS, and 81.0%--93.7% lower scheduling costs and a 57.4%--69.3% reduction in cold start latency compared to existing QoS-aware schedulers in research work.

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

↑