Performance Overhead Comparison between Hypervisor and Container Based Virtualization

Zheng Li, Maria Kihl, Qinghua Lu, Jens Andersson

2017 · 103 citations · 23 references

DOIFull text

Open access

Concepts

TL;DR

Cloud virtualization traditionally relies on hypervisors, but Docker containers are increasingly considered as a lighter alternative, and both incur performance overhead that can degrade service quality. The study aims to compare the performance overhead of a standalone Docker container versus a standalone virtual machine on a physical machine with minimal resources. Using a physical machine as a baseline, the authors benchmarked the overhead of Docker containers and virtual machines across various workloads. Results show that overhead varies by feature and job, with containers not always lighter; for instance, Docker containers exhibit lower storage transaction QoS compared to hypervisors.

Abstract

The current virtualization solution in the Cloud widely relies on hypervisor-based technologies. Along with the recent popularity of Docker, the container-based virtualization starts receiving more attention for being a promising alternative. Since both of the virtualization solutions are not resource-free, their performance overheads would lead to negative impacts on the quality of Cloud services. To help fundamentally understand the performance difference between these two types of virtualization solutions, we use a physical machine with "just-enough" resource as a baseline to investigate the performance overhead of a standalone Docker container against a standalone virtual machine (VM). With findings contrary to the related work, our evaluation results show that the virtualization's performance overhead could vary not only on a feature-by-feature basis but also on a job-to-job basis. Although the container-based solution is undoubtedly lightweight, the hypervisor-based technology does not come with higher performance overhead in every case. For example, Docker containers particularly exhibit lower QoS in terms of storage transaction speed.

References

23