TY - JOUR
T1 - Alleviating file system journaling problem in containers for DBMS consolidation
AU - Abdulrazak Ali Mardan, Asraa
AU - Kono, Kenji
N1 - Funding Information:
This work is partially supported by JST, CREST, JP-MJCR19F3, and Keio Gijuku Academic Development Funds.
Publisher Copyright:
Copyright © 2021 The Institute of Electronics, Information and Communication Engineers.
PY - 2021
Y1 - 2021
N2 - 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 journalingrelated problems, improves MySQL performance by 3.4x, and achieves reasonable performance isolation among containers.
AB - 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 journalingrelated problems, improves MySQL performance by 3.4x, and achieves reasonable performance isolation among containers.
KW - Container
KW - DBMS
KW - Journaling file system
KW - Virtualization
UR - http://www.scopus.com/inward/record.url?scp=85109688400&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85109688400&partnerID=8YFLogxK
U2 - 10.1587/transinf.2020EDP7178
DO - 10.1587/transinf.2020EDP7178
M3 - Article
AN - SCOPUS:85109688400
SN - 0916-8532
VL - E104D
SP - 931
EP - 940
JO - IEICE Transactions on Information and Systems
JF - IEICE Transactions on Information and Systems
IS - 7
ER -