A performance comparison of linux containers and virtual machines using Docker and KVM

Virtualization is a foundational element of cloud computing. Since cloud computing is slower than a native system, this study analyzes ways to improve performance. We compared the performance of Docker and Kernel-based virtual machine (KVM). KVM uses full virtualization, including $$\times $$×86 hardware virtualization extensions. Docker is a solution provided by isolation in userspace instead of creating a virtual machine. The performance of KVM and Docker was compared in three ways. These comparisons show that Docker is faster than KVM.

[1]  Raouf Boutaba,et al.  A survey of network virtualization , 2010, Comput. Networks.

[2]  John Fink,et al.  Docker: a Software as a Service, Operating System-Level Virtualization Framework , 2014 .

[3]  Yingwei Luo,et al.  Evaluating and Optimizing I/O Virtualization in Kernel-based Virtual Machine (KVM) , 2010, NPC.

[4]  Nashwa Abdelbaki,et al.  Performance evaluation and comparison of the top market virtualization hypervisors , 2013, 2013 8th International Conference on Computer Engineering & Systems (ICCES).

[5]  Miika Komu,et al.  Hypervisors vs. Lightweight Virtualization: A Performance Comparison , 2015, 2015 IEEE International Conference on Cloud Engineering.

[6]  Pascal Bouvry,et al.  HPC Performance and Energy-Efficiency of Xen, KVM and VMware Hypervisors , 2013, 2013 25th International Symposium on Computer Architecture and High Performance Computing.

[7]  Dharmesh Kakadia,et al.  Virtualization vs Containerization to Support PaaS , 2014, 2014 IEEE International Conference on Cloud Engineering.

[8]  Roberto Morabito,et al.  A performance evaluation of container technologies on Internet of Things devices , 2016, 2016 IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS).

[9]  Daniel Raho,et al.  KVM, Xen and Docker: A performance analysis for ARM based NFV and cloud computing , 2015, 2015 IEEE 3rd Workshop on Advances in Information, Electronic and Electrical Engineering (AIEEE).

[10]  Oh-Young Kwon,et al.  Performance Comparison Analysis of Linux Container and Virtual Machine for Building Cloud , 2014 .

[11]  David Bernstein,et al.  Containers and Cloud: From LXC to Docker to Kubernetes , 2014, IEEE Cloud Computing.

[12]  Ramakrishnan Rajamony,et al.  An updated performance comparison of virtual machines and Linux containers , 2015, 2015 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS).

[13]  Dirk Merkel,et al.  Docker: lightweight Linux containers for consistent development and deployment , 2014 .

[14]  Tommaso Cucinotta,et al.  Challenges in real-time virtualization and predictable cloud computing , 2014, J. Syst. Archit..

[15]  Ann Mary Joy,et al.  Performance comparison between Linux containers and virtual machines , 2015, 2015 International Conference on Advances in Computer Engineering and Applications.

[16]  A. Kivity,et al.  kvm : the Linux Virtual Machine Monitor , 2007 .

[17]  Richard O. Sinnott,et al.  A performance comparison of container-based technologies for the Cloud , 2017, Future Gener. Comput. Syst..

[18]  Prashant Desai,et al.  A Survey of Performance Comparison between Virtual Machines and Containers , 2016 .

[19]  Randy H. Katz,et al.  A view of cloud computing , 2010, CACM.

[20]  Young-Sik Jeong,et al.  Performance analysis based resource allocation for green cloud computing , 2013, The Journal of Supercomputing.