KVM vs. XEN vs. Host

From SemanticLab

Jump to: navigation, search

Contents

Performance

These are inital measurments taken on our systems. Please be careful interpreting them, they might be not representative!

  • Kernel Version: 2.6.26.5
  • KVM Version: 72

Disk Performance

bonnie on a KVM guest

 Version  1.03       ------Sequential Output------ --Sequential Input- --Random-
                     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
 Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
 xmforge          4G 66208  86 252268  45 170665  61 75938  96 513574  89 +++++ +++
                     ------Sequential Create------ --------Random Create--------
                     -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
               files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                  16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
 xmforge,4G,66208,86,252268,45,170665,61,75938,96,513574,89,+++++,+++,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++

bonnie on the host

 Version  1.03       ------Sequential Output------ --Sequential Input- --Random-
                     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
 Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
 gecko2       32096M 73659  97 118707  31 54379  11 49816  60 104543  12 295.7   0
                     ------Sequential Create------ --------Random Create--------
                     -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
               files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                  16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
 gecko2,32096M,73659,97,118707,31,54379,11,49816,60,104543,12,295.7,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++

Java Sorting Performance

This page shows the result of the comparison between kvm, xen and host. The program contains 2 configration tasks. The first on sorts an ArrayList with a size of 10000 and the second one sorts an Vector with a size of 10000.

  • Java Version: Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
  • Command line:
  taskset 1 java -jar JBench.jar jbench.properties

Results

  • Sol1 (Host):
    • Sort (ArrayList): Mean=29; variance=68
    • Sort (Vector)  : Mean=33; variance=7;


  • xmiguana (KVM Guest)
    • Sort (ArrayList): Mean=55; variance=1800; // 1 Processor
    • Sort (Vector)  : Mean=35; variance=7; // 1 Processor
    • Sort (ArrayList): Mean=76; variance=3990; // 2 Processors (without taskset)
    • Sort (Vector)  : Mean=36; variance=5; // 2 Processors (without taskset)
    • Sort (ArrayList): Mean=68; variance=5339; // 2 Processors (with taskset)
    • Sort (Vector)  : Mean=33; variance=0; // 2 Processors (with taskset)


  • Tokay (Xen Guest):
    • Sort (ArrayList): Mean=29; variance=0;
    • Sort (Vector): Mean=47; variance=2;

References

http://www.yoda.arachsys.com/java/jbench/
Personal tools