Hi guys,
I followed this article to install my first xen project to compare its CPU/memory and I/O performance with a kvm domain on CentOS 6.4.
In the initial tests whit super.pi benchmarck the CPU performance of my xen domai was extremely worst than my kvm domain.
Well, I am think that maybe, something was wrong in my xen setup. So I decided to boot a new xen guest using a logical volume filesystem instead a disk image, to see whether CPU performance will be better. But this setup is not working
That is the error (when I try to create a guest domain with a logical volume filesystem):
Anyone knows what i need to do tho solve this problem?
[root@xen]# xm create xen-pv01.cfg -c
Using config file "./xen-pv01.cfg".
EXT3-fs (xvda1): mounted filesystem with ordered data mode
dracut: Mounted root filesystem /dev/xvda1
dracut: chroot: failed to run command `/sbin/load_policy': No such file or directory
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
Pid: 1, comm: switch_root Not tainted 3.7.1-3.el6xen.x86_64 #1
[<ffffffff8149d541>] panic+0xc4/0x1d6
[<ffffffff81047131>] do_exit+0x3a5/0x834
[<ffffffff8111e70f>] ? vfs_write+0xd2/0x10a
[<ffffffff8104763d>] do_group_exit+0x7d/0xa5
[<ffffffff8104767c>] sys_exit_group+0x17/0x1b
[<ffffffff814a6899>] system_call_fastpath+0x16/0x1b
I've created a logical volume for my Xen guest system following the instructions of this article:
And that is my Xen configuration file:
name = "xen-pv01"
kernel = "/boot/vmlinuz-3.7.1-3.el6xen.x86_64"
ramdisk = "/boot/initrd-3.7.1-3.el6xen.x86_64-no-scsi.img"
memory = 4000
vif = ['bridge=xenbr0, ip=192.168.0.20']
vcpus = 1
disk = ['phy:vg_xen/lvxenteste,xvda1,w']
root = "/dev/xvda1 ro"
And my Dom0 configuration:
default=0
timeout=5
selinux=0
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (3.7.1-3.el6xen.x86_64)
root (hd0,0)
kernel /xen.gz dom0_mem=40000M cpufreq=xen dom0_max_vcpus=1 dom0_vcpus_pin
module /vmlinuz-3.7.1-3.el6xen.x86_64 ro root=/dev/mapper/vg_xen-lvroot rd_NO_LUKS LANG=en_US.UTF-8 KEYBOARDTYPE=pc KEYTABLE=us-acentos rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_LVM_LV=vg_xen/lvroot rd_NO_DM rhgb quiet
module /initramfs-3.7.1-3.el6xen.x86_64.img
Am I missing something