Understanding the IO Performance Gap between OS-level and VM-level Containers in High-Density Deployment

被引:0
作者
Li, Wentai [1 ]
Zhou, Kaijun [1 ]
Shi, Jiacheng [1 ]
Chen, Xingman [2 ]
Liu, Yadong [2 ]
Wang, Luyuan [3 ]
Gu, Jinyu [1 ]
机构
[1] Shanghai Jiao Tong Univ, Inst Parallel & Distributed Syst IPADS, Shanghai, Peoples R China
[2] Huawei Technol Co Ltd, Shenzhen, Peoples R China
[3] Beijing Inst Spacecraft Syst, Beijing, Peoples R China
来源
2024 IEEE 44TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, ICDCS 2024 | 2024年
关键词
Container; Virtual Machine; Performance Analysis; Storage; Network;
D O I
10.1109/ICDCS60910.2024.00048
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Containers are widely deployed in clouds. There are two common container architectures: operating system-level (OS-level) container and virtual machine-level (VM-level) container. Typical examples are runc and Kata. It is well known that VM-level containers provide better isolation than OS-level containers, but at a higher overhead. Although there are quantitative analyses of the performance gap between these two container architectures, they rarely discuss the performance gap under the constrained resources provisioned to containers. Since the high-density deployment of containers is demanding in the cloud, each container is provisioned with limited resources specified by the cgroup mechanism. In this paper, we provide an in-depth analysis of the storage and network (two key aspects) performance differences between runc and Kata under varying resource constraints. We identify configuration implications that are crucial to performance and find that some of them are not exposed by the Kata interfaces. Based on that, we propose a profiling tool to automatically offer configuration suggestions for optimizing container performance. Our evaluation shows that the auto-generated configuration can improve the performance of MySQL by up to 107% in the TPCC benchmark compared with the default Kata setup.
引用
收藏
页码:438 / 449
页数:12
相关论文
共 45 条
[1]  
Akkus IE, 2018, PROCEEDINGS OF THE 2018 USENIX ANNUAL TECHNICAL CONFERENCE, P923
[2]  
[Anonymous], Amd64 architecture programmers manual
[3]  
Baset S. A., 2 USENIX WORKSH HOT
[4]   RFHOC: A Random-Forest Approach to Auto-Tuning Hadoop's Configuration [J].
Bei, Zhendong ;
Yu, Zhibin ;
Zhang, Huiling ;
Xiong, Wen ;
Xu, Chengzhong ;
Eeckhout, Lieven ;
Feng, Shengzhong .
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2016, 27 (05) :1470-1483
[5]  
Caraza-Harter Tyler., 2020, P 16 ACM SIGPLANSIGO, P101, DOI DOI 10.1145/3381052.3381315
[6]   Alita: Comprehensive Performance Isolation through Bias Resource Management for Public Clouds [J].
Chen, Quan ;
Xue, Shuai ;
Zhao, Shang ;
Chen, Shanpei ;
Wu, Yihao ;
Xu, Yu ;
Song, Zhuo ;
Ma, Tao ;
Yang, Yong ;
Guo, Minyi .
PROCEEDINGS OF SC20: THE INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS (SC20), 2020,
[7]   RunC and Kata runtime using Docker: a network perspective comparison [J].
Cochak, Henrique Zanela ;
Koslovski, Guilherme Piegas ;
Pillon, Mauricio Aronne ;
Miers, Charles Christian .
2021 IEEE LATIN-AMERICAN CONFERENCE ON COMMUNICATIONS (LATINCOM 2021), 2021,
[8]  
Docker Hub, ABOUT US
[9]  
firecracker-microvm, Firecracker
[10]  
github, Runc container