Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2008 13:52:56 +0800
From:      "Tz-Huan Huang" <tzhuan@csie.org>
To:        freebsd-hackers@freebsd.org
Subject:   Is there any way to increase the KVM?
Message-ID:  <6a7033710805302252v43a7b240x66ca3f5e3dd5fda4@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

Our nfs server is running 7-stable/amd64 with 8G ram, the size of zfs
pool is 12T. We have set vm.kmem_size and vm.kmem_size_max to
1.5G, but the kernel still panics by "kmem_map too small" often.
According to [1], the limitation is not only by the loader (is it fixed now?)
but also by the default layout of KVM. [2] points a way to increase the
KVM, but we get the similar linking error.

Is there any standard way to modify the layout of KVM? For example, we
may want to set KVM to 6G and leave the 2G for user space usage.

Thanks,
Tz-Huan

[1] http://lists.freebsd.org/pipermail/freebsd-current/2007-October/077964.html
[2] http://lists.freebsd.org/pipermail/freebsd-current/2008-March/084325.html



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