Optimizing the Cost of Executing Mixed Interactive and Batch Workloads on Transient VMs

Pradeep Ambati, David E. Irwin
{"title":"Optimizing the Cost of Executing Mixed Interactive and Batch Workloads on Transient VMs","authors":"Pradeep Ambati, David E. Irwin","doi":"10.1145/3309697.3331489","DOIUrl":null,"url":null,"abstract":"Container Orchestration Platforms (COPs), such as Kubernetes, are increasingly used to manage large-scale clusters by automating resource allocation between applications encapsulated in containers. Increasingly, the resources underlying COPs are virtual machines (VMs) dynamically acquired from cloud platforms. COPs may choose from many different types of VMs offered by cloud platforms, which differ in their cost, performance, and availability. While transient VMs cost significantly less than on-demand VMs, platforms may revoke them at any time, causing them to become unavailable. While transient VMs' price is attractive, their unreliability is a problem for COPs designed to support mixed workloads composed of, not only delay-tolerant batch jobs, but also long-lived interactive services with high availability requirements. To address the problem, we design TR-Kubernetes, a COP that optimizes the cost of executing mixed interactive and batch workloads on cloud platforms using transient VMs. To do so, TR-Kubernetes enforces arbitrary availability requirements specified by interactive services despite transient VM unavailability by acquiring many more transient VMs than necessary most of the time, which it then leverages to opportunistically execute batch jobs when excess resources are available. When cloud platforms revoke transient VMs, TR-Kubernetes relies on existing Kubernetes functions to internally revoke resources from batch jobs to maintain interactive services' availability requirements. We show that TR-Kubernetes requires minimal extensions to Kubernetes, and is capable of lowering the cost (by 53%) and improving the availability (99.999%) of a representative interactive/batch workload on Amazon EC2 when using transient compared to on-demand VMs.","PeriodicalId":268462,"journal":{"name":"Abstracts of the 2019 SIGMETRICS/Performance Joint International Conference on Measurement and Modeling of Computer Systems","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-06-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Abstracts of the 2019 SIGMETRICS/Performance Joint International Conference on Measurement and Modeling of Computer Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3309697.3331489","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

Abstract

Container Orchestration Platforms (COPs), such as Kubernetes, are increasingly used to manage large-scale clusters by automating resource allocation between applications encapsulated in containers. Increasingly, the resources underlying COPs are virtual machines (VMs) dynamically acquired from cloud platforms. COPs may choose from many different types of VMs offered by cloud platforms, which differ in their cost, performance, and availability. While transient VMs cost significantly less than on-demand VMs, platforms may revoke them at any time, causing them to become unavailable. While transient VMs' price is attractive, their unreliability is a problem for COPs designed to support mixed workloads composed of, not only delay-tolerant batch jobs, but also long-lived interactive services with high availability requirements. To address the problem, we design TR-Kubernetes, a COP that optimizes the cost of executing mixed interactive and batch workloads on cloud platforms using transient VMs. To do so, TR-Kubernetes enforces arbitrary availability requirements specified by interactive services despite transient VM unavailability by acquiring many more transient VMs than necessary most of the time, which it then leverages to opportunistically execute batch jobs when excess resources are available. When cloud platforms revoke transient VMs, TR-Kubernetes relies on existing Kubernetes functions to internally revoke resources from batch jobs to maintain interactive services' availability requirements. We show that TR-Kubernetes requires minimal extensions to Kubernetes, and is capable of lowering the cost (by 53%) and improving the availability (99.999%) of a representative interactive/batch workload on Amazon EC2 when using transient compared to on-demand VMs.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
优化在瞬态虚拟机上执行混合交互和批处理工作负载的成本
容器编排平台(cop),如Kubernetes,越来越多地用于通过在封装在容器中的应用程序之间自动分配资源来管理大规模集群。越来越多的cop底层资源是从云平台动态获取的虚拟机(vm)。cop可以从云平台提供的许多不同类型的vm中进行选择,这些vm的成本、性能和可用性各不相同。虽然瞬态虚拟机的成本明显低于按需虚拟机,但平台可能随时撤销它们,导致它们不可用。虽然瞬态虚拟机的价格很诱人,但它们的不可靠性对于那些设计用于支持混合工作负载的cop来说是一个问题,这些工作负载不仅包括可容忍延迟的批处理作业,还包括具有高可用性需求的长寿命交互式服务。为了解决这个问题,我们设计了TR-Kubernetes,这是一个COP,可以优化使用瞬态虚拟机在云平台上执行混合交互式和批处理工作负载的成本。为了做到这一点,TR-Kubernetes强制执行交互式服务指定的任意可用性要求,尽管在大多数情况下,获取比所需更多的瞬态VM,然后在有多余资源可用时利用它来执行批处理作业。当云平台撤销瞬时虚拟机时,TR-Kubernetes依靠现有的Kubernetes功能在内部撤销批处理作业中的资源,以维持交互服务的可用性需求。我们表明,TR-Kubernetes需要对Kubernetes进行最小的扩展,并且与按需虚拟机相比,当使用瞬态时,能够降低Amazon EC2上具有代表性的交互/批处理工作负载的成本(降低53%)并提高可用性(99.999%)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Analyzing Location-Based Advertising for Vehicle Service Providers Using Effective Resistances Computing with Near Data Random Walk Based Sampling for Load Balancing in Multi-Server Systems Inferring Catchment in Internet Routing What-If Analysis of Page Load Time in Web Browsers Using Causal Profiling
wanfang
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1