Bheve: Slow linux syscalls on AMD

Willem Jan Withagen wjw at digiware.nl
Tue Jun 10 09:36:21 UTC 2014


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



More information about the freebsd-virtualization mailing list