Date: Tue, 19 Mar 2019 09:46:38 +0700 From: Victor Sudakov <vas@mpeks.tomsk.su> To: freebsd-virtualization@freebsd.org Subject: bhyve and vfs.zfs.arc_max, and zfs tuning for a hypervisor Message-ID: <20190319024638.GA8193@admin.sibptus.ru>
next in thread | raw e-mail | index | archive | help
--bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, I have a FreeBSD 11.2 system with 32G RAM which I'm going to use as a bhyve host with zvols and sparse zvols, with (almost) no services/daemons of its own.=20 Could you please clarify some points for me? 1. Does ARC actually cache zfs volumes (not files/datasets)? 2. If ARC does cache volumes, does this cache make sense on a hypervisor, because guest OSes will probably have their own disk cache anyway. 3. Would it make sense to limit vfs.zfs.arc_max to 1/8 or even less of total RAM, so that most RAM is available to guest machines? 4. What other zfs tuning measures can you suggest for a bhyve hypervisor? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJckFgOAAoJEA2k8lmbXsY0A24H/3GW0qbH0lZ2em6XApGBXBqX pid3dfr2kBGoNLNlMhdcJgGE1uyouVIfFTrq+rma4ZDE8jWmLd0OBIHLxSH6WvV4 0IoycEKUrJP59StI1zk8UCsBXDYplHxDEMsXGrsdbUFP4BET4r9K4E19vHBak8PQ eiXGEgjD3ctfV7AuaBBJnQqRBvfa+pTakmTqzv081YQFm6kF0DNph35YlLDEWRhv H+cv079/ckHUQl5G+WihmhlRaWYKsGRm7adhMw+BJbQJ0wZf9A3w5HXpvDh0rMYd SnjIqy5QCpqfsueHX0NIZrEMzacu0WnZ9NNRxDTSakMocm4Txdo43X5+YrhsWlE= =uMHF -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190319024638.GA8193>