Re: Warning: FreeBSD using its (in partition) SWAP space when running under Parallels on aarch64 macOS (M4 MAX)

Olivier Certner <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <2988206.slGk94SIus@ravel>
Hi Mark,

> Something I possibly should have done --but did not do was to set:
> kern.hz=100
> in /boot/loader.conf (or anywhere).

Barring explicitly setting this tunable, the kernel automatically defaults to a kern.hz of 100 (HZ_VM) when it detects it runs in a virtual machine.  That detection is currently performed by the smbios(4) driver, which is supposed to handle Parallels and is compiled in by arm64's GENERIC, so I assume you have actually been running with kern.hz set to 100 already.

The result of:
sysctl kern.hz kern.vm_guest
inside your VM should say where we actually stand.

Thanks and regards.

-- 
Olivier Certner
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCQAdFiEEmNCxHjkosai0LYIujKEwQJceJicFAme13vMACgkQjKEwQJce
Jic1JRAAlytrRX2K9xsdFtU5DGLl8BIXIre/7HnJWADsYC2NAfiOZE5QRj6COZAh
0C4DsHNBc6Ig7L9ADR+Cpo5JHmOhx+bN1JCSegXrT/1sJAbFHAGCgWiVIz04IvuG
/MzkNRyFVWGFoMcfn8WP8MjgFt88Cn2/WggYhzGa9Zl14rDQ3kEbVQnRdsrKG1Wp
SQlc5dp7nqvBihTyaVz12Ehcw8aje/XFU/aemMg/PFYJ2dk8vq/xwYw5GmkSII9q
zNZ3w4iiHMKhMKyckDkpysBIp6UqVVodC7LOLhb4iQ01mOSiQsTPafDWF/JDrUuV
Ac1HiU0t7Z+ZT0/m+DRVdnoOFl2Dx+rbZR0zbK1UrX27LHEZfQeSevEIrfPTa0PI
8jD4DmfGFHBspq3tzQX0uFOoN8MftwIpjBi1dEp1aYeXxbxwLgQ9G84/zsAxpxdF
UptnAaCVKtVptZsrAJgbulRAMfj5XOswqhq2OKzB/JNNzJ5Nt28jOwBFB1SisWVh
ZxTU3dYKqthvMX2XTMbd21HX02R4RvLYfSRNfNVetVPKXM2tfdzzIbQd6Gs0ws3Y
yQkOaVJEXdzrBNrnZlvuCPBShZX61QhQxbNiwP9L758SXHgfgPfPsgif35TjwKXO
2KYXEUcgdXUqm0wL1Qr6GpuXmTH9TXAyBkK2WpzQGqmrt6a9UAw=
=Zkht
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.