Date: Sat, 14 Jul 2018 05:31:30 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229764] Default settings allow system to wire all ram Message-ID: <bug-229764-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229764 Bug ID: 229764 Summary: Default settings allow system to wire all ram Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: FreeBSD@ShaneWare.Biz vfs.zfs.arc_max has a default of "all RAM less 1 GB, or one half of RAM, whichever is more." - from handbook 19.6.1. Memory used by ARC is wired to prevent it being swapped out. vm.max_wired has a default setting of 30% of physical ram which limits what the kernel allocates as wired. Currently, these two values that limit the amount of wired ram do not interact in any way. This means the default settings allow more than 100% of physical ram to be allocated as wired. This is an unrecoverable situation. The default for arc_max should be reduced to less than 70% of physical ram. I believe that setting arc_max should also be prevented from going higher than physical ram minus max_wired minus a safety buffer. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229764-227>
