Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 11:36:12 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: Bheve: Slow linux syscalls on AMD
Message-ID:  <5396D18C.8000401@digiware.nl>
In-Reply-To: <53962141.8070702@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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    SIZE STATE   C   TIME    WCPU COMMAND
70250 2075M vmidle  5   0:17   2.69% bhyve: ubuntu-14.04 (bhyve){vcpu 1}
70250 2075M vmidle  2   0:22   1.37% bhyve: ubuntu-14.04 (bhyve){vcpu 0}
70296 2075M vmidle  1   0:04   0.00% bhyve: freebsd-10 (bhyve){vcpu 0}
70296 2075M vmidle  4   0:02   0.00% bhyve: freebsd-10 (bhyve){vcpu 1}

Inside the VMs the perception is totally the other way around when just 
running top and system processes:

ubuntu14:
	 load average: 0.01, 0.02, 0.02
FreeBSD:
	 load averages:  0.11,  0.18,  0.09

So IMHO things get lost tn the margins of (incorrect) measurement.

Next thing to check is how older ubuntu's work. Espacially those with 
TLS and a 2.6 kernel. ( I think there is still one release not EOL)

And then start tests for CentOS.

Thanx,
--WjW




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5396D18C.8000401>