KVM vs. LXC: comparing performance and isolation of hardware-assisted virtual routers
2013 (English)In: American Journal of Networks and Communications, ISSN 2326-893X, Vol. 2, no 4, 88-96 p.Article in journal (Refereed) Published
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.
Place, publisher, year, edition, pages
2013. Vol. 2, no 4, 88-96 p.
Network Virtualization, Virtual Router (VR), SR-IOV, Virtual Function (VF), SoftIRQ, NAPI
IdentifiersURN: urn:nbn:se:kth:diva-136604DOI: 10.11648/j.ajnc.20130204.11OAI: oai:DiVA.org:kth-136604DiVA: diva2:676603
QC 201403032013-12-062013-12-062014-03-04Bibliographically approved