Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 17:09:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 252227] Default value of vm.max_wired is too low in 12.2
Message-ID:  <bug-252227-27103-5qUDvYT7CK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-252227-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-252227-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252227

--- Comment #4 from VVD <vvd@unislabs.com> ---
(In reply to VVD from comment #3)
Fast fix.

1GB max reserved from wired ram:
-vm_page_max_user_wired =3D 4 * freecount / 5;
+vm_page_max_user_wired =3D freecount - min(freecount, 5 * 1024 * 1024 * 10=
24 /
PAGE_SIZE) / 5;

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252227-27103-5qUDvYT7CK>