ISSN 1000-1239 CN 11-1777/TP

Journal of Computer Research and Development ›› 2019, Vol. 56 ›› Issue (7): 1545-1555.doi: 10.7544/issn1000-1239.2019.20180511

Previous Articles     Next Articles

An Ultra Lightweight Container that Maximizes Memory Sharing and Minimizes the Runtime Environment

Zhang Liqing1,2, Guo Dong1,2, Wu Shaoling1,2, Cui Haibo3,4, Wang Wei1,2,4   

  1. 1(Department of Computer Science and Technology, Tongji University, Shanghai 200092);2(Key Laboratory of Embedded System and Service Computing(Tongji University), Ministry of Education, Shanghai 200092);3(School of Computer Science and Information Engineering, Hubei University, Wuhan 430062);4(Hubei Engineering Research Center for Education Information (Hubei University), Wuhan 430062)
  • Online:2019-07-01

Abstract: The rise of container technology has brought about profound changes in the data center, and a large number of software has been transferred to micro-service deployment and delivery. Therefore, it is of a broad practical significance to optimize the startup, operation and maintenance of large-scale containers in massive user environment. At present, the mainstream container technology represented by Docker has achieved great success, but there is still much room for improvement in image volume and resource sharing. We comb the development process of virtualization technology, and clarify that lightweight virtualization technology is the future research direction, which is very important for data-sensitive applications. By establishing a library file sharing model, we explored the impact of the degree of library files sharing on the maximum number of containers that can be launched. We present an ultra-lightweight container design that minimizes the container runtime environment supporting application execution by refining the granularity of operational resources. At the same time, we extract the library files and the executable binary files into a single layer, which realizes the maximum sharing of the host’s memory resources among containers. Then, according to the above scheme, we implement an ultra-lightweight container management engine: REG (runtime environment generation), and a REG-based workflow is defined. Finally, we carry out a series of comparative experiments on mirror volume, startup speed, memory usage, container startup storm, etc., and verify the effectiveness of the proposed method in the large-scale container environment.

Key words: container, Cloudware, lightweight, runtime environment, resource sharing

CLC Number: