Re: Max Kernel Memory?

From: David Schultz <das_at_FreeBSD.ORG>
Date: Sat, 16 Aug 2008 18:53:31 -0400
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.
Received on Sat Aug 16 2008 - 21:26:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC