Linux Virtualization Wiki
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Linux Virtualization

  • Front Page

  • Why Virtualization

  • Technology Overview

  • Technology Comparison

  • KN Virt Forum

  • FAQ

Technologies

  • lguest

  • KVM

  • Linux-VServer

  • OpenVZ

  • UML

  • Xen

System Management

  • System Management Intro

  • libvirt

  • OVirt

  • Virt-Manager

Wiki bits

  • Site Editors

  • Side Bar

  • Hosted by WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents
Revision 2 as of 2008-02-11 18:01:09
LinuxVirt:
  • XenVsKVM

While benchmarks are a very difficult exercice and as such the results must be considered carefully, they are still interesting to compare the respective performance between the solutions for different workloads. This page will try to keep an eye on the relative performances of Xen (opensource version) and KVM for a non paravirtualized CPU (i-e with HVM).

For the following 2 tests, the system is an intel core 2 duo 2.4Ghz w/ 2GB RAM running the latest available versions:

  • for xen: Xen 3.1.0 + Dom0 kernel based on kernel.org 2.6.18
  • for KVM: kvm-60 on a 2.6.23

The guest used in both case is the exact same VM (64 bit Debian etch with 256 MB RAM).

Guest system boot-up time

plateform

time in seconds

Xen

23

KVM

20

Kernel compilation benchmark

Time to compile a 2.6.24 allnoconfig

  • first try - cold cache

plateform

real time

user time

sys time

Xen

1m53

1m06

0m43

KVM

1m03

1m06

0m33

  • second try - w/ cache

plateform

real time

user time

sys time

Xen

1m52

1m07

0m43

KVM

0m56

1m07

0m31

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01