Re: Bheve: Slow linux syscalls on AMD

2014-06-10 Thread Willem Jan Withagen
On 2014-06-09 23:04, Peter Grehan wrote: Still seeing that a 2 CPU VM is using about 100% of 1 cpu when idleing, but that is another minor challenge. Fixed in r267305 Ack. There is still a small difference in behaviour between Linux and FreeBSD. But I'd call that negectable... PID

Re: Bheve: Slow linux syscalls on AMD

2014-06-10 Thread Nils Beyer
Hi Peter, Peter Grehan wrote: Still seeing that a 2 CPU VM is using about 100% of 1 cpu when idleing, but that is another minor challenge. Fixed in r267305 Confirmed. Running a bhyved 3-vCPU-CentOS 6.5, the host CPU load for vcpu 0 is around 12% now. The remaining vcpus are all near or at

Re: Bheve: Slow linux syscalls on AMD

2014-06-10 Thread Peter Grehan
Hi Willem, On 2014-06-09 23:04, Peter Grehan wrote: Still seeing that a 2 CPU VM is using about 100% of 1 cpu when idleing, but that is another minor challenge. Fixed in r267305 Ack. There is still a small difference in behaviour between Linux and FreeBSD. But I'd call that

Re: Bheve: Slow linux syscalls on AMD

2014-06-10 Thread Willem Jan Withagen
On 2014-06-10 15:59, Peter Grehan wrote: Hi Willem, On 2014-06-09 23:04, Peter Grehan wrote: Still seeing that a 2 CPU VM is using about 100% of 1 cpu when idleing, but that is another minor challenge. Fixed in r267305 Ack. There is still a small difference in behaviour between Linux

Re: Bheve: Slow linux syscalls on AMD

2014-06-10 Thread Peter Grehan
Hi Nils, 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. Ping times to the VM are fluctuating - ranging from 0.185ms to 35ms. Hmmm, will look at that as

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 4:43 AM, Roman Bogorodskiy no...@freebsd.org wrote: Hi Craig, It's a little unfortunate that there's no stacktrace, though we can try to see what's going on without it. Could you please edit libvirtd.conf (should be something like /usr/local/etc/libvirtd.conf if

Re: Bheve: Slow linux syscalls on AMD

2014-06-10 Thread Willem Jan Withagen
On 2014-06-10 17:34, Peter Grehan wrote: Hi Nils, 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. All Ubuntus I have installed in VMs give more or less

Re: Bheve: Slow linux syscalls on AMD

2014-06-10 Thread Nils Beyer
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

Re: Bheve: Slow linux syscalls on AMD

2014-06-10 Thread Peter Grehan
Hi Nils, 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

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 8:58 AM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 10, 2014 at 4:43 AM, Roman Bogorodskiy no...@freebsd.org wrote: Hi Craig, It's a little unfortunate that there's no stacktrace, though we can try to see what's going on without it. Could you please edit

Re: libvirt and bhyve problems

2014-06-10 Thread Roman Bogorodskiy
Craig Rodrigues wrote: On Tue, Jun 10, 2014 at 8:58 AM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 10, 2014 at 4:43 AM, Roman Bogorodskiy no...@freebsd.org wrote: Hi Craig, It's a little unfortunate that there's no stacktrace, though we can try to see what's going on

Re: Bheve: Slow linux syscalls on AMD

2014-06-10 Thread Peter Grehan
Hi Willem, I've got KTR compiled in, but last time I switched it on. I got swamped in traffic, and I sort of got locked out of the server... :( Could also be because I was writing it to a file as well. So you'll have to help/tell me what to do. For looking at this, I'd use one single-vCPU

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 10:54 AM, Roman Bogorodskiy no...@freebsd.org wrote: This warning is not critical. Actually, UML should not be built on FreeBSD and I would need to disable it by default. For now I think the proper fix is to configure with '--without-uml' flag. As for the segfault, I

Re: libvirt and bhyve problems

2014-06-10 Thread Roman Bogorodskiy
Craig Rodrigues wrote: On Tue, Jun 10, 2014 at 10:54 AM, Roman Bogorodskiy no...@freebsd.org wrote: This warning is not critical. Actually, UML should not be built on FreeBSD and I would need to disable it by default. For now I think the proper fix is to configure with '--without-uml'

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 12:15 PM, Roman Bogorodskiy no...@freebsd.org wrote: This last line also sounds strange. I'm wondering if you execute 'net-list --all' will you see the 'default' network? And if it's there, will 'net-show default' should that Autostart is enabled for it? If I do: #

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 12:25 PM, Craig Rodrigues rodr...@freebsd.org wrote: # gdb /usr/local/sbin/libvirtd libvirtd.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 1:54 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 10, 2014 at 12:25 PM, Craig Rodrigues rodr...@freebsd.org wrote: lldb /usr/local/sbin/libvirtd libvirtd.core (lldb) bt * thread #1: tid = 0, 0x000801aa8513