Bheve: Slow linux syscalls on AMD
Nils Beyer
nbe at renzel.net
Tue Jun 10 16:55:51 UTC 2014
Hi Peter,
Peter Grehan wrote:
>> Confirmed. Running a bhyved 3-vCPU-"CentOS 6.5", the host CPU load for
>> "vcpu 0" is around 12% now.
>
> Doh, that's not good - haven't given Centos 6.5 a try; will now to
> investigate this.
CentOS is a bit bitchy about booting from harddisk. You'll have to provide a
shorter "linux"-grub-line than what's written in the "grub.conf"-file; some-
thing like this:
linux /vmlinuz-2.6.32-431.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root
initrd /initramfs-2.6.32-431.el6.x86_64.img
or else the LVM-groups won't get activated.
>> Ping times to the VM are fluctuating - ranging from 0.185ms to 35ms.
>
> Hmmm, will look at that as well.
For what it's worth, this is my "bhyve"-command line:
===============================================================================
bhyve \
-w \
-c 3 \
-m 4096M \
-A \
-H \
-P \
-l com1,/dev/nmdm0A \
-s 0,hostbridge \
-s 1,lpc \
-s 2,ahci-cd,/mnt/iso/${ISO} \
-s 3,virtio-blk,lun0 \
-s 4,virtio-blk,lun1 \
-s 5,virtio-net,tap0 \
${VM}
===============================================================================
My host CPU is an "AMD Phenom(tm) II X6 1055T Processor"...
Regards,
Nils
More information about the freebsd-virtualization
mailing list