arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1708.01388cs.DC
收藏

基于虚拟机管理程序和基于容器的虚拟化的性能开销比较

Performance Overhead Comparison between Hypervisor and Container based Virtualization

Zheng Li, Maria Kihl, Qinghua Lu, Jens A. Andersson

摘要:

当前的云虚拟化解决方案广泛依赖于基于虚拟机管理程序的技术。随着Docker最近的流行,基于容器的虚拟化开始受到更多的关注,因为它是一个有前途的替代方案。由于这两种虚拟化解决方案都不是无资源的,它们的性能开销会对云服务的质量产生负面影响。为了帮助从根本上理解这两种类型的虚拟化解决方案之间的性能差异,我们使用具有“刚好足够”资源的物理机作为基线,以调查独立Docker容器相对于独立虚拟机(VM)的性能开销。与相关工作的调查结果相反,我们的评估结果表明,虚拟化的性能开销可能会有所不同,不仅对功能的基础上,但也对作业的基础上。尽管基于容器的解决方案无疑是轻量级的,但基于虚拟机管理程序的技术并不是在每种情况下都会带来更高的性能开销。例如,Docker容器在存储事务速度方面表现出较低的QoS。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑