KVM vs. LXC: Comparing Performance and Isolation of Hardware-assisted Virtual Routers
Authors:
- 1 January 2013
- journal article
- Published by Science Publishing Group in American Journal of Networks and Communications
- Vol. 2 (4) , 88-96
Abstract
Concerns have been raised about the performance of PC-based virtual routers as they do packet processing in software. Furthermore, it becomes challenging to maintain isolation among virtual routers due to resource contention in a shared environment. Hardware vendors recognize this issue and PC hardware with virtualization support (SR-IOV and Intel-VTd) has been introduced in recent years. In this paper, we investigate how such hardware features can be integrated with two different virtualization technologies (LXC and KVM) to enhance performance and isolation of virtual routers on shared environments. We compare LXC and KVM and our results indicate that KVM in combination with hardware support can provide better trade-offs between performance and isolation. We notice that KVM has slightly lower throughput, but has superior isolation properties by providing more explicit control of CPU resources. We demonstrate that KVM allows defining a CPU share for a virtual router, something that is difficult to achieve in LXC, where packet forwarding is done in a kernel shared by all virtual routers.This publication has 9 references indexed in Scilit:
- PC-based Router Virtualization with Hardware Support2012
- Explaining packet delays under virtualizationACM SIGCOMM Computer Communication Review, 2011
- Data Plane Optimization in Open Virtual RoutersLecture Notes in Computer Science, 2011
- Performance evaluation of open virtual routers2010
- High performance network virtualization with SR-IOV2010
- Evaluating standard-based self-virtualizing devices: A performance study on 10 GbE NICs with SR-IOV support2010
- Application Performance Isolation in Virtualization2009
- Analysis and Experimental Evaluation of Data Plane Virtualization with Xen2009
- IntelŴVirtualization Technology PrefaceIntel Technology Journal, 2006