Date: Thu, 30 Dec 2021 07:21:51 +0700 From: Eugene Grosbein <eugen@grosbein.net> To: lev@FreeBSD.org, Freebsd stable <freebsd-stable@freebsd.org> Subject: Re: What is FreeBSD 12 equivalent to Linux' "sysctl -w vm.nr_hugepages=1280"? Message-ID: <987e541a-aafd-9ae1-e243-9e58bea56ba0@grosbein.net> In-Reply-To: <431b35b0-7745-d2d7-ab04-bbf76e58608a@FreeBSD.org> References: <431b35b0-7745-d2d7-ab04-bbf76e58608a@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
29.12.2021 21:52, Lev Serebryakov wrote: > Hello! > > net-p2p/monero-cli shows a lot of exceptions on FreeBSD. Monero's github [1] says, that it needs "sysctl -w vm.nr_hugepages=1280" on Linux. > What is FreeBSD equivalent for this Linux' setting? Perhaps, you need to increase sysctl vm.max_wired that limits amount of mlock'ed memory for userland processes, and don't forget about "memorylocked" limit for a process.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?987e541a-aafd-9ae1-e243-9e58bea56ba0>