Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2010 00:27:00 +0200
From:      Willem Jan Withagen <wjw@digiware.nl>
To:        Artem Belevich <fbsdlist@src.cx>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, "James R. Van Artsdalen" <james-freebsd-current@jrv.org>
Subject:   Re: kmem_map too small: 3832475648 total allocated
Message-ID:  <4BDA07B4.40506@digiware.nl>
In-Reply-To: <q2qed91d4a81004282117v3e56d52qd7cc6a6fefc4f702@mail.gmail.com>
References:  <4BD8F7FA.2080103@jrv.org> <q2qed91d4a81004282117v3e56d52qd7cc6a6fefc4f702@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@zfs.digiware.nl> sysctl vm.kmem_size
vm.kmem_size: 3718209536

So who is resetting this value???

Thanx,
-WjW



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BDA07B4.40506>