Date: Tue, 10 Jun 2014 18:55:40 +0200 From: Nils Beyer <nbe@renzel.net> To: freebsd-virtualization@freebsd.org Subject: Re: Bheve: Slow linux syscalls on AMD References: <5388B56D.1000501@digiware.nl> <20140530212900.6B74B6BF@hub.freebsd.org> <53891BC1.9050701@digiware.nl> <53891EAA.8040105@freebsd.org> <538927FC.3000903@digiware.nl> <53939AE2.80804@freebsd.org> <539434B6.6020804@digiware.nl> <CALnRwMQFmQRxg0jWi5tqXFXARsj-sD5F3wAAXdTvNf7%2BVPoezw@mail.gmail.com> <5394817F.4030203@digiware.nl> <53948DA5.4040000@digiware.nl> <53962141.8070702@freebsd.org> <20140610103233.4C31D6C4@hub.freebsd.org> <53972572.80902@freebsd.org>
| previous in thread | raw e-mail | index | archive | help
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
