arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.08859cs.DCcs.LG
收藏

Shabari:面向更快更高效的无服务器函数的延迟决策机制

Shabari: Delayed Decision-Making for Faster and Efficient Serverless Functions

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Columbia University(哥伦比亚大学);VMWare Research(威睿研究)

Prasoon Sinha, Kostis Kaffes, Neeraja J. Yadwadkar

AI总结:

Shabari通过将资源分配决策延迟到函数输入可用之后,利用在线学习智能体为每次无服务器函数调用合理配置资源,显著减少SLO违规和资源浪费。

摘要:

无服务器计算使开发者免于资源管理的负担,从而为用户提供易用性,并为提供商提供优化资源利用的机会。然而,当今的无服务器系统缺乏对函数调用的性能保证,从而限制了对性能关键型应用的支持:我们观察到严重的性能波动(最高达6倍)。提供商缺乏对用户函数的可见性,因此发现很难为其合理配置资源:我们观察到严重的资源利用不足(最高达80%)。为了理解性能波动和利用不足背后的原因,我们对常用部署的无服务器函数进行了测量研究,并了解到函数性能和资源利用率关键取决于函数语义和输入。我们的关键见解是:将资源分配决策延迟到函数输入可用之后再进行。我们引入了Shabari,一个面向无服务器系统的资源管理框架,它尽可能晚地做出决策,以便为每次调用合理配置资源,从而满足函数的性能目标(SLO)并提高资源利用率。Shabari使用在线学习智能体根据函数输入的特征为每次函数调用合理配置资源,并做出感知冷启动的调度决策。针对一系列无服务器函数和输入,与包括Aquatope、Parrotfish和Cypress在内的最先进系统相比,Shabari将SLO违规减少了11-73%,同时不浪费任何vCPU,并在中位数情况下将浪费的内存减少了64-94%。

英文摘要:

Serverless computing relieves developers from the burden of resource management, thus providing ease-of-use to the users and the opportunity to optimize resource utilization for the providers. However, today's serverless systems lack performance guarantees for function invocations, thus limiting support for performance-critical applications: we observed severe performance variability (up to 6x). Providers lack visibility into user functions and hence find it challenging to right-size them: we observed heavy resource underutilization (up to 80%). To understand the causes behind the performance variability and underutilization, we conducted a measurement study of commonly deployed serverless functions and learned that the function performance and resource utilization depend crucially on function semantics and inputs. Our key insight is to delay making resource allocation decisions until after the function inputs are available. We introduce Shabari, a resource management framework for serverless systems that makes decisions as late as possible to right-size each invocation to meet functions' performance objectives (SLOs) and improve resource utilization. Shabari uses an online learning agent to right-size each function invocation based on the features of the function input and makes cold-start-aware scheduling decisions. For a range of serverless functions and inputs, Shabari reduces SLO violations by 11-73% while not wasting any vCPUs and reducing wasted memory by 64-94% in the median case, compared to state-of-the-art systems, including Aquatope, Parrotfish, and Cypress.

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

↑