Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2020 19:57:56 +0100
From:      Yamagi Burmeister <lists@yamagi.org>
To:        freebsd-virtualization@freebsd.org
Cc:        matt.churchyard@userve.net
Subject:   Re: bhyve issues on Dell C6220 node
Message-ID:  <20200109195756.55ac58ef7e3ae85354ce78e8@yamagi.org>
In-Reply-To: <1998222a141e44bbbbc5d295e1c1bb34@SERVER.ad.usd-group.com>
References:  <baa7d5aeac12445195c1044e6e3d90dd@SERVER.ad.usd-group.com> <202001082137.008LbZl9091675@gndrsh.dnsmgr.net> <CACLnyCLvm8cxkPg-7chFZNFx0o3K124A3rkktj--MqUa=nTqkg@mail.gmail.com> <1998222a141e44bbbbc5d295e1c1bb34@SERVER.ad.usd-group.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Thu__9_Jan_2020_19_57_56_+0100__Z=+UcdKMeKN79I3
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

> >2016 is slow (even slower doing windows updates).  2019 is much better. =
 A tip I have found is a minimum of 1 cpu, 2 cores and 4 threads to get dec=
ent speed from that OS (more CPUs in bhyve >tends to make performance worse=
 - in my observations - in 2016).  Also, use the Virtio collection from Red=
Hat for vionet and viostor.  We are currently using 0.1.171 without issue. =
 The ahci >emulation in itself is extremely slow.  NVMe and virtio is reall=
y the only way to go.
>=20
> Is there anything else I can check here? I haven=E2=80=99t got round to t=
esting networking yet but I=E2=80=99m using nvme for the disk.
> It=E2=80=99s basically unusable and there is no way I could put anything =
production on it. Just highlighting an icon on the desktop takes several se=
conds.

Windows is slow when running on Intel CPUs that don't support APICv.
That are (nearly?) all desktop CPUs, all Xeons before Sandy Bridge
and some Xeons after it. The problem is that Bhyve doesn't implement
TPR shadowing. I'm currently working on it. The review can be found
here: https://reviews.freebsd.org/D22942 The speedup is about factor
6!

I've received some feedback in a private mail, a second version that
adds TPR thresholds can be found in my Github branch here:
  https://github.com/Yamagi/freebsd/commits/wip/tpr_shadowing=20

A backport to 12.1 (the branch also includes the Intel SpeedShift
patches from https://reviews.freebsd.org/D18028) is here:
https://github.com/Yamagi/freebsd/commits/production/12.1

I've applied it to 2 of my production servers about 4 hours ago. Looks
good so far. I'll update the review when I'm sure that it doesn't break
anything, maybe early next week.

Regards,
Yamagi

--=20
Homepage: https://www.yamagi.org
Github:   https://github.com/yamagi
GPG:      0x1D502515

--Signature=_Thu__9_Jan_2020_19_57_56_+0100__Z=+UcdKMeKN79I3
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEOXu/lxyufwz0gC5x6xRy5x1QJRUFAl4Xd7QACgkQ6xRy5x1Q
JRVpvg/+L6Tc4Ww8AnEtS0TrBB1uTjNsfPIkJwSbc1eNf/qSJ2fZ9CW/PSII/N4G
KlEoMngwEau7qomx13B7LMcoFPZgNXnehJoZvZLTk+0cnGANBvZyeUPSUSNo1pkO
nvrRKY38MWag3g1BhYP3n3p7e7FAYqy24/v33jZ+C0spG6frqt/QAZwDXFVRc4i3
SohALdtFhA6AlhKuhE9BadmG3uKc7dyjWddAZ8gRJc8wGnK/Rgp6E/UbHj6JuUgP
Es5r4e9Wm1Mv4RaGguuAuef2eR2wjlDNOd36CgrS8LV3Mim/00ChwOrCYzQ0VNIA
S2MQjFz7pY0K4PvBrKQ2VocLE94c0XAS84QgcY7rfflGz5H0sK7osRRCU4Q/VwWR
eu3fthIs7TutPXTxVl0+oKgFw2sr2QXrTKPXyLPgMf2obujz0fThircK6o5/msCQ
IMG+p/Qks8Wae4yUCKnEndUsy2m7RESAiXwZAzrl9IMUepvAdK0bQVhecKGiin1A
LlnViSt2I7q6wkiMKPqScsNXL1LFe2bbXKiCuej69H0cbhQTgf/BKmszY/UjRzWP
Vy8o+fcCs/j2yWOtvBsDGZNV4OIlLIEcRppRLF6/RvpaU7KOgy2q3JblOdfTbOrs
Xr1WtAgAgbjS9wlVjqdajY29V4myHKAUamXLTq0nnETRagZLxYI=
=rdGX
-----END PGP SIGNATURE-----

--Signature=_Thu__9_Jan_2020_19_57_56_+0100__Z=+UcdKMeKN79I3--



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