kmem_map too small: 3832475648 total allocated

Willem Jan Withagen wjw at digiware.nl
Fri Apr 30 03:42:34 UTC 2010


On 29-4-2010 6:17, Artem Belevich wrote:
> Do you have vm.kmem_size set in /boot/loader.conf?
>
> If not, do set it to about double of your physical RAM size. Defaults
> are way too conservative for use with large amounts of memory and ZFS.

As per this suggestion I set this value to 2*8G:
vm.kmem_size="17179869184"

And bfore the kernel boots this value is set in the loader.
Tested it by goinginto the loader and show the value.

But once booted I still get:
[/boot] wjw at zfs.digiware.nl> sysctl vm.kmem_size
vm.kmem_size: 3718209536

So who is resetting this value???

Thanx,
-WjW


More information about the freebsd-current mailing list