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

CarbonScaler:利用云工作负载弹性优化碳效率

CarbonScaler: Leveraging Cloud Workload Elasticity for Optimizing Carbon-Efficiency

Walid A. Hanafy, Qianlin Liang, Noman Bashir, David Irwin, Prashant Shenoy

AI总结:

提出CarbonScaler,利用云批处理工作负载弹性,通过基于电网碳成本动态调整服务器分配的贪婪算法,显著降低碳排放并优于现有策略。

摘要:

云平台日益重视可持续性并减少其运营碳足迹。减少碳排放的常见方法是利用许多云工作负载固有的时间灵活性,在能源最环保的时期执行它们,并在其他时间暂停。由于这种暂停-恢复方法可能导致作业完成时间出现较长延迟,我们提出了一种新方法,利用云中批处理工作负载的弹性来优化其碳排放。我们的方法基于“carbon scaling(碳缩放)”的概念,类似于云自动缩放,作业根据电网能源碳成本的波动动态改变其服务器分配。我们开发了一种贪婪算法,通过基于著名的边际资源分配问题的碳缩放来最小化作业的碳排放。我们在 Kubernetes 中实现了 CarbonScaler 原型,利用其自动缩放功能和分析工具来指导云中批处理应用程序的碳高效部署。然后,我们在商业云平台上使用真实世界的机器学习训练和 MPI 作业评估 CarbonScaler,并表明它可以产生:i) 与不感知碳的执行相比节省 51% 的碳;ii) 与最先进的暂停-恢复策略相比节省 37%;iii) 与最佳静态缩放策略相比节省 8%。

英文摘要:

Cloud platforms are increasing their emphasis on sustainability and reducing their operational carbon footprint. A common approach for reducing carbon emissions is to exploit the temporal flexibility inherent to many cloud workloads by executing them in periods with the greenest energy and suspending them at other times. Since such suspend-resume approaches can incur long delays in job completion times, we present a new approach that exploits the elasticity of batch workloads in the cloud to optimize their carbon emissions. Our approach is based on the notion of "carbon scaling," similar to cloud autoscaling, where a job dynamically varies its server allocation based on fluctuations in the carbon cost of the grid's energy. We develop a greedy algorithm for minimizing a job's carbon emissions via carbon scaling that is based on the well-known problem of marginal resource allocation. We implement a CarbonScaler prototype in Kubernetes using its autoscaling capabilities and an analytic tool to guide the carbon-efficient deployment of batch applications in the cloud. We then evaluate CarbonScaler using real-world machine learning training and MPI jobs on a commercial cloud platform and show that it can yield i) 51% carbon savings over carbon-agnostic execution; ii) 37% over a state-of-the-art suspend-resume policy; and iii) 8% over the best static scaling policy.

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

↑