Date: Sat, 16 Aug 2008 18:53:31 -0400 From: David Schultz <das@FreeBSD.ORG> To: Barney Cordoba <barney_cordoba@yahoo.com> Cc: current@FreeBSD.ORG Subject: Re: Max Kernel Memory? Message-ID: <20080816225331.GA93918@zim.MIT.EDU> In-Reply-To: <976425.95447.qm@web63901.mail.re1.yahoo.com> References: <976425.95447.qm@web63901.mail.re1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 15, 2008, Barney Cordoba wrote: > Setting vm.kmem_size to what seem to be usable values causes all kinds of memory allocations on boot. For example setting it to 1GB with 2GB installed results in a failure. > > What is the maximum amount of memory that can be allocated to the kernel, and why can't 1/2 of the system's memory be allocated safely? We have a module with a potentially very large dynamic lookup table, with little going on in userland, so we want to allocate as much as possible to the kernel. As I recall, you also need to tweak KVA_PAGES on i386. The kernel map can't be bigger than the total amount of address space alotted to the kernel.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080816225331.GA93918>