Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2014 11:03:22 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        Willem Jan Withagen <wjw@digiware.nl>, virtualization@freebsd.org
Subject:   Re: Bhyve building kernel....Just an observation
Message-ID:  <544A6A3A.2020108@freebsd.org>
In-Reply-To: <544A083B.50007@digiware.nl>
References:  <544A083B.50007@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--vReighlB0wreteRi6OV2p05FKIuqsJBPl
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2014-10-24 04:05, Willem Jan Withagen wrote:
> Hi,
>=20
> Just out of curiosity I did the following:
>=20
> Updated 10-STABLE src in both Dom0 and in the Bhyve FreeBSD VM
> Rebooted my bhyve AMD testing machine so it was in a fresh state.
> Nothing special loaded orhter than ZFS.
>=20
> And build a 10-STABLE kernel on the raw box, that took about 6 minutes.=

> no {make,src}.conf, so the full GENERIC KERNEL
> That took about 6:45 minutes.
>=20
> Again rebooted to clean the box up.
> And then booted a 10-STABLE bhyve VM with all memory and processors
> assigned to the VM. So all the power could be available to the VM.
>=20
> The build again 10-STABLE in the VM.
> That took about 9:30 minutes.
>=20
> Now it looks like the VM has a 50% overhead.
> My expectations were quite a bit better for the performance difference
> between the two?
>=20
> Would people with more experience in doing VM stuff expect such a large=

> difference?
> Or is this a to be expected result?
>=20
> Thanx,
> --WjW
>=20
> System info:
> Dom0:
>     11.0-CURRENT FreeBSD 11.0-CURRENT #1 r273066M
>     (110.0 Head with Neel's patch)
>     CPU: AMD Phenom(tm) II X6 1075T Processor (3013.83-MHz K8-class
>     16 Gb Ram
>     ZFS mirror
>         2* 500Gb WD WD5000AA
>         cache 2* Samsung SSD 840 PRO Series DXM05B0Q
>=20
> Dom Bhyve
>     FreeBSD 10.0-RELEASE-p9
>     ahci-hd 16GB
>=20
>=20
> _______________________________________________
> freebsd-virtualization@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
> To unsubscribe, send any mail to
> "freebsd-virtualization-unsubscribe@freebsd.org"

The big difference here is probably disk performance. If you do
something that is pure CPU, you'll usually get about the same
performance as the host, but virtualized disk is not always nearly as goo=
d.

--=20
Allan Jude


--vReighlB0wreteRi6OV2p05FKIuqsJBPl
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJUSmo6AAoJEJrBFpNRJZKf1GoQAJF9euei+uqsx7sR6ufaTwrL
oGUG1PWEEF7QC7N2QKAlcGEq3MwlQVo8H8KTvzsKYJfNdYF5YPVnYWHzIcy+CRn3
PVzzNELQOUl3zxNTEj3sGJP3eKCxpNSTBea7VTA8NAaYMovmWVqc7nJCf7Oyzvg9
535l3Fz0dvEEvTlSJr/6FLm3OAyb09TwSEhvXG2oD/LTZcuC5KW0FIto5SDt4Ja9
gYWRyC/qtKLPO1Y9m1iTSEbL6rwPCyW1ZABQGwi44ReIVVEjd37E9VKRH4LTzNhG
KnzQu6o3SE3j1LoHItLjovJMw3UoMVF/KFs0c2U6o/thIgQ8HMDFf3zL9AhnWvau
f3CYYkUKex6V/BvH2p61aPKuP3XGt8P5u5tllH80/VM6BorBu3LZF5Nw4m5U9ILO
hfOnvPEnGJ0MhSkPaHV5XtJQ7ks+RNZqOQ6hMQUZ8vCpCpyi2Kg5ykI/HyhIBgLh
urr1Sl3WU2bWZiFBfHFblQ65tHeA3IcFIH4zdHod2rMF0LmrKj/3nes5gPeAAsaT
To1iw54sW2VeKrnjIebmkwP9CHN4nzgLlhLnQx7NTw5HygeTzKY8Y9PBJ1PmEUbn
LVY96dMwD0dpD4Qs/jNWPWJwYqkgBZfRnm8JH5/QyLAoxtswyU4EjLEKDDJUWe2h
+0zsxLRfNUJgeS/OjGRE
=dNYI
-----END PGP SIGNATURE-----

--vReighlB0wreteRi6OV2p05FKIuqsJBPl--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?544A6A3A.2020108>