git: kernel - reduces kern.maxvnodes on machines with less memory
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jan 21 12:15:43 PST 2010
commit b867f3d925a1ec0a6ca979476d91b4613fb103da
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Jan 21 11:38:43 2010 -0800
kernel - reduces kern.maxvnodes on machines with less memory
* Increase the divisor a bit to compensate for the fact that HAMMER
eats significantly more kernel memory than UFS on a per-vnode basis.
This is to prevent the VM system from allocating all available memory
for required kernel structures on machines with small amounts of memory,
such as 128M, on vkernels, and on virtual machines configured with
fairly low amounts of memory.
Summary of changes:
sys/kern/vfs_subr.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b867f3d925a1ec0a6ca979476d91b4613fb103da
--
DragonFly BSD source repository
More information about the Commits
mailing list