On Fri, 30 Apr 2010 00:27:00 +0200
Willem Jan Withagen <w...@digiware.nl> wrote:

> 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] w...@zfs.digiware.nl> sysctl vm.kmem_size
> vm.kmem_size: 3718209536
> 
> So who is resetting this value???
> 

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?

--
Gary Jennejohn
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to