Re: KVA_PAGES

From: Miroslav Lachman <000.fbsd_at_quip.cz>
Date: Fri, 08 Mar 2024 10:25:24 UTC
On 08/03/2024 10:35, void wrote:

> In 14-stable on amd64, what's the default value for KVA_PAGES ?
> I'm asking because WINE says something about it:
> 
> "Some ZFS tuning guides recommend setting KVA_PAGES=512 in your kernel
> configuration.  This is incompatible with Wine.  The maximum possible
> is KVA_PAGES=500, which should still be enough for ZFS."
> 
> I can't find a KVA_PAGES setting in /usr/src/sys/amd64/conf/*

According to this page https://wiki.freebsd.org/KVA_PAGES it was used 
only on i386 platform.

You can try to search actual kernel config by "config" command

# config -x /boot/kernel/kernel | grep -i kva_pages

(it is empty on amd64)

And if you see this message only as pkg message when yoy install Wine, 
you can ignore it.

https://forums.freebsd.org/threads/wine-kva_pages-512-in-your-kernel-configuration-this-is-incompatible-with-wine.71416/

Kind regards
Miroslav Lachman