[Bug 252227] Default value of vm.max_wired is too low in 12.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 20 17:09:16 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252227

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

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list