arrow
返回

SLO-Aware Function Placement for Serverless Workflows With Layer-Wise Memory Sharing

delete2024-06-01
delete1
PRE
AI
D
Dazhao Cheng
K
Kai Yan
X
X.T. Cai
Y
Yili Gong
C
Chuang Hu *
DOI:10.1109/TPDS.2024.3391858delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Function-as-a-Service (FaaS) is a promising cloud computing model known for its scalability and elasticity. In various application domains, FaaS workflows have been widely adopted to manage user requests and complete computational tasks efficiently. Motivated by the fact that function containers collaboratively use the image layer's memory, co-placing functions would leverage memory sharing to reduce cluster memory footprint, this article studies layer-wise memory sharing for serverless functions. We find that overwhelming memory sharing by placing containers in the same cluster machine may lead to performance deterioration and Service Level Objective (SLO) violations due to the increased CPU pressure. We investigate how to maximally reduce cluster memory footprint via layer-wise memory sharing for serverless workflows while guaranteeing their SLO. First, we study the container memory sharing problem under serverless workflows with a static Directed Acyclic Graph (DAG) structure. We prove it is NP-Hard and propose a 2-approximation algorithm, namely MDP. Then we consider workflows with dynamic DAG structure scenarios, where the memory sharing problem is also NP-Hard. We design a Greedy-based algorithm called GSP to address this issue. We implement a carefully designed prototype on the OpenWhisk platform, and our evaluation results demonstrate that both MDP and GSP achieve a balanced and satisfying state, effectively reducing up to 63$\%$% of cache memory usage while guaranteeing serverless workflow SLO.
Keyword:
Containers
Memory management
Heuristic algorithms
Clustering algorithms
Cache memory
Scalability
Directed acyclic graph
Serverless computing
serverless cluster
container placement
scheduling

期刊

IEEE Transactions on Parallel and Distributed Systems 封面图
IEEE Transactions on Parallel and Distributed Systems
IF:
6
论文数:
5.2K
被引数:
1.1W

机构

W
wuhan university
学者数:
8.1W
论文数: 5.8W
被引数: 70
引用论文

引用论文

SMAF: a secure and makespan-aware framework for executing serverless workflows
err2023-01-18
err4
PREAI
errZhang, Shuai; Guo, Yunfei; Guo, Zehua; Hu, Hongchao; Chen, Guozhen
err分享
err收藏
Multivariate examination of brain abnormality using both structural and functional MRI
err2007-07-01
err0
PREAI
errYong Fan; Hengyi Rao; Hallam Hurt; Joan Giannetta; Marc Korczykowski; David Shera; Brian B. Avants; James C. Gee; Jiongjiong Wang; Dinggang Shen
err分享
err收藏
Altered Cytokine Activity in Adjuvant Inhibition of Autoimmune Diabetes
err1993-06-01
err0
PREAI
errNaim N. Shehadeh; Francisco LaRosa; Kevin J. Lafferty
err分享
err收藏
Gastric cancer burden of last 40 years in North China (Hebei Province)
err2017-01-01
err0
errOAAI
errDi Liang; Suoyuan Liang; Jing Jin; Daojuan Li; Jin Shi; Yutong He
err分享
err收藏
学者 查看更多内容