计算机科学 ›› 2017, Vol. 44 ›› Issue (7): 120-127.doi: 10.11896/j.issn.1002-137X.2017.07.023

• 软件与数据库技术 • 上一篇    下一篇

基于容器技术的云计算资源自适应管理方法

树岸,彭鑫,赵文耘   

  1. 复旦大学软件学院 上海 201203 上海市数据科学重点实验室复旦大学 上海201203,复旦大学软件学院 上海 201203 上海市数据科学重点实验室复旦大学 上海201203,复旦大学软件学院 上海 201203 上海市数据科学重点实验室复旦大学 上海201203
  • 出版日期:2018-11-13 发布日期:2018-11-13
  • 基金资助:
    本文受国家高技术研究发展计划(863)(2015AA01A203)资助

Self-adaptive Approach for Container-based Cloud Resources Management

SHU An, PENG Xin and ZHAO Wen-yun   

  • Online:2018-11-13 Published:2018-11-13

摘要: 云计算的发展使得越来越多的软件应用选择云平台作为部署平台。为了应对动态变化的工作负载、应用场景和服务质量目标,应用提供商希望能以一种可伸缩的方式对云计算资源进行动态调整。基于虚拟机的资源管理较为重载,难以实现细粒度的资源动态调整与混合云中跨平台的服务快速迁移。容器技术在一定程度上弥补了虚拟机的不足,然而传统的资源管理方法在诸多方面并不十分适用于容器技术。针对这一问题,提出了基于容器技术的云计算资源自适应管理方法,设计了更适用于容器的资源架构方案与资源之间的调度方式。与传统的线性建模方法不同,所提方法使用非线性函数对云计算资源进行更加精确的建模,同时用遗传算法进行参数调优,使得自适应调整响应更快、总体性能更好。所提方法还针对不同容器多维度的异构性,合理分配容器部署位置,提高物理资源利用率。此外,所提方法结合了容器技术多方面的底层特性,在分配负载等方面进行适应性调整。最后通过实验分析初步确认了所提方法的有效性。

关键词: 云计算,Linux容器,自适应

Abstract: Under the support of cloud computing,more and more applications choose cloud platform as their deployment platform.In order to respond to changing workloads,application scenarios,and user target,service providers need to dynamically adjust the existing resources in a scalable way.However,cloud platform resource management approach via virtual machine has many drawbacks.Virtual machines are heavyweight,it is not suitable for fine-grained and flexible allocation of resources.Meanwhile in the hybrid cloud background,the virtual machines can not migrate quickly.Container technology,to some extent,can make up for the lack of a virtual machine.However,traditional resource management method based on the virtual machine is not very suitable for container technology.To solve the above problems,this approach designed resources infrastructure solution and scheduling way which are more suitable to container.This approach models cloud resources precisely via nonlinear function,and could tune parameters using genetic algorithms,in order to optimize the performance of adjustment.This approach also computed rational allocation of container deployment location to improve physical resource utilization.In addition to that,this approach combines many bottom characteristics of container to adjust the procedure of load-balancing.We also conducted experiments to verify the effectiveness of the method.

Key words: Cloud computing,Linux container,Self-adaptive

[1] DIKAIAKOS M D,KATSAROS D,MEHRA P,et al.Cloudcomputing:Distributed internet computing for IT and scientific research[J].Internet Computing,IEEE,2009,13(5):10-13.
[2] BUYYA R,GARG S K,CALHEIROS R N.SLA-oriented re-source provisioning for cloud computing:Challenges,architecture,and solutions[C]∥Proceedings of the 2011 International Conference on Cloud and Service Computing (CSC).IEEE,2011:1-10.
[3] RANALDO N,ZIMEO E.Capacity-Aware Utility Function for SLA Negotiation of Cloud Services[C]∥Proceedings of the 2013 IEEE/ACM 6th International Conference on Utility and Cloud Computing (UCC).IEEE,2013:292-296.
[4] LI J,WANG Y,ZHANG J.Research of web qos control model based on dynamic resource reallocation scheme[C]∥Procee-dings of the 2008 International Symposium on Information Science and Engineering (ISISE’08).IEEE,2008:103-106.
[5] HE S,GUO L,GUO Y,et al.Elastic application container:Alightweight approach for cloud resource provisioning[C]∥Proceedings of the 2012 IEEE 26th International Conference on Advanced Information Networking and Applications (aina).IEEE,2012:15-22.
[6] JOY A M.Performance comparison between Linux containersand virtual machines[C]∥Proceedings of the 2015 International Conference on Advances in Computer Engineering and Applications (ICACEA).IEEE,2015:342-346.
[7] FELTER W,FERREIRA A,RAJAMONY R,et al.An updated performance comparison of virtual machines and linux containers[C]∥Proceedings of the 2015 IEEE International Symposium On Performance Analysis of Systems and Software (ISPASS).IEEE,2015:171-172.
[8] BERNSTEIN D.Containers and cloud:From lxc to docker tokubernetes[J].IEEE Cloud Computing,2014(3):81-84.
[9] 杨保华,戴王剑.Docker技术入门与实战[M].机械工业出版社,2015.
[10] YU S,WANG C,REN K,et al.Achieving secure,scalable,and fine-grained data access control in cloud computing[C]∥Proceedings of the 2010 IEEE Infocom.IEEE,2010:1-9.
[11] KEPHART J O,CHESS D M.The vision of autonomic computing[J].Computer,2003,36(1):41-50.
[12] CHEN Y,WU Q.Design and implementation of PID controller based on FPGA and genetic algorithm[C]∥Proceedings of the 2011 International Conference on Electronics and Optoelectro-nics (ICEOE).IEEE,2011:V4-308-V4-311.
[13] YEO C S,BUYYA R.Integrated risk analysis for a commercial computing service[C]∥Proceedings of the 2007 IEEE International Parallel and Distributed Processing Symposium(IPDPS 2007).IEEE,2007:1-10.
[14] XU X,YU H,PEI X.A Novel Resource Scheduling Approach in Container Based Clouds[C]∥Proceedings of the 2014 IEEE 17th International Conference on Computational Science and Engineering (CSE).IEEE,2014:257-264.
[15] DEJUN J,PIERRE G,CHI C H.EC2 performance analysis for resource provisioning of service-oriented applications[C]∥Proceedings of the 2010 International Conference on Service-oriented Computing.Springer-Verlag,2010:197-207.
[16] YU L,XIE Y,CHEN B H,et al.Towards Runtime DynamicProvision of Virtual Resources using Feedforward and Feedback Control[J].Journal of Computer Research and Development,2015(4):889-897.
[17] ADUFU T,CHOI J,KIM Y.Is container-based technology awinner for high performance scientific applications?[C]∥Proceedings of the 2015 17th Asia-Pacific Network Operations and Management Symposium (APNOMS).IEEE,2015:507-510.
[18] CAI K Y,WANG X Y.Towards a control-theoretical approach to software fault-tolerance[C]∥Proceedings of the 2004 Fourth International Conference on Quality Software(QSIC 2004).IEEE,2004:198-205.
[19] LIN R,CHEN B,XIE Y,et al.Learning-Based Multi-controller Coordination for Self-Optimization[C]∥Proceedings of the 2012 IEEE 36th Annual Computer Software and Applications Confe-rence Workshops (COMPSACW).IEEE,2012:164-169.
[20] YU S,WANG C,REN K,et al.Achieving secure,scalable,and fine-grained data access control in cloud computing[C]∥Proceedings of the 2010 IEEE Infocom.IEEE,2010:1-9

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!