Improving Resource Usages of Containers Through Auto-Tuning Container Resource Parameters

Recently, the container-based virtualization has gained increasing attention and been widely used in cloud computing. In container products such as Docker, there are a number of parameters that can control container resource usages, to avoid the resource contention occurred when running too many con...

Full description

Bibliographic Details
Main Authors: Lin Cai, Yong Qi, Wei Wei, Jingwei Li
Format: Article
Language:English
Published: IEEE 2019-01-01
Series:IEEE Access
Subjects:
Online Access:https://ieeexplore.ieee.org/document/8758162/
id doaj-5ca9e890f253408abdf3f38033267ca1
record_format Article
spelling doaj-5ca9e890f253408abdf3f38033267ca12021-04-05T17:07:55ZengIEEEIEEE Access2169-35362019-01-01710853010854110.1109/ACCESS.2019.29272798758162Improving Resource Usages of Containers Through Auto-Tuning Container Resource ParametersLin Cai0Yong Qi1Wei Wei2https://orcid.org/0000-0001-5149-6542Jingwei Li3School of Electronic and Information Engineering, Xi’an Jiaotong University, Xi’an, ChinaSchool of Electronic and Information Engineering, Xi’an Jiaotong University, Xi’an, ChinaSchool of Computer Science and Engineering, Xi’an University of Technology, Xi’an, ChinaSchool of Electronic and Information Engineering, Xi’an Jiaotong University, Xi’an, ChinaRecently, the container-based virtualization has gained increasing attention and been widely used in cloud computing. In container products such as Docker, there are a number of parameters that can control container resource usages, to avoid the resource contention occurred when running too many containers concurrently. However, it is difficult to set parameter values accurately only based on experience while tuning the parameters manually is too time-consuming to be impractical. Therefore, it becomes a challenge to set appropriate resource parameter values automatically and quickly to optimize the resource usages of container. In this paper, we present an adaptive tuning framework, conTuner, to optimize the resource configuration of container online for a new application. conTuner contains two components: an optimized configuration pool that offers candidate resource configurations, as well as a configuration optimizer that gets the appropriate optimized configuration from the pool. We have deployed conTuner in a Docker cluster. The experimental results demonstrated that, for a new application, compared to the pre-set upper limit of container resource usages, the container performance is equal or better when using conTuner, and the set resource usage constraint is more accurate. Besides, conTuner can also forecast whether resource contention among multiple containers occurs before running them concurrently. The evaluation results indicate that the prediction accuracy is 87%.https://ieeexplore.ieee.org/document/8758162/Cloud computingDockeronline configuration optimizationparameter tuningresource usage improving
collection DOAJ
language English
format Article
sources DOAJ
author Lin Cai
Yong Qi
Wei Wei
Jingwei Li
spellingShingle Lin Cai
Yong Qi
Wei Wei
Jingwei Li
Improving Resource Usages of Containers Through Auto-Tuning Container Resource Parameters
IEEE Access
Cloud computing
Docker
online configuration optimization
parameter tuning
resource usage improving
author_facet Lin Cai
Yong Qi
Wei Wei
Jingwei Li
author_sort Lin Cai
title Improving Resource Usages of Containers Through Auto-Tuning Container Resource Parameters
title_short Improving Resource Usages of Containers Through Auto-Tuning Container Resource Parameters
title_full Improving Resource Usages of Containers Through Auto-Tuning Container Resource Parameters
title_fullStr Improving Resource Usages of Containers Through Auto-Tuning Container Resource Parameters
title_full_unstemmed Improving Resource Usages of Containers Through Auto-Tuning Container Resource Parameters
title_sort improving resource usages of containers through auto-tuning container resource parameters
publisher IEEE
series IEEE Access
issn 2169-3536
publishDate 2019-01-01
description Recently, the container-based virtualization has gained increasing attention and been widely used in cloud computing. In container products such as Docker, there are a number of parameters that can control container resource usages, to avoid the resource contention occurred when running too many containers concurrently. However, it is difficult to set parameter values accurately only based on experience while tuning the parameters manually is too time-consuming to be impractical. Therefore, it becomes a challenge to set appropriate resource parameter values automatically and quickly to optimize the resource usages of container. In this paper, we present an adaptive tuning framework, conTuner, to optimize the resource configuration of container online for a new application. conTuner contains two components: an optimized configuration pool that offers candidate resource configurations, as well as a configuration optimizer that gets the appropriate optimized configuration from the pool. We have deployed conTuner in a Docker cluster. The experimental results demonstrated that, for a new application, compared to the pre-set upper limit of container resource usages, the container performance is equal or better when using conTuner, and the set resource usage constraint is more accurate. Besides, conTuner can also forecast whether resource contention among multiple containers occurs before running them concurrently. The evaluation results indicate that the prediction accuracy is 87%.
topic Cloud computing
Docker
online configuration optimization
parameter tuning
resource usage improving
url https://ieeexplore.ieee.org/document/8758162/
work_keys_str_mv AT lincai improvingresourceusagesofcontainersthroughautotuningcontainerresourceparameters
AT yongqi improvingresourceusagesofcontainersthroughautotuningcontainerresourceparameters
AT weiwei improvingresourceusagesofcontainersthroughautotuningcontainerresourceparameters
AT jingweili improvingresourceusagesofcontainersthroughautotuningcontainerresourceparameters
_version_ 1721540244366426112