From owner-cvs-src@FreeBSD.ORG  Fri May 23 12:54:03 2003
Return-Path: <owner-cvs-src@FreeBSD.ORG>
Delivered-To: cvs-src@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id A25BC37B401; Fri, 23 May 2003 12:54:03 -0700 (PDT)
Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 5507843FA3; Fri, 23 May 2003 12:54:03 -0700 (PDT)
	(envelope-from alc@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
	by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4NJs20U084278;
	Fri, 23 May 2003 12:54:03 -0700 (PDT)
	(envelope-from alc@repoman.freebsd.org)
Received: (from alc@localhost)
	by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4NJs2dA084277;
	Fri, 23 May 2003 12:54:02 -0700 (PDT)
Message-Id: <200305231954.h4NJs2dA084277@repoman.freebsd.org>
From: Alan Cox <alc@FreeBSD.org>
Date: Fri, 23 May 2003 12:54:02 -0700 (PDT)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org,
	cvs-all@FreeBSD.org
X-FreeBSD-CVS-Branch: HEAD
Subject: cvs commit: src/sys/kern vfs_subr.c
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 23 May 2003 19:54:04 -0000

alc         2003/05/23 12:54:02 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_subr.c 
  Log:
  Make the maximum number of vnodes a function of both the physical memory
  size and the kernel's heap size, specifically, vm_kmem_size.  This
  function allows a maximum of 40% of the vm_kmem_size to be used for
  vnodes and vm objects.  This is a conservative bound based upon recent
  problem reports.  (In other words, a slight increase in this percentage
  may be safe.)
  
  Finally, machines with less than ~3GB of RAM should be unaffected
  by this change, i.e., the maximum number of vnodes should remain
  the same.  If necessary, machines with 3GB or more of RAM can increase
  the maximum number of vnodes by increasing vm_kmem_size.
  
  Desired by:     scottl
  Tested by:      jake
  Approved by:    re (rwatson,scottl)
  
  Revision  Changes    Path
  1.450     +10 -1     src/sys/kern/vfs_subr.c