Re: kmem_map too small: 3832475648 total allocated

From: Bruce Cran <bruce_at_cran.org.uk>
Date: Mon, 10 May 2010 19:09:15 +0100
On Friday 30 April 2010 09:11:49 Gary Jennejohn wrote:

> A number of variables go into calculating vm.kmem_size (see kmeminit()
> in kern_malloc.c).
> 
> In the end, the kernel won't allocate more than twice the physical memory
> size _which it has discovered_.
> 
> The question is, how much of your physical memory does the kernel actually
> see?

It would appear that the maximum value for vm.kmem_size is twice the amount of 
"avail memory" - as opposed to the "real memory". I have 6GB installed; 6144MB 
gets detected but only 5873MB is available. Setting vm.kmem_size to 12G fails 
but 10G works.

-- 
Bruce Cran
Received on Mon May 10 2010 - 16:10:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC