Alleviating File System Journaling Problem in Containers for DBMS Consolidation

被引:0
作者
Abdulrazak Ali Mardan, Asraa [1 ]
Kono, Kenji [1 ]
机构
[1] Keio Univ, Yokohama, Kanagawa 2238522, Japan
来源
IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS | 2021年 / E104D卷 / 07期
关键词
virtualization; container; DBMS; journaling file system;
D O I
10.1587/transinf.2020EDP7178
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Containers offer a lightweight alternative over virtual machines and become a preferable choice for application consolidation in the clouds. However, the sharing of kernel components can violate the I/O performance and isolation in containers. It is widely recognized that file system journaling has terrible performance side effects in containers, especially when consolidating database management systems (DBMSs). The sharing of journaling modules among containers causes performance dependency among them. This dependency violates resource consumption enforced by the resource controller, and degrades I/O performance due to the contention of the journaling module. The operating system developers have been working on novel designs of file systems or new journaling mechanisms to solve the journaling problems. This paper shows that it is possible to overcome journaling problems without re-designing file systems or implementing a new journaling method. A careful configuration of containers in existing file systems can gracefully solve the problems. Our recommended configuration consists of 1) per-container journaling by presenting each container with a virtual block device to have its own journaling module, and 2) accounting journaling I/Os separately for each container. Our experimental results show that our configuration resolves journaling-related problems, improves MySQL performance by 3.4x, and achieves reasonable performance isolation among containers.
引用
收藏
页码:931 / 940
页数:10
相关论文
共 30 条
[1]  
[Anonymous], 2019, CHROOT
[2]  
[Anonymous], 2019, OPENVZ OPEN SOURCE C
[3]  
[Anonymous], 2019, PLOOP CONTAINERS FIL
[4]  
[Anonymous], 2008, ANATOMY LINUX JOURNA
[5]  
[Anonymous], 2018, LINUX VSERVER WEB PA
[6]  
Corbet J., NOTES CONTAINER WEB
[7]  
Dusseau A., 2014, OPERATING SYSTEMS
[8]  
FELTER W., 2014, UPDATED PERFORMANCE
[9]  
Flashdba, DAT CONS WEB PAG DAT CONS WEB PAG
[10]  
Google, GOOGL CLOUD PLATF WE GOOGL CLOUD PLATF WE